Linux RealServer 11 -- relocation error, undefined symbol

Chris Shenton chris at shenton.org
Fri Jan 6 16:22:29 PST 2006


I've been running RealNetwork's RealServer 9 on FreeBSD-4.x for years
with no problems: stable, secure, fast.  Now my folks want to upgrade
to RealServer 11.  I had to dig around and find some newer Linux
libraries that the existing ports provide, specifically:

  /usr/compat/linux/lib/libgcc_s.so.1
  /usr/compat/linux/usr/lib/libstdc++.so.6

This allows me to install it at least.  When I try to run it, however,
I get this error which I don't understand:

  cshenton at Palimpsest(301> ./Bin/rmserver
  ./Bin/rmserver: relocation error: ./Bin/rmserver: undefined symbol: g_nTLSProcnum 

These are the libraries it's trying to use:

  cshenton at Palimpsest(303> ldd ./Bin/rmserver
  ./Bin/rmserver:
          libdl.so.2 => /lib/libdl.so.2 (0x2838c000)
          libpthread.so.0 => /lib/libpthread.so.0 (0x2838f000)
          libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0094c000)
          libm.so.6 => /lib/libm.so.6 (0x283e0000)
          libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28401000)
          libc.so.6 => /lib/libc.so.6 (0x2840a000)
          /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x28376000)    

A google query indicates that symbol -- in the Helix community
version at least -- is in /cvsroot/server/engine/core/_main.cpp

I don't understand why the binary can't find this symbol since it's
not from an external library which might be out of date.  My guess is
that /lib/ld-linux.so.2 from the Linux emulator isn't working right.

Any suggestions on how I might resolve this?

Many thanks.



More information about the freebsd-ports mailing list