Date: Tue, 6 Jan 2004 12:22:23 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Gary Kline <kline@thought.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: libxmms.so troubles with building mplayer. Message-ID: <20040106122223.GA14422@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040106020817.GA60945@tao.thought.org> References: <20040106020817.GA60945@tao.thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 05, 2004 at 06:08:17PM -0800, Gary Kline wrote: =20 > For reasons I haven't sorted out, player is looking for > /usr/local/lib/libxmms.so, while the library xmms.so[.4] > is in the X11R6 tree. So mplayer quits. When I turn off > WITH_XMMS, mplayer dies elsewhere. Hmmm... It works fine for me, and finds the right libxmms.so: % ldd /usr/local/bin/mplayer | grep -i xmms libxmms.so.4 =3D> /usr/X11R6/lib/libxmms.so.4 (0x2847e000) I think that mplayer should be able to find libxmms.so in /usr/X11R6/lib without having to use any special linker flags. The fact that it can't suggests that either when you're compiling mplayer you are somehow overriding the linker flags in a counter-productive way, or that the ld-elf.so dynamic loader configuration is screwed up. Do you have anything in your environment that could affect either the compilation stage -- eg. LDFLAGS, CFLAGS, CC or any environment variables that could affect the dynamic loader -- eg LD_LIBRARY_PATH, LD_PRELOAD (see rtld(1) for more)? Have you installed the libmap.conf patch from http://people.FreeBSD.org/~nork/libmap_4stable.diff , as the www/linuxpluginwrapper port needs you to do under 4.x? If so, what's the contents of your /etc/libmap.conf? What do you get from running 'ldconfig -r' -- particularly the second line or so where it shows what directories it will search for shared libraries? Should be something like: % ldconfig -r | head -2 /var/run/ld-elf.so.hints: search directories: /usr/lib:/usr/lib/compat:/usr/X11R6/lib:/us= r/local/lib:/usr/local/lib/mysql:/usr/local/lib/compat/pkg:/usr/local/lib/p= th:/usr/local/lib/mplayer/vidix and it should have a line for libxmms something like this: 160:-lxmms.4 =3D> /usr/X11R6/lib/libxmms.so.4 (The number 160 will be different on your system: it just means that information about libxmms.so.4 is stored in element 160 of an array internal to ld-elf.so) Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE/+qh/dtESqEQa7a0RAnUjAJsEc2DZj7iXLoIap7/Ea/juoXGrcQCgiIev 3saZYJWKjf1t4jIAJLuTaKc= =UjXp -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040106122223.GA14422>