From owner-freebsd-stable@FreeBSD.ORG Mon Jun 16 22:06:16 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 451F57A9 for ; Mon, 16 Jun 2014 22:06:16 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0122B236A for ; Mon, 16 Jun 2014 22:06:16 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::b84b:ea36:4fb7:752f] (unknown [IPv6:2001:7b8:3a7:0:b84b:ea36:4fb7:752f]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 151BC5C37; Tue, 17 Jun 2014 00:06:12 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_142932C3-EFD2-410D-AFA3-31647C08A83D"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: FreeBSD10 - libstdc++.so.7 - arcconf From: Dimitry Andric In-Reply-To: <5A1E4599-3634-48A4-BC2F-D8AE5F02DE78@FreeBSD.org> Date: Tue, 17 Jun 2014 00:06:11 +0200 Message-Id: <2952712B-E335-429E-9800-EDB241BDBD2E@FreeBSD.org> References: <539F5C97.6090000@chef-ingenieur.de> <5A1E4599-3634-48A4-BC2F-D8AE5F02DE78@FreeBSD.org> To: Thomas Krause X-Mailer: Apple Mail (2.1878.2) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2014 22:06:16 -0000 --Apple-Mail=_142932C3-EFD2-410D-AFA3-31647C08A83D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 16 Jun 2014, at 23:56, Dimitry Andric wrote: > On 16 Jun 2014, at 23:07, Thomas Krause = wrote: >>=20 >> 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. >=20 > 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 --Apple-Mail=_142932C3-EFD2-410D-AFA3-31647C08A83D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlOfalMACgkQsF6jCi4glqOZIwCglnLAUfYVxo+qubWHZuuaugdk n/QAnR9qrZ+x7GF9Gt8364j6ntjx9ETx =M9ww -----END PGP SIGNATURE----- --Apple-Mail=_142932C3-EFD2-410D-AFA3-31647C08A83D--