LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-27-2007, 12:51 AM   #1
maverick_pol
LQ Newbie
 
Registered: May 2007
Location: Lublin, Poland
Distribution: Gentoo, Fedora, FreeBSD
Posts: 17

Rep: Reputation: 0
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.
 
Old 07-27-2007, 08:12 PM   #2
maverick_pol
LQ Newbie
 
Registered: May 2007
Location: Lublin, Poland
Distribution: Gentoo, Fedora, FreeBSD
Posts: 17

Original Poster
Rep: Reputation: 0
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!!
 
  


Reply

Tags
lderrors


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
errno: TLS definition in /lib64/libc.so.6 section .tbss mismatches non-TLS reference johnpaulodonnell Programming 2 07-25-2008 04:37 AM
errno: TLS definition ...mismatches nonTLS def.. maverick_pol Programming 2 05-21-2008 09:45 PM
/usr/bin/ld: errno TLS def.. mismatches non-TLS def.. maverick_pol Fedora 1 07-27-2007 10:50 AM
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 linuxhippy Slackware 2 08-28-2006 04:17 AM
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 da_kidd_er Linux - General 2 04-24-2003 06:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration