Unix Technical Forum

error during ldconfig

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 05:24 AM
Soren Hauberg
 
Posts: n/a
Default error during ldconfig

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 05:24 AM
Jon Portnoy
 
Posts: n/a
Default Re: error during ldconfig

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 05:24 AM
Soren Hauberg
 
Posts: n/a
Default Re: error during ldconfig



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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 05:25 AM
Jon Portnoy
 
Posts: n/a
Default Re: error during ldconfig

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 05:25 AM
Soren Hauberg
 
Posts: n/a
Default Re: error during ldconfig



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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 05:25 AM
Jon Portnoy
 
Posts: n/a
Default Re: error during ldconfig

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 05:25 AM
Soren Hauberg
 
Posts: n/a
Default Re: error during ldconfig



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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-21-2008, 05:25 AM
Jon Portnoy
 
Posts: n/a
Default Re: error during ldconfig

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-21-2008, 05:25 AM
Soren Hauberg
 
Posts: n/a
Default Re: error during ldconfig



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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com