devel/boost-python-libs compiled with gcc 4.5.1 causes link error

Anonymous swell.k at gmail.com
Mon Jun 28 00:12:25 UTC 2010


Anonymous <swell.k at gmail.com> writes:

> Doug Barton <dougb at dougbarton.us> writes:
>
>> On 06/26/10 19:16, Anonymous wrote:
>>> @@GLIBCXX_3.4.14 symbols are in gcc45/libstdc++.so. Try to add -lstdc++
>>> or use CXX otherwise it picks up libstdc++.so from /usr/lib.
>>
>> I have the following in /etc/libmap.conf:
>>
>> libgcc_s.so.1   gcc45/libgcc_s.so.1
>> libgomp.so.1    gcc45/libgomp.so.1
>> libobjc.so.3    gcc45/libobjc.so.2
>> libssp.so.0     gcc45/libssp.so.0
>> libstdc++.so.6  gcc45/libstdc++.so.6
>>
>> Which should theoretically solve that issue.
>
> I guess ld(1) only uses ld-elf.so.hints and ignores libmap.conf

I've filed ports/148196.

However, I think there should be a way to prepend search paths in
/etc/rc.d/ldconfig despite possible footshooting. Using libmap.conf
as described in custom-gcc article looks ugly to me.


More information about the freebsd-ports mailing list