FreeBSD10 - libstdc++.so.7 - arcconf

Gary Palmer gpalmer at freebsd.org
Tue Jun 17 15:04:38 UTC 2014


On Tue, Jun 17, 2014 at 04:49:47PM +0200, Thomas Krause wrote:
> Am 17.06.2014 16:42, schrieb Konstantin Belousov:
> > On Tue, Jun 17, 2014 at 10:31:36AM -0400, Ryan Stone wrote:
> >> On Tue, Jun 17, 2014 at 4:13 AM, Konstantin Belousov
> >> <kostikbel at gmail.com> wrote:
> >> > 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 ?
> >> 
> >> arcconf is a utility for managing Adaptec RAID controller.  It's
> >> compiled by Adaptec and they distribute it as a binary.
> > 
> > My point is, the libstdc++.so.7 is not shipped by FreeBSD base, nor it
> > is provided by gcc builds. If somebody bumped the so version, it was 
> > done
> > for a reason. If ABI is not changed, why bumping the version ?
> > 
> > In other words, Adaptec should be asked for the library.
> 
> It's a binary from Adaptec.
> 
> # pkg info arcconf
> arcconf-v7.30.18837
> Name           : arcconf
> Version        : v7.30.18837
> Installed on   : Mon Jun 16 23:02:14 CEST 2014
> Origin         : sysutils/arcconf
> Architecture   : freebsd:10:x86:64
> Prefix         : /usr/local
> Categories     : sysutils
> Maintainer     : michael at fuckner.net
> WWW            : UNKNOWN
> Comment        : Adaptec SCSI RAID administration tool
> Flat size      : 2.45MiB
> Description    :
> Command Line Interface for the Adaptec SCSI RAID family of RAID 
> controllers,
> used to configure and manage connected storage devices.
> 
> # ldd /usr/local/sbin/arcconf
> /usr/local/sbin/arcconf:
>          libthr.so.3 => /lib/libthr.so.3 (0x80093b000)
>          libncurses.so.8 => /lib/libncurses.so.8 (0x800b60000)
>          libstdc++.so.6 => not found (0)
>          libm.so.5 => /lib/libm.so.5 (0x800dac000)
>          libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x800fd2000)
>          libc.so.7 => /lib/libc.so.7 (0x8011df000)
> 
> # /usr/local/sbin/arcconf
> Shared object "libstdc++.so.7" not found, required by "arcconf"

The real question is why 'ldd' said it needed libstdc++.so.*6*, but runtime
says libstdc++.so.*7*

You don't have anything in the libmap files (/etc/libmap.conf,
/etc/libmap32.conf) do you?

Gary


More information about the freebsd-stable mailing list