Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jan 2006 19:22:26 -0500
From:      Chris Shenton <chris@shenton.org>
To:        ports@freebsd.org, freebsd-emulation@freebsd.org
Subject:   Linux RealServer 11 -- relocation error, undefined symbol
Message-ID:  <86fyo0opj1.fsf@PECTOPAH.shenton.org>

next in thread | raw e-mail | index | archive | help
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@Palimpsest(301> ./Bin/rmserver
  ./Bin/rmserver: relocation error: ./Bin/rmserver: undefined symbol: g_nTLSProcnum 

These are the libraries it's trying to use:

  cshenton@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86fyo0opj1.fsf>