FreeBSD10 - libstdc++.so.7 - arcconf

Konstantin Belousov kostikbel at gmail.com
Tue Jun 17 08:13:51 UTC 2014


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 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"
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++
from 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 
> >>> 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
> 
> sorry, also doesn't work:
> 
> http://pastebin.com/ZEFWs6GA
> 
> Regards,
> Thomas.
> 
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140617/fe5fbd3b/attachment.sig>


More information about the freebsd-stable mailing list