Date: Sun, 12 Mar 2000 13:06:53 -0600 (CST) From: Craig Johnston <caj@lfn.org> To: Gunnar Flygt <flygt@sr.se> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.org> Subject: Re: making linux java app work under freebsd Message-ID: <Pine.GSO.3.96.1000312130306.27017B-100000@jane.lfn.org> In-Reply-To: <20000312114135.A10898@sr.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 12 Mar 2000, Gunnar Flygt wrote:
> On Sun, Mar 12, 2000 at 01:33:59AM -0600, Craig Johnston wrote:
> >
> > Ok, here is the scoop. We've got a Linux version of RealProducer, which
> > we need to use to splice together realaudio files. If I can't make it work
> > under FreeBSD we gotta switch to a Linux box. (boo, hiss.)
> >
> > uname -a says:
> > FreeBSD jam.xxx.com 3.2-STABLE FreeBSD 3.2-STABLE #0: Fri Jul 23 00:44:51 CDT 1999 caj@jam.xxx.com:/usr/src/sys/compile/JAM i386
> >
> > When I try to run the Linux binary it complains thusly:
> > /usr/local/rprod/bin/RealProducer: error in loading shared libraries: /usr/local/rprod/lib/i686/green_threads/libjava.so: undefined symbol: _dl_symbol_value
>
> Have you got a /usr/local/rprod/lib directory? In that case see to that
> you point to it in the /compat/linux/etc/ld.so.conf file and also run
> /compat/linux/sbin/ldconfig and then try again!
The libraries appear to be being found just fine, according to 'ldd':
(I did implement your suggestion, but it made no difference. LD_LIBRARY_PATH
was already set.)
# ldd RealProducer
RealProducer:
/lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x28157000)
libjava.so => /usr/local/rprod/lib/i686/green_threads/libjava.so (0x2815a000)
libm.so.6 => /lib/libm.so.6 (0x281c7000)
libdl.so.2 => /lib/libdl.so.2 (0x281e3000)
libawt.so => /usr/local/rprod/lib/i686/green_threads/libawt.so (0x281e6000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x2822c000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28239000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28286000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x2829d000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x282a6000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x282b2000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28356000)
libc.so.6 => /lib/libc.so.6 (0x2835d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x28144000)
So what's wrong here?
thanks,
Craig
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.1000312130306.27017B-100000>
