Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
version GLIBC_2.0 not defined in file libc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rek2
Guru
Guru


Joined: 05 Jan 2003
Posts: 477
Location: Boston USA/Barcelona Spain

PostPosted: Thu Jun 29, 2006 6:46 pm    Post subject: version GLIBC_2.0 not defined in file libc Reply with quote

/usr/local/bin/w_decode: relocation error: /usr/local/bin/w_decode: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

hmm what can I do about this? I used to fix it running:


export LD_ASSUME_KERNEL=2.4.1
_________________
http://www.dailyradical.org
http://www.binaryfreedom.info
use jabber!!! sing on now, register an account:
http://jabber.binaryfreedom.info
Back to top
View user's profile Send private message
dharyk
n00b
n00b


Joined: 14 Jul 2006
Posts: 3

PostPosted: Fri Jul 14, 2006 11:56 am    Post subject: Re: version GLIBC_2.0 not defined in file libc Reply with quote

Hi there guys! This is my first post! :D

Anyway...
rek2 wrote:
/usr/local/bin/w_decode: relocation error: /usr/local/bin/w_decode: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

I got the exact same error although using a different program (commercial one, so I rather not say which)
I also tried this:
rek2 wrote:
export LD_ASSUME_KERNEL=2.4.1

...but then I got even more errors about other libs which it could not find (even a simple ls gave me errors :()

I have Gentoo running on another machine at work, but no problems there... everything runs smoothly (i haven't updated it in a while so it might be running a different version of glibc)
Should I re-emerge glibc using the same version i have on that other machine, or is there a way to solve this? I've tried searching through the forums but no luck, there are similar problems reported, but not exactly the same and their solutions don't work for this one :?

Thanks in advance
Back to top
View user's profile Send private message
rek2
Guru
Guru


Joined: 05 Jan 2003
Posts: 477
Location: Boston USA/Barcelona Spain

PostPosted: Fri Jul 14, 2006 2:30 pm    Post subject: Reply with quote

I was not able to correct the problem yet, and seens that nobody else is having it only you and me.. :-(
_________________
http://www.dailyradical.org
http://www.binaryfreedom.info
use jabber!!! sing on now, register an account:
http://jabber.binaryfreedom.info
Back to top
View user's profile Send private message
dharyk
n00b
n00b


Joined: 14 Jul 2006
Posts: 3

PostPosted: Sun Aug 13, 2006 11:28 pm    Post subject: Reply with quote

after googling about this subject on the internet, I found out that the problem might be because the latest glibc version does not (by default) provide backwards compatibility for the version needed by the program(s).
I have also noticed that there are some options you can pass to the configure script that tell it how much backward compatibility it should add:

Code:

--enable-kernel=2.4.1
--enable-oldest-abi=2.2
--enable-versioning


maybe the last option alone will work, because it might be a problem of the version not being defined for errno.

I am currently recompiling glibc (version 2.4) with all the options above. I'll let you know how it goes.
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1991
Location: Poland

PostPosted: Mon Aug 14, 2006 5:05 am    Post subject: Reply with quote

There is "glibc-compat20" USE flag, but it's only present in older glibc ebuilds (e.g. 3.3.6-r4).
Back to top
View user's profile Send private message
dharyk
n00b
n00b


Joined: 14 Jul 2006
Posts: 3

PostPosted: Wed Aug 16, 2006 5:25 pm    Post subject: Reply with quote

thanks mbar!

I emerged glibc-2.3.6-r4 using glibc-compat20 and it now works!
I still have to use
Code:
LD_ASSUME_KERNEL=2.4.1 /path/to/binary

and I also had to prevent emerge from updating glibc above version 2.3.6-r4 by adding in /etc/make.profile/packages:
Code:
=sys-libs/glibc-2.3.6-r4

but at least I can use the program :D
Back to top
View user's profile Send private message
SpanKY
Developer
Developer


Joined: 18 Apr 2002
Posts: 321
Location: Somerville, MA

PostPosted: Wed Oct 11, 2006 4:23 am    Post subject: Reply with quote

http://dev.gentoo.org/~vapier/old-broken-errno-apps
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum