From owner-freebsd-stable@FreeBSD.ORG Tue Jun 17 08:13:51 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB3848D1; Tue, 17 Jun 2014 08:13:50 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8859121D8; Tue, 17 Jun 2014 08:13:50 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id s5H8Dgf6098270; Tue, 17 Jun 2014 11:13:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua s5H8Dgf6098270 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.8/Submit) id s5H8Dg9m098269; Tue, 17 Jun 2014 11:13:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 17 Jun 2014 11:13:42 +0300 From: Konstantin Belousov To: Thomas Krause Subject: Re: FreeBSD10 - libstdc++.so.7 - arcconf Message-ID: <20140617081342.GK3991@kib.kiev.ua> References: <539F5C97.6090000@chef-ingenieur.de> <5A1E4599-3634-48A4-BC2F-D8AE5F02DE78@FreeBSD.org> <2952712B-E335-429E-9800-EDB241BDBD2E@FreeBSD.org> <6c6b3ca5bd8a7a1d53124b21d0e1f01f@chef-ingenieur.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WcQaI98cLmX3CBrc" Content-Disposition: inline In-Reply-To: <6c6b3ca5bd8a7a1d53124b21d0e1f01f@chef-ingenieur.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: owner-freebsd-stable@freebsd.org, freebsd-stable@freebsd.org, Dimitry Andric 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: Tue, 17 Jun 2014 08:13:51 -0000 --WcQaI98cLmX3CBrc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 17, 2014 at 09:58:23AM +0200, Thomas Krause wrote: > Am 17.06.2014 00:06, schrieb Dimitry Andric: > > On 16 Jun 2014, at 23:56, Dimitry Andric wrote: > >> On 16 Jun 2014, at 23:07, Thomas Krause=20 > >> wrote: > >>>=20 > >>> I'm using Adaptec controllers for my servers. > >>> The arcconf utility is not working under FreeBSD10 (because of=20 > >>> clang): > >>> Shared object "libstdc++.so.7" not found, required by "arcconf" I am sure that FreeBSD base system build produces libstdc++.so.6. More, both ports build of gcc and stand-alone builds also use the name 'libstdc++.so.6' for the resulting library. Gcc promise is that libstdc++ is backward binary compatible, and base system build of libstdc++ aimed to be compatible with libstdc++ =66rom the same standalone gcc version. I am not sure where libstdc++.so.7, used by your binary, gets it origin. Might be, ask whoever did the build ? > > ... > >>> Is there an easy way to get it working? > >>> I don't want to install gcc (about 470MB disk space) only for this=20 > >>> 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 > >=20 > > Hmm, sorry, that won't actually work, since libstdc++ will not be able > > to find its own includes. Instead, first do: > >=20 > > make -C /usr/src/gnu/lib/libstdc++ -D WITH_GNUCXX obj depend includes > >=20 > > This will install the headers to /usr/include/c++/4.2; then do: > >=20 > > 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=20 > > install > >=20 > > -Dimitry >=20 > sorry, also doesn't work: >=20 > http://pastebin.com/ZEFWs6GA >=20 > Regards, > Thomas. >=20 >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --WcQaI98cLmX3CBrc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJTn/i1AAoJEJDCuSvBvK1B3t4QAIYAmDax1bAP1zUO4gv+wGRr wErWdvjSEHYC9/J/8lzrJI2py7E7xnhcN7gFM/FeWpUdOYojY6W3/F/BI0kozttC l2cmfH24ziPlR7v54qKPOYP95/UuLCJw/SyjssvlRnVS/fR9jwwyi3SqrmSRnxww b9Zw9YnRCiOUSzDo8nPQn8fWM9wrHeYlI5DQXfcAFiGHavjnWcjQ8sYk+zAgTWx1 5VFPTsSfdJgc0QTnt/Ik5mKkFpIa2OnPNEkm+ZnUiVi1375h4o6vBpF8v14rOv+Q rYKQGefR87drdF2sXety5BUb8TC0gfdE8YkH6fIYFyLlJ6+16DRBcsc9bdWkywv9 cV0mx51sVm2s2jGFNm9BUBEf0e6E7kGdXg47efZUrFcqGatY8d9EN2yH8Q5NlarI K5RJDdmgN4TII2BqAOkuqWMcSMNKdZ+mFjxzFEP2vvWf1yt8JHN4lb4znsyj+G7Q tm4VmdeUctGWYJ/cdcBHebamr1HrRdFb7dSeeRlnuSBaOdH1FvQLJdMmiuyrgm2K +/QCWztIuW9nyLIPKNFALvFkUOPXnVL8yJ9aPSZZ/M4RypkxVHFCdARE7nY9Guf1 g10aotIe1Cnlldo8ZOiVfOa2JEKLbXyzq+JirMKeic858LJd0Hxgeu3omP7X4SMS fa6N8NeMG3Ktl/Bo2CIO =GMWf -----END PGP SIGNATURE----- --WcQaI98cLmX3CBrc--