FBSD4: Linux Real server can't find libstdc++.so.6

Chris Shenton chris at shenton.org
Thu Dec 15 12:19:50 PST 2005

I've been running Real's streaming server on a FreeBSD-4.x box at a .gov
site for a number of years quite happily.  Now they want to upgrade
from RealServer8 and RealServer9 to RealServer11.  When I try to
unpack the installer, it fails trying to find a c++ library I don't have:

  cshenton at Palimpsest(269> sudo ./helix-server-retail-11.01-rhel4-setup.bin 
  ./helix-server-retail-11.01-rhel4-setup.bin: error while loading
  shared libraries: libstdc++.so.6: cannot open shared object file:
  No such file or directory

  cshenton at Palimpsest(270> ldd helix-server-retail-11.01-rhel4-setup.bin 
          libstdc++.so.6 => not found
          libm.so.6 => /lib/libm.so.6 (0x28068000)
          libgcc_s.so.1 => not found
          libc.so.6 => /lib/libc.so.6 (0x28089000)
          /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x28051000)

I'm not too clueful on how the Linux emulation works, but couldn't
seem to find anything in /usr/ports/emulators/linux-* which indicated
it would provide "libstdc++.so.6".  

In my existing /compat/linus/usr/lib I have the following libstdc++ files:

  -r-xr-xr-x 1 root  wheel  1144368 Apr  2  2001 libstdc++-2-libc6.1-1-2.9.0.so
  lrwxrwxrwx 1 root  wheel       30 Jun 19  2003 libstdc++-libc6.1-1.so.2 -> libstdc++-2-libc6.1-1-2.9.0.so
  lrwxrwxrwx 1 root  wheel       20 Jun 19  2003 libstdc++.so.2.7.2 -> libstdc++.so.
  -rwxr-xr-x 1 root  wheel  1025339 Apr  2  2001 libstdc++.so.
  lrwxrwxrwx 1 root  wheel       18 Jun 19  2003 libstdc++.so.2.8 -> libstdc++.so.2.8.0
  -rwxr-xr-x 1 root  wheel   375773 Apr  2  2001 libstdc++.so.2.8.0
  lrwxrwxrwx 1 root  wheel       22 Jun 19  2003 libstdc++.so.2.9 -> libstdc++.so.2.9.dummy
  -rwxr-xr-x 1 root  wheel     5428 Apr  2  2001 libstdc++.so.2.9.dummy
Could someone clue me in on how to get the libstdc++.so.6 and other
files I might need to run Linux binaries for this binary, which
appears to be for RedHat Enterprise Linux?

I've done a bunch of googling but haven't turned anything up that
seems right.


More information about the freebsd-ports mailing list