[MPlayer-users] configure script patch

Kevin DeKorte kdekorte at yahoo.com
Wed Aug 17 20:57:08 CEST 2005


On Wednesday 17 August 2005 12:16 pm, Reimar Döffinger wrote:
> As a last resort that would be possible, but I don't really like it.
> Can you give me the output of
> ldd mplayer

ldd /usr/bin/mplayer
        libmad.so.0 => /usr/lib/libmad.so.0 (0x425a9000)
        libdv.so.4 => /usr/lib/libdv.so.4 (0x412c3000)
        libtheora.so.0 => /usr/lib/libtheora.so.0 (0x41516000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x42b7f000)
        liblzo.so.1 => /usr/lib/liblzo.so.1 (0x41733000)
        libdivxdecore.so.0 => /usr/lib/libdivxdecore.so.0 (0x41b87000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x4199e000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x41bee000)
        libm.so.6 => /lib/tls/libm.so.6 (0x41146000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x4155e000)
        libz.so.1 => /usr/lib/libz.so.1 (0x41171000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x41466000)
        libasound.so.2 => /lib/libasound.so.2 (0x429df000)
        libdl.so.2 => /lib/libdl.so.2 (0x4116b000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4125c000)
        libfaac.so.0 => /usr/lib/libfaac.so.0 (0x415f4000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x422fb000)
        libtermcap.so.2 => /lib/libtermcap.so.2 (0x412ed000)
        libcdda_interface.so.0 => /usr/lib/libcdda_interface.so.0 (0x41d85000)
        libcdda_paranoia.so.0 => /usr/lib/libcdda_paranoia.so.0 (0x41d99000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x41383000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x42af4000)
        libungif.so.4 => /usr/lib/libungif.so.4 (0x41934000)
        libsmbclient.so.0 => /usr/lib/libsmbclient.so.0 (0x41a38000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x41294000)
        libaa.so.1 => /usr/lib/libaa.so.1 (0x4153d000)
        libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x4161c000)
        libXxf86dga.so.1 => /usr/X11R6/lib/libXxf86dga.so.1 (0x41355000)
        libXv.so.1 => /usr/X11R6/lib/libXv.so.1 (0x41508000)
        libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x4279b000)
        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x41350000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4124c000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41183000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x42142000)
        libartsc.so.0 => /usr/lib/libartsc.so.0 (0x4133a000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x41503000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x42aa6000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x41486000)
        libesd.so.0 => /usr/lib/libesd.so.0 (0x4253b000)
        libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x42ac3000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41379000)
        libc.so.6 => /lib/tls/libc.so.6 (0x4101a000)
        libGL.so.1 => /usr/lib/ati-fglrx/libGL.so.1 (0x417ba000)
        /lib/ld-linux.so.2 (0x41000000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4128a000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x41270000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x42b0c000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x41450000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x4225e000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x421d4000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x4223b000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x42127000)
        libldap-2.2.so.7 => /usr/lib/libldap-2.2.so.7 (0x41d52000)
        liblber-2.2.so.7 => /usr/lib/liblber-2.2.so.7 (0x41d23000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x412fd000)
        libncurses.so.5 => /usr/lib/libncurses.so.5 (0x42b3c000)
        libslang-utf8.so.1 => /usr/lib/libslang-utf8.so.1 (0x41583000)
        libgpm.so.1 => /usr/lib/libgpm.so.1 (0x4150f000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x41d3c000)
        libssl.so.4 => /lib/libssl.so.4 (0x42274000)
        libcrypto.so.4 => /lib/libcrypto.so.4 (0x42367000)

> and
> ldd libGLU.so
> (use the full path to the files in both cases).
> Maybe running ldconfig (as root) will fix it? In that case the libGL.a
> wasn't a problem.

ldd /usr/X11R6/lib/libGLU.so 
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4124c000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41183000)
        libGL.so.1 => /usr/lib/ati-fglrx/libGL.so.1 (0x417ba000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x41383000)
        libm.so.6 => /lib/tls/libm.so.6 (0x41146000)
        libc.so.6 => /lib/tls/libc.so.6 (0x4101a000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41379000)
        libdl.so.2 => /lib/libdl.so.2 (0x4116b000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4125c000)
        /lib/ld-linux.so.2 (0x41000000)

ldd /usr/lib/ati-fglrx/libGL.so.1
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4124c000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41183000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4125c000)
        libdl.so.2 => /lib/libdl.so.2 (0x4116b000)
        libc.so.6 => /lib/tls/libc.so.6 (0x4101a000)
        /lib/ld-linux.so.2 (0x41000000)


I have a simple program that I use to test compiling OpenGL. The ATI drivers 
do not include a libGL.a file. I did these compiles after rerunning ldconfig 
as root.

gcc testgl.c -o testgl -L/usr/X11R6/lib -lXext -lX11 -lGL -lm
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status

gcc testgl.c -o testgl -L/usr/X11R6/lib -L/usr/lib/ati-fglrx -lXext -lX11 -lGL 
-lm
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status

gcc testgl.c -o testgl -L/usr/X11R6/lib -lXext -lX11 -lGLU -lm

ldd testgl
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4124c000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41183000)
        libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x4161c000)
        libm.so.6 => /lib/tls/libm.so.6 (0x41146000)
        libc.so.6 => /lib/tls/libc.so.6 (0x4101a000)
        libGL.so.1 => /usr/lib/ati-fglrx/libGL.so.1 (0x417ba000)
        libdl.so.2 => /lib/libdl.so.2 (0x4116b000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x41383000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41379000)
        /lib/ld-linux.so.2 (0x41000000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4125c000)

I have opened a bug at the unofficial ATI Bugzilla site the source to testgl.c 
is at that site. 

http://ati.cchtml.com/show_bug.cgi?id=158


Kevin
-- 
Get my public GnuPG key from
http://keyserver.veridis.com:11371/export?id=7574690260641978351
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20050817/3bce9546/attachment.pgp>


More information about the MPlayer-users mailing list