LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-06-2004, 01:48 PM   #1
Emanon
LQ Newbie
 
Registered: Jun 2003
Distribution: SuSE 8.1
Posts: 29

Rep: Reputation: 15
upgrading glibc? libc.so.6


Hello there.

i installed IglooFtp Pro the other day on my SuSE 8.1 Laptop. when i tried to execute it i go the error message:

IglooFTP-PRO: /lib/libc.so.6: version `GLIBC_2.3' not found (required by IglooFTP-PRO)

i checked my glibc-version and it was 2.2.5.
I Downloaded a rpm of 2.3.3 and tried to update it and i got dependency issues telling me that some .so from glib 2.2.5 were needed for some packages. one of the packages were actually the RPM (!) package! so it felt a bit like moment 22 on that one. can't install rpm without rpm.

anyway i tried to do it via the tarball. downloaded glib 2.3.2 as tar.gz and compiled as easy as possible reading the INSTALL file and all went smooth and nice. but even though it worked i still get the same error message from iglooftp pro? i checked the install-directory for glibc 2.3.2 and there was no libc.so.6 anywhere, and on the old spot there was still the old version of that file.

has anyone encountered anything similiar? i really need to get this client working :/

thanks for help!

/T
 
Old 10-06-2004, 02:37 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
OK,

first thing is glib and glibc are two totally different things and you are saying one thing and then the other mixing the two... you have to get straight on which one you are dealing with
Quote:

i checked the install-directory for glibc 2.3.2
exactly what do you mean by that ?????? where is that

The only other comment i can make is if you actually compiled and installed a new version of glibc
you are very lucky you didn't totally destroy your system

if however all you did is compile and install another version of glib then things shouldn't be too broken especially if you installed it in a different location from the original..

so stop and take a breath and explain but realize to install a new version of glibc is to put your system at extreem risk even if you know how to do it and it sounds like possibly you don't.
 
Old 10-06-2004, 02:58 PM   #3
Emanon
LQ Newbie
 
Registered: Jun 2003
Distribution: SuSE 8.1
Posts: 29

Original Poster
Rep: Reputation: 15
i installed it into /usr/local/glibc.2.3.2
and what i installed was glibc-2.3.2.tar.gz. the rpm that didn't work was glibc-2.3.3-98.32.i686.rpm.

just following the INSTALL-file. i am not sure what it is all about. i am kind of new to this. i just want my ftp-client to work. and it was said that that libc.so.6 was supposed to be included there.
 
Old 10-06-2004, 03:54 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
If you want IglooFTP to work you'd be better off downloading the source code for that, rather than trying to replace glibc. You see when you install an RPM it needs all the libraries on your computer to EXACTLY match all those against which the program was compiled (i.e. those present on the computer than created the RPM). If you compile the program yourself then it only requires that the necessary libraries are greater than a certain version. Any version of libc6 would be fine to compile the igloo yourself, though you will need the development packages installed for a few things if it uses GTK or Qt or something...but then you can install them from RPM...they usually end in -devel (e.g. gtk-2.0-devel).
 
Old 10-06-2004, 04:47 PM   #5
Emanon
LQ Newbie
 
Registered: Jun 2003
Distribution: SuSE 8.1
Posts: 29

Original Poster
Rep: Reputation: 15
i don't think you get the source for that program. i think it's a demo and you have to register it and stuff. from tar you just run a install-command without real source. and installing goes smooth, the error message comes when i try to execute the installed program
 
Old 10-06-2004, 05:35 PM   #6
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Quote:
Originally posted by Emanon
i installed it into /usr/local/glibc.2.3.2
just following the INSTALL-file. i am not sure what it is all about. i am kind of new to this. i just want my ftp-client to work. and it was said that that libc.so.6 was supposed to be included there.
you mean you put in the configure --prefix=/usr/local/glibc.2.3.2 ??
or just did no prefix setting so you have the default /usr/local

the thing I'm concerned about is the /lib folder
i don't know about SUSE file structure !
in /lib do you now have
ld-2.3.2.so
libc-2.3.2.so
libdl-2.3.2.so
on and on there are lots of them ?????
libc.so.6 like you said earlier is just a link to libc-2.3.2.so
plus you still have all the older 2.2.5 libs as well ???

you said
Quote:
and on the old spot there was still the old version of that file
what do you mean by that -- where is the old version ?? and you mean the link still points to libc-2.2.5.so
and that is still there ??

and i'm sure you are geting tired of 20 questions but now do you have a directory
/usr/local/glibc.2.3.2/bin and is all this junk in there ??
(therefore off your path and the older utils are still functional)
try this from the command line:
ldd --version
what do you get ??
just to let you know all the executables that come with glibc are:
catchsegv, gencat, getconf, getent,
glibcbug, iconv, iconvconfig, ldconfig, ldd, lddlibc4, locale,
localedef, mtrace, nscd, nscd_nischeck, pcprofiledump, pt_chown,
rpcgen, rpcinfo, sln, sprof, tzselect, xtrace, zdump and zic
and the libraries are:
ld.so, libBrokenLocale.[a,so],
libSegFault.so, libanl.[a,so], libbsd-compat.a, libc.[a,so],
libc_nonshared.a, libcrypt.[a,so], libdl.[a,so], libg.a, libieee.a,
libm.[a,so], libmcheck.a, libmemusage.so, libnsl.a,
libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
libnss_nis.so, libnss_nisplus.so, libpcprofile.so,
libpthread.[a,so], libresolv.[a,so], librpcsvc.a, librt.[a,so],
libthread_db.so and libutil.[a,so]

i'm afraid since it sounds like you didn't include linux-threads your new glibc it's broken
and of course everything on your system is linked both with and to the older version
i think don't reboot until you can sort this out or you might be screwed

Last edited by foo_bar_foo; 10-06-2004 at 05:36 PM.
 
Old 10-06-2004, 07:29 PM   #7
Emanon
LQ Newbie
 
Registered: Jun 2003
Distribution: SuSE 8.1
Posts: 29

Original Poster
Rep: Reputation: 15
my /lib folder did not change a bit because of my install.. all files there are the old ones from when i installed this computer for the first time. Rebooting is no problem at all.
i compiled with prefix to /usr/local/glibc.2.3.2 since the INSTALL-file said it would be dumb to put it directly in /usr/local

in /lib libc.so.6 is no link at all. it's a real file. although now i checked the /usr/local/glib.2.3.2/lib and there the libc.so.6 is a link (i didn't notice it last time, i used the locate command to find all the libc.so.6 files)

ldd --version gives the 2.2.5-version.

and i did include linuxthreads. as i said i followed the INSTALL-file and it told me to include it so i did. my system works fine it just doesn't seem like my new glibc-install did quite override the old one properly. which almost seems like a good thing? not sure what i've done wrong though.

ld-2.3.2.so
libc-2.3.2.so
libdl-2.3.2.so

all those files are in /usr/local/glibc.2.3.2/bin

don't quite know what my next step should be, any ideas?
thanks for your help anyway :)
 
Old 10-06-2004, 08:14 PM   #8
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Yes -- you did good and insalled into a fresh directory and didn't overwrite anything important
and you included threads -- cool
sorry about the dread, doom, and gloom before.
i just didn't have any faith in my fellow Linux user

now you are stuck with a different version of the same catch 22 you started out with
you can't let your system see the new glibc but you want IglooFtp to see it
and to top it all you can't compile IglooFtp yourself to controll it's behaviour.

i think it's best to ignore the stuff in /usr/local/glibc.2.3.2/bin and make sure you keep that stuff off of $PATH

the only thing i can think of is (if you can move the IglooFtp executable) put it in /usr/local/glibc.2.3.2/lib
and see if it wil run from there

or if the IglooFtp executable is in a different kind of place without other stuff and a place not in ld.so.conf
and not set by LD_LIBRARY_PATH -- try putting libc-2.3.2.so in it's directory and make the link
libc.so.6 ->libc-2.3.2.so right there and see if it will run
 
Old 10-06-2004, 08:39 PM   #9
Emanon
LQ Newbie
 
Registered: Jun 2003
Distribution: SuSE 8.1
Posts: 29

Original Poster
Rep: Reputation: 15
that does not work. Igloo-FTP searches for the file specificly in /lib.
a shame. it's really good ftp-client. too bad the author is greedy.

but why is it such a dread to update glibc? since it allways seems to get moment 22 all the time and you can't live without it. i just can't understand quite how to actually update it? it really feels like i'm stuck with the glibc from the standard installation of the machine.
 
Old 10-15-2004, 04:16 AM   #10
shazam75
Member
 
Registered: Oct 2004
Location: Australia, Brisbane
Distribution: Gentoo
Posts: 296

Rep: Reputation: 30
Yea I have the same problem - tried to update to 2.3 from 2.2 (Glibc) and now Id spits the following error
ld: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ld)

Have I broken my system?

Time for a new install?

Regards
 
  


Reply


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
upgrading glibc 2.3.2 to glibc 2.3.3 =cop=Jesse Linux - Newbie 3 12-08-2004 11:00 PM
Upgrading glibc-2.2.4 to glibc-2.3.2 on redhat 7.2 Shuja Linux From Scratch 2 07-30-2004 12:34 AM
libc.so.6 & glibc maritimecn Linux - Software 1 07-24-2004 08:00 PM
How do I find out if I'm running Glibc or Libc? vxc69 Linux - General 3 07-20-2004 02:10 AM
libc or glibc bigtl Programming 1 06-25-2002 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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