Date: Tue, 17 Jun 2014 11:13:42 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: Thomas Krause <freebsd-stable@chef-ingenieur.de> Cc: owner-freebsd-stable@freebsd.org, freebsd-stable@freebsd.org, Dimitry Andric <dim@freebsd.org> Subject: Re: FreeBSD10 - libstdc++.so.7 - arcconf Message-ID: <20140617081342.GK3991@kib.kiev.ua> In-Reply-To: <6c6b3ca5bd8a7a1d53124b21d0e1f01f@chef-ingenieur.de> References: <539F5C97.6090000@chef-ingenieur.de> <5A1E4599-3634-48A4-BC2F-D8AE5F02DE78@FreeBSD.org> <2952712B-E335-429E-9800-EDB241BDBD2E@FreeBSD.org> <6c6b3ca5bd8a7a1d53124b21d0e1f01f@chef-ingenieur.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <dim@FreeBSD.org> wrote: > >> On 16 Jun 2014, at 23:07, Thomas Krause=20 > >> <freebsd-stable@chef-ingenieur.de> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140617081342.GK3991>