problem finding dynamic library

walt wa1ter at myrealbox.com
Thu Jan 4 12:41:48 PST 2007


On Thu, 4 Jan 2007, Simon 'corecode' Schubert wrote:

> j s wrote:
> > Good morning,
> >
> > I'm trying to resolve the following error on a Dfly 1.7.0 system:
> >
> > imapd: /usr/libexec/ld-elf.so.2: \
> >       Shared object "libstdc++.so.7" not found, required by "libfam.so.0"
>
> how did you get there?  seems you used to have a libstdc++.so.7 when you
> compiled libfam.

Hmm.  Just for fun I checked to see what I have on my machine:

$ ldd /usr/pkg/lib/libfam.so.0.0.0
/usr/pkg/lib/libfam.so.0.0.0:
        librpcsvc.so.3 => /usr/lib/librpcsvc.so.3 (0x28154000)
        libstdc++.so.8 => /usr/lib/gcc40/libstdc++.so.8 (0x2815c000)
        libm.so.3 => /usr/lib/libm.so.3 (0x281e3000)
        libc.so.6 => /usr/lib/libc.so.6 (0x2807b000)

In fact, about 80% of the libs in /usr/pkg/lib are linked to
libstdc++.so.8, and the rest to libstdc++.so.7.  All of them
were compiled with gcc3.4.5, *not* gcc4.0, and all within the
month of December.

Any idea how this mixture came about? -- I certainly didn't
do it on purpose.





More information about the Users mailing list