FreeBSD10 - libstdc++.so.7 - arcconf

Dimitry Andric dim at FreeBSD.org
Mon Jun 16 22:06:16 UTC 2014


On 16 Jun 2014, at 23:56, Dimitry Andric <dim at FreeBSD.org> wrote:
> On 16 Jun 2014, at 23:07, Thomas Krause <freebsd-stable at chef-ingenieur.de> wrote:
>> 
>> I'm using Adaptec controllers for my servers.
>> The arcconf utility is not working under FreeBSD10 (because of clang):
>> Shared object "libstdc++.so.7" not found, required by "arcconf"
...
>> Is there an easy way to get it working?
>> I don't want to install gcc (about 470MB disk space) only for this tool.
> 
> make -C /usr/src/gnu/lib/libstdc++ -D WITH_GNUCXX obj all install
> make -C /usr/src/gnu/lib/libsupc++ -D WITH_GNUCXX obj all install

Hmm, sorry, that won't actually work, since libstdc++ will not be able
to find its own includes.  Instead, first do:

make -C /usr/src/gnu/lib/libstdc++ -D WITH_GNUCXX obj depend includes

This will install the headers to /usr/include/c++/4.2; then do:

make -C /usr/src/gnu/lib/libstdc++ -D WITH_GNUCXX all install
make -C /usr/src/gnu/lib/libsupc++ -D WITH_GNUCXX obj depend all install

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140617/45fe6168/attachment.sig>


More information about the freebsd-stable mailing list