Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 00:06:11 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Thomas Krause <freebsd-stable@chef-ingenieur.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD10 - libstdc++.so.7 - arcconf
Message-ID:  <2952712B-E335-429E-9800-EDB241BDBD2E@FreeBSD.org>
In-Reply-To: <5A1E4599-3634-48A4-BC2F-D8AE5F02DE78@FreeBSD.org>
References:  <539F5C97.6090000@chef-ingenieur.de> <5A1E4599-3634-48A4-BC2F-D8AE5F02DE78@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 16 Jun 2014, at 23:56, Dimitry Andric <dim@FreeBSD.org> wrote:
> On 16 Jun 2014, at 23:07, Thomas Krause <freebsd-stable@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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlOfalMACgkQsF6jCi4glqOZIwCglnLAUfYVxo+qubWHZuuaugdk
n/QAnR9qrZ+x7GF9Gt8364j6ntjx9ETx
=M9ww
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2952712B-E335-429E-9800-EDB241BDBD2E>