LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 05:07 AM   #1
maverick_pol
LQ Newbie
 
Registered: May 2007
Location: Lublin, Poland
Distribution: Gentoo, Fedora, FreeBSD
Posts: 17

Rep: Reputation: 0
ld: errno: TLS definition error


Hi guys,

while compiling the ogdi library I have this error

Making dynamic library: /opt/ogdi-3.1.6/bin/Linux/libogdi.so
gcc -shared -O -O -Wall -DUNIX=1 -o /opt/ogdi-3.1.6/bin/Linux/libogdi.so ecs_dyna.o ecsregex.o ecssplit.o ecsassoc.o ecshash.o ecstile.o server.o ecsdist.o ecslist.o ecsinfo.o ecsgeo.o ecs_xdr.o ecs_xdrz.o gmath.o client.o ecs_capabilities.o -ldl -L/opt/ogdi-3.1.6/bin/Linux -lzlib_ogdi31 -L/opt/ogdi-3.1.6/bin/Linux -lexpat_ogdi31 -L/opt/ogdi-3.1.6/lib/Linux/static -lproj -lm
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in /opt/ogdi-3.1.6/lib/Linux/static/libproj.a(pj_init.o)
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status


ANy idea how to solve it?

THank you in advance.

Maverick
 
Old 07-28-2007, 06:18 PM   #2
J_W
Member
 
Registered: Apr 2004
Location: Yamagata, JAPAN
Distribution: Slackware64-current
Posts: 189

Rep: Reputation: 123Reputation: 123
Hi,

Before you compile ogdi, you need to install PROJ.4 library.
Please see http://ogdi.sourceforge.net/build.html

----
Special Issues on Unix/Linux

1. The built-in version of PROJ.4 is ancient, and it is generally advised
that current versions of PROJ.4 from http://www.remotesensing.org/proj or a
mirror be used. It should be built and installed before OGDI is built, and
the --with-proj configure switch used to select it.
----
 
Old 07-30-2007, 05:15 AM   #3
maverick_pol
LQ Newbie
 
Registered: May 2007
Location: Lublin, Poland
Distribution: Gentoo, Fedora, FreeBSD
Posts: 17

Original Poster
Rep: Reputation: 0
Hi,

THank you for the reply. I have compiled ogdi with external Proj Friday at 4 am
But still thank for replying as you are the first person who helped me.
Once again, thank you.

Maverick
 
  


Reply

Tags
lderrors



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
sbin/ld: errno TLS definition mismatch... maverick_pol Slackware 1 07-27-2007 08:12 PM
/usr/bin/ld: errno TLS def.. mismatches non-TLS def.. maverick_pol Fedora 1 07-27-2007 10:50 AM
Postfix TLS error grant-skywalker Debian 3 09-11-2006 01:11 PM

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

All times are GMT -5. The time now is 09:21 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