LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mozilla/glibc problem (https://www.linuxquestions.org/questions/linux-software-2/mozilla-glibc-problem-85158/)

guygriffiths 08-24-2003 11:00 AM

Mozilla/glibc problem
 
I have been trying to install the java plugin for mozilla 1.4rc2. I have it installed, but when starting mozilla, I get the message:
LoadPlugin: failed to initialize shared library /usr/java/j2re1.4.1/plugin/i386/mozilla/javaplugin_oji.so [libstdc++.so.5: cannot open shared object file: No such file or directory]

So, I assumed this meant I didn't have a recent enough version of gcc, and so I installed gcc-3.2, using apt. The error still occurred, and I have no file named libstdc++.so.5. On closer inspection, it turned out I don't even have libstdc++ in my gcc3.2 libs directory, but I do in my 2.95 and 3.0 directories.
So I tried apt-get install glibc, and this returned the error:
Package glibc has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
E: Package glibc has no installation candidate


I would have thought that glibc should be available, since gcc3.2 was available. My sources.list is as follows:

deb cdrom:[Debian GNU/Linux 3.0r1 Update CD 20030109: i386]/ woody contrib main non-US/contrib non-US/main non-US/non-free non-free
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-1 (20020720)]/ unstable contrib main non-US/contrib non-US/main

deb http://security.debian.org/ stable/updates main
deb ftp://ftp.uk.debian.org/debian stable main
deb http://www.rinspin.com/~bronson/debian/sdl/ ./
deb http://download.kde.org/stable/3.1.3/Debian stable main
deb http://ftp.freenet.de/pub/ftp.vpn-ju...de/openoffice/ woody main contrib


Can anyone tell me:
a) if I'm trying the right thing
b) if so, where I can get glibc from
c) anything else of any use

Thanks,
Guy

mhearn 08-24-2003 11:17 AM

libstdc++ is not a part of gcc, nor glibc as far as I remember. It's usually packaged separately. I don't know what package name Debian uses.

guygriffiths 08-24-2003 11:26 AM

Right. I've found it I think and it's just downloading. Thanks a lot, I'll let you know if it works

guygriffiths 08-24-2003 11:29 AM

Yep, that worked. Java is working fine now. Cheers


All times are GMT -5. The time now is 04:52 PM.