LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /lib/libpthread.so.): version 'GLIBC_2.3.2' not found (https://www.linuxquestions.org/questions/linux-newbie-8/lib-libpthread-so-version-glibc_2-3-2-not-found-283684/)

solutionseeker 01-29-2005 09:41 AM

/lib/libpthread.so.): version 'GLIBC_2.3.2' not found
 
How do I get this?

When I run my program from root it says this /lib/libpthread.so.0: version 'GLIBC_2.3.2' not found (required by myprogram)

acid_kewpie 01-29-2005 09:52 AM

helps if you tell us what system you're on for a start... we're not psychic. go fill in your user profile please. http://www.linuxquestions.org/questi...on=editprofile

essentially you need to upgrade glibc by whatever means your unknown system might let you do that.

solutionseeker 01-29-2005 10:14 AM

Hello... Sorry about that... I am using debian.

solutionseeker 01-29-2005 12:41 PM

when I did where is I can see that the file is in the /usr/lib directory...

Myexefile which needs it is in /usr/bin/usr/bin/myexefile...

How do I tell that the file its looking for is in the /usr/lib? Please help............

acid_kewpie 01-29-2005 01:14 PM

it should find it automatically, if not, try runnign "ldconfig"

solutionseeker 01-29-2005 01:28 PM

I tried ldconfig and still it doesnt work...

I am not sure if this make a difference but when I run the program it says /lib/libpthread.so.0 version GLIBC_2.3.2 not found

The file which I find using whereis libpthread.so the file is libpthread.so without the .0

acid_kewpie 01-29-2005 01:35 PM

you don't seem to be having much luck with this myexefile thing... (it's a secret what it is i assume..... :confused:) if you're installing random prebuilt binary files, you can't really expect an easy ride... compile whatever it is from source, or find a prebuilt RPM suitable for your distributon of linux.

solutionseeker 01-29-2005 01:41 PM

naah its not a secret :)

I am trying to run the HP's itanium ski simulator.

When u sar tar -zxvf it already opens it with /usr/bin and in one of my earlier posts I asked if I needed to use a program to install anything I was told there was no need for it.

I said tar -zxvf ski.tar.gz (put this file in the /usr/bin) when I logged in as root. Then it created another /usr/bin inside the already existing /usr/bin

It was giving the same error.. I thought I didnt place it in the right place because the usr/lib where the missing file is cant be found... I changed a lot of classpaths before again doing a tar -zxvf ski.tar.gz from the /root

Now I have the file in /usr/bin/ski but it still cant find that file...

I googled around and I find posts in different languages... none of which I understood...

I doono what to do....

solutionseeker 01-29-2005 01:57 PM

The software that I have is looking for a newer version and I have a older version of the libpthread file?

If so then I have to download an older version of the software.


I can do this however how do I remove these files?

Do I just delete them ?

acid_kewpie 01-29-2005 01:58 PM

well if they are distributing a binary only, then you can try some nasty hacks to get it working. try creating a symlink from your real libpthread.so to the file it wants. with those symbols matching there shouldn't be any other incompatabilities.

solutionseeker 01-29-2005 02:03 PM

Okay I can try that... Do you know how to create the symlink?

solutionseeker 01-29-2005 02:14 PM

let me try doing ln -s /usr/lib/libpthread.so libpthread.so.0

I searched on google and found this on http://www.debian.org/doc/manuals/de...-advanced.html

solutionseeker 01-29-2005 02:21 PM

Quote:

Originally posted by solutionseeker
let me try doing ln -s /usr/lib/libpthread.so libpthread.so.0

I searched on google and found this on http://www.debian.org/doc/manuals/de...-advanced.html

I did a ln -s /usr/lib/libpthread.so /usr/lib/libpthread.so.0

and this didnt work either........

acid_kewpie 01-29-2005 02:34 PM

well it's after /lib/libpthread.so.0 so only that path will do. is there a file there already?

solutionseeker 01-29-2005 02:36 PM

yes it created a libpthread.so.0 file


u mean I shld just say ln -s /lib/libpthread.so /lib/libthread.so.0?

solutionseeker 01-29-2005 02:38 PM

did the above and says file exists ..

solutionseeker 01-29-2005 03:57 PM

If I want to setup the classpath and add this file in it then where shld I do it ?

acid_kewpie 01-29-2005 04:11 PM

if it says it's already there, then you should just be ableto upgrade glibc. run "strings /lib/libpthreads.so.0 | grep GLIBC_2" and see if the require function is in there or not... obviously it shouldn't be. current verion of the glibc is 2.3.4 afaik, so being up to date would include 2.3.2 no problem.

solutionseeker 01-29-2005 04:30 PM

Quote:

Originally posted by acid_kewpie
if it says it's already there, then you should just be ableto upgrade glibc.

run "strings /lib/libpthreads.so.0 | grep GLIBC_2" and see if the require function is in there or not... obviously it shouldn't be. current verion of the glibc is 2.3.4 afaik, so being up to date would include 2.3.2 no problem.

I did strings /lib/libpthreads.so.0 | grep GLIBC_2
It didnt see anything nor any errors...

I downloaded the latest version of glibc.tar.gz now.. where do I put it and say tar -zxvf *.tsr.gz ? in /usr/lib?

acid_kewpie 01-29-2005 05:13 PM

don't download source, if you're on debina, use apt-get to install the newst version. I thought we'd already got past updating glibc though, seeing as that was my very first suggestion....

solutionseeker 01-29-2005 06:03 PM

I am not sure how we already installed it ?

We installed GLIBC_2 ?

What abt grep GLIBC_2.3 ? I didnt download anything from anywhere so how can I have installed it ? Do you mean GLIB newer versions are already on my machine ?

I downloaded GLIBC_2.3 since the error message is asking for it...

If have the new GLIB2.3 's tar.gz file can I still use "apt-get install GLIBC_2.3.tar.gz" <-- in this way from /root?

solutionseeker 01-29-2005 09:02 PM

I did a apt-get install on the new glib2.3 file....

and this still doesnt work........


All times are GMT -5. The time now is 12:53 AM.