Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Nov 2007 19:06:14 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Noah <admin2@enabled.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: /libexec/ld-elf.so.1: Shared object "libm.so.6" not found, required by "libstdc++.so.5"
Message-ID:  <472E0A16.8030107@FreeBSD.org>
In-Reply-To: <472E076A.6090702@enabled.com>
References:  <472D32BF.1050708@enabled.com> <472D9AA2.2020708@FreeBSD.org>	<472DFA1D.8080309@enabled.com> <472DFCDD.2040709@FreeBSD.org> <472DFFF6.2050202@enabled.com> <472E02AD.7080604@FreeBSD.org> <472E076A.6090702@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Noah wrote:
> 
> 
> Kris Kennaway wrote:
>> Noah wrote:
>>>
>>>
>>> Kris Kennaway wrote:
>>>> Noah wrote:
>>>>> thanks Kris,
>>>>>
>>>>> something must be wrong then. I am running into problems rebuilding 
>>>>> apache now and see undefined references from 
>>>>> /usr/local/lib/libstdc++.so.5 during the build:
>>>>
>>>> It looks like you have added a Linux libstdc++ library which is why 
>>>> it is failing to resolve other Linux symbols and libraries.  No 
>>>> linux ports should be putting them in /usr/local/lib though, so 
>>>> maybe you or someone else did this manually.
>>>
>>>
>>>
>>> thanks Kris,
>>>
>>> I am checking with the other admin.  In the meantime it wouldnt hurt 
>>> to move the library /usr/local/lib/libstdc++.so.5 out of there, right?
>>
>> Probably not.  The question is whether other bogus libraries were also 
>> added there to cause more problems later.  The pkg_which manpage has 
>> an example command you can run to try and track down extra files that 
>> were not installed by any packages.
>>
> 
> 
> Hi Kris,
> 
> I am not completely clear on which manpage to go to?  Is 'pkg_' 
> command/man page truncated in some way?

man pkg_which

which is part of portupgrade

Kris




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?472E0A16.8030107>