Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2010 04:12:05 +0400
From:      Anonymous <swell.k@gmail.com>
To:        Doug Barton <dougb@dougbarton.us>
Cc:        churanov.port.maintainer@gmail.com, freebsd-ports@FreeBSD.org
Subject:   Re: devel/boost-python-libs compiled with gcc 4.5.1 causes link error
Message-ID:  <86sk48ggmi.fsf@gmail.com>
In-Reply-To: <86pqzd2nif.fsf@gmail.com> (Anonymous's message of "Sun, 27 Jun 2010 06:54:48 %2B0400")
References:  <4C26A19B.6070808@dougbarton.us> <86hbkp5ifh.fsf@gmail.com> <4C26B704.2000601@dougbarton.us> <86pqzd2nif.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Anonymous <swell.k@gmail.com> writes:

> Doug Barton <dougb@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86sk48ggmi.fsf>