LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   sbin/ld: errno TLS definition mismatch... (https://www.linuxquestions.org/questions/slackware-14/sbin-ld-errno-tls-definition-mismatch-572640/)

maverick_pol 07-27-2007 12:51 AM

sbin/ld: errno TLS definition mismatch...
 
Hi guys,

I have just installed the Slackware 12 system. Compiled Qt 4.3.0 and tried to compile my application which is using OGDI(C-API library for reading vpf data) compilation went ok until linking. At the end I got this message:

/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS definition in ogdi/lib/linux/libogdi.so section .bss
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [bin/Commander] Error 1

I got the same error while compiling my application under Slackware Fedora

Any idea how to solve this problem?

Beforehand thanks.

maverick_pol 07-27-2007 08:12 PM

Hi,

I have solved the problem. One of the libs (ogdi.so) has been compiled using different gcc/glibc. when I compiled the ogdi(with external proj4 lib) and used it in my application, it works!!

Finally!!


All times are GMT -5. The time now is 12:47 PM.