This is a discussion on error during ldconfig within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hi I seem to have some error with my libraries. When typing ldconfig (as root) I get: ldconfig: /usr/lib/libstdc++-libc6.1-1.so.2 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On 2003-10-17, Soren Hauberg <soren@hauberg.org> wrote: > Hi > I seem to have some error with my libraries. When typing ldconfig (as > root) I get: > ldconfig: /usr/lib/libstdc++-libc6.1-1.so.2 is not a symbolic link > > Any ideas on how to fix this? > > Soren > Try remerging lib-compat -- Jon Portnoy avenj/irc.freenode.net #gentoo, irc.oftc.net #cola Opinions expressed are my own, not those of Gentoo Linux or any other entity I am associated with unless stated otherwise. |
| |||
| Jon Portnoy wrote: > On 2003-10-17, Soren Hauberg <soren@hauberg.org> wrote: > >>Hi >>I seem to have some error with my libraries. When typing ldconfig (as >>root) I get: >>ldconfig: /usr/lib/libstdc++-libc6.1-1.so.2 is not a symbolic link >> >>Any ideas on how to fix this? >> >>Soren >> > > > Try remerging lib-compat > That didn't do the trick. Still get the same error :-( Soren |
| |||
| On 2003-10-17, Jon Portnoy <avenj@gentoo.org> wrote: > On 2003-10-17, Soren Hauberg <soren@hauberg.org> wrote: >> Hi >> I seem to have some error with my libraries. When typing ldconfig (as >> root) I get: >> ldconfig: /usr/lib/libstdc++-libc6.1-1.so.2 is not a symbolic link >> >> Any ideas on how to fix this? >> >> Soren >> > > Try remerging lib-compat > k. What's 'ls -l /usr/lib/libstdc++-libc6.1-1.so.2' and 'file /usr/lib/libstdc++-libc6.1-1.so.2' say? Also, what's in /etc/ld.so.conf? -- Jon Portnoy avenj/irc.freenode.net #gentoo, irc.oftc.net #cola Opinions expressed are my own, not those of Gentoo Linux or any other entity I am associated with unless stated otherwise. |
| |||
| Jon Portnoy wrote: > On 2003-10-17, Jon Portnoy <avenj@gentoo.org> wrote: > >>On 2003-10-17, Soren Hauberg <soren@hauberg.org> wrote: >> >>>Hi >>>I seem to have some error with my libraries. When typing ldconfig (as >>>root) I get: >>>ldconfig: /usr/lib/libstdc++-libc6.1-1.so.2 is not a symbolic link >>> >>>Any ideas on how to fix this? >>> >>>Soren >>> >> >>Try remerging lib-compat >> > > > k. What's 'ls -l /usr/lib/libstdc++-libc6.1-1.so.2' ls -l /usr/lib/libstdc++-libc6.1-1.so.2 -rwxr-xr-x 1 root root 271052 Oct 17 21:19 /usr/lib/libstdc++-libc6.1-1.so.2 > and 'file /usr/lib/libstdc++-libc6.1-1.so.2' say? file /usr/lib/libstdc++-libc6.1-1.so.2 /usr/lib/libstdc++-libc6.1-1.so.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped > Also, what's in /etc/ld.so.conf? cat /etc/ld.so.conf # ld.so.conf autogenerated by env-update; make all changes to # contents of /etc/env.d directory /usr/local/lib /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3 /usr/lib/opengl/xfree/lib /usr/X11R6/lib /opt/blackdown-jdk-1.4.1/jre/lib/i386/ /opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads/ /usr/games/lib Thanks, Soren |
| |||
| On 2003-10-18, Soren Hauberg <soren@hauberg.org> wrote: > > > Jon Portnoy wrote: >> On 2003-10-17, Jon Portnoy <avenj@gentoo.org> wrote: >> >>>On 2003-10-17, Soren Hauberg <soren@hauberg.org> wrote: >>> >>>>Hi >>>>I seem to have some error with my libraries. When typing ldconfig (as >>>>root) I get: >>>>ldconfig: /usr/lib/libstdc++-libc6.1-1.so.2 is not a symbolic link >>>> >>>>Any ideas on how to fix this? >>>> >>>>Soren >>>> >>> >>>Try remerging lib-compat >>> >> >> >> k. What's 'ls -l /usr/lib/libstdc++-libc6.1-1.so.2' > ls -l /usr/lib/libstdc++-libc6.1-1.so.2 > -rwxr-xr-x 1 root root 271052 Oct 17 21:19 > /usr/lib/libstdc++-libc6.1-1.so.2 > I have: lrwxrwxrwx 1 root root 30 2003-10-14 03:16 /usr/lib/libstdc++-libc6.1-1.so.2 -> libstdc++-2-libc6.1-1-2.9.0.so So perhaps if you have libstdc++-2-libc6.1-1-2.9.0.so you should try symlinking libstdc++-libc6.1-1.so.2 to it. -- Jon Portnoy avenj/irc.freenode.net #gentoo, irc.oftc.net #cola Opinions expressed are my own, not those of Gentoo Linux or any other entity I am associated with unless stated otherwise. |
| |||
| Jon Portnoy wrote: > On 2003-10-18, Soren Hauberg <soren@hauberg.org> wrote: > >> >>Jon Portnoy wrote: >> >>>On 2003-10-17, Jon Portnoy <avenj@gentoo.org> wrote: >>> >>> >>>>On 2003-10-17, Soren Hauberg <soren@hauberg.org> wrote: >>>> >>>> >>>>>Hi >>>>>I seem to have some error with my libraries. When typing ldconfig (as >>>>>root) I get: >>>>>ldconfig: /usr/lib/libstdc++-libc6.1-1.so.2 is not a symbolic link >>>>> >>>>>Any ideas on how to fix this? >>>>> >>>>>Soren >>>>> >>>> >>>>Try remerging lib-compat >>>> >>> >>> >>>k. What's 'ls -l /usr/lib/libstdc++-libc6.1-1.so.2' >> >>ls -l /usr/lib/libstdc++-libc6.1-1.so.2 >>-rwxr-xr-x 1 root root 271052 Oct 17 21:19 >>/usr/lib/libstdc++-libc6.1-1.so.2 >> > > > I have: > lrwxrwxrwx 1 root root 30 2003-10-14 03:16 > /usr/lib/libstdc++-libc6.1-1.so.2 -> libstdc++-2-libc6.1-1-2.9.0.so > > So perhaps if you have libstdc++-2-libc6.1-1-2.9.0.so you should try > symlinking libstdc++-libc6.1-1.so.2 to it. > If I do that ldconfig stops complaining, but... I discovered the problem when I couldn't use cout in c++ and I still can't. If I do emerge lib-compat I get this message >>> Install lib-compat-1.2 into /var/tmp/portage/lib-compat-1.2/image/ category sys-libs ldconfig: /var/tmp/portage/lib-compat-1.2/image//usr/lib/libstdc++-libc6.1-1.so.2 is not a symbolic link And then after having reemerged lib-compat ldconfig complains again. Is this a bug in the ebuild? I get the same error on my laptop and my desktop Soren |
| |||
| On 2003-10-19, Soren Hauberg <soren@hauberg.org> wrote: > If I do that ldconfig stops complaining, but... > I discovered the problem when I couldn't use cout in c++ and I still can't. > If I do emerge lib-compat I get this message > >>> Install lib-compat-1.2 into /var/tmp/portage/lib-compat-1.2/image/ > category sys-libs > ldconfig: > /var/tmp/portage/lib-compat-1.2/image//usr/lib/libstdc++-libc6.1-1.so.2 > is not a symbolic link > > And then after having reemerged lib-compat ldconfig complains again. > Is this a bug in the ebuild? I get the same error on my laptop and my > desktop > > Soren > Hmm. Checking bugzilla finds: http://bugs.gentoo.org/show_bug.cgi?id=28644 But -r1 is currently in ~arch. -- Jon Portnoy avenj/irc.freenode.net #gentoo, irc.oftc.net #cola Opinions expressed are my own, not those of Gentoo Linux or any other entity I am associated with unless stated otherwise. |
| ||||
| Jon Portnoy wrote: > On 2003-10-19, Soren Hauberg <soren@hauberg.org> wrote: > >>If I do that ldconfig stops complaining, but... >>I discovered the problem when I couldn't use cout in c++ and I still can't. >>If I do emerge lib-compat I get this message >> >>>>>Install lib-compat-1.2 into /var/tmp/portage/lib-compat-1.2/image/ >> >>category sys-libs >>ldconfig: >>/var/tmp/portage/lib-compat-1.2/image//usr/lib/libstdc++-libc6.1-1.so.2 >>is not a symbolic link >> >>And then after having reemerged lib-compat ldconfig complains again. >>Is this a bug in the ebuild? I get the same error on my laptop and my >>desktop >> >>Soren >> > > > Hmm. Checking bugzilla finds: > http://bugs.gentoo.org/show_bug.cgi?id=28644 > > But -r1 is currently in ~arch. > Thanks - that did the trick Soren |