michael.knoll at gmail.com
Mon Mar 27 20:29:50 UTC 2006
Sorry, it's looking for .so.4, not .so.5, I flipped them. It's a
relatively fresh install, less than a month old. It's 6.0-RELEASE,
with compat5x installed. Here's some terminal output that might help:
[X at Y ~]$ rar
/libexec/ld-elf.so.1: Shared object "libstdc++.so.4" not found,
required by "rar"
[X at Y ~]$ ls -l /usr/lib/libstd*
-r--r--r-- 1 root wheel 1584376 Nov 3 03:10 /usr/lib/libstdc++.a
lrwxrwxrwx 1 root wheel 14 Mar 8 22:34 /usr/lib/libstdc++.so
-r--r--r-- 1 root wheel 803128 Nov 3 03:10 /usr/lib/libstdc++.so.5
[X at Y ~]$ uname -a
FreeBSD Y 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sun Mar 12 14:38:33 EST
2006 root at Y:/usr/src/sys/i386/compile/Y i386
[X at Y ~]$ pkg_info |grep compat
compat5x-i386-18.104.22.168_5 A convenience package to install the compat5x libraries
ldconfig_compat-1.0_6 Ldconfig compatibility script
[X at Y ~]$
On 3/27/06, Kris Kennaway <kris at obsecurity.org> wrote:
> On Mon, Mar 27, 2006 at 11:43:50PM +0400, Andrey Chernov wrote:
> > On Mon, Mar 27, 2006 at 02:31:02PM -0500, Michael Knoll wrote:
> > > I tried building the rar-3.51,1 port under 6.0-RELEASE with a recently
> > > updated ports tree. It installed without error, but when trying to
> > > run the tool, I get an error that I need libstdc++.so.5. I suspect
> > > this library should be made a dependancy for the port.
> > >
> > > But, I tried to install the glibstdc++ port, but it was flagged as
> > > broken. I also found a libstdc++.so.4, which I added a sym link to.
> > > After which, rar complained it needed a libm library, which was too
> > > vague of a name for me to determine what to install.
> > >
> > > Does anyone know how to get RAR installed?
> > You miss compat5x port.
> No, libstdc++.so.5 is part of FreeBSD 6.0.
> It looks like he's really running FreeBSD 5.x and not 6.0.
More information about the freebsd-ports