LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   MPlayer (https://www.linuxquestions.org/questions/slackware-14/mplayer-45387/)

phoeniXflame 02-14-2003 12:19 PM

MPlayer
 
Still having fun with slack :) but, I've run into a few problems when trying to play video files using any of the programs which I have installed from the slack-iso so I am now trying to install MPlayer which I was told was the best for this, only problem is I get an error when trying to execute the binary /usr/bin/mplayer ...

Code:

/usr/bin/mplayer: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /usr/lib/libSDL-1.2.so.0)
this is actually the last in a long line of errors I've had when trying to run the program, I have managed to get rid of the rest by installing the updated library versions but just cannot seem to sort this error out (even though I have installed the latest version of GLIBC, I think ;)), I have a funny feeling the install may have been a bit funked up because of the mixed way I did it (using rpm2tgz for RPM's not complied on a slack machine etc. :O) anyone managed to get MPlayer running ?

tcaptain 02-14-2003 12:28 PM

I've gotten it to run on Mdk 9.0 but I still have performance problems with DVD playback.

However, the biggest advice I can give you is to compile it yourself...it was easier than I thought it would be and a BIG performance improvement over using the RPMS (which I uninstalled)

acid_kewpie 02-14-2003 12:37 PM

you'd be a LOT LOT LOT better off just compiling it natively, the problem you've got seems to actually come from SDL (a seperate graphics library) and not mplayer itself. install from tar.gz and the world will love you.

phoeniXflame 02-14-2003 01:12 PM

heh :)

well I am now trying to compile it from source, but I'm getting the following error when trying to configure ....

Code:

...
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ...
Error: Lib pthread not found (needed by Windows and networking stuff).

Check "configure.log" if you do not understand why it failed.

An heres what configure.log has to say about it ...

Code:

============ Checking for pthread ============

#include <pthread.h>
void* func(void *arg) { return arg; }
int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }

gcc    /tmp/mplayer-conf-25918-16875.c -o /tmp/mplayer-conf-23375-16875.o
In file included from /tmp/mplayer-conf-25918-16875.c:1:
/usr/include/pthread.h:163: parse error before "__thread"
/usr/include/pthread.h:165: `pthread_create' declared as function returning a function
/usr/include/pthread.h:166: parse error before "void"
/usr/include/pthread.h:591: storage class specified for parameter `type name'
In file included from /usr/include/pthread.h:655,
                from /tmp/mplayer-conf-25918-16875.c:1:
/usr/include/bits/sigthread.h:36: storage class specified for parameter `type name'

ldd /tmp/mplayer-conf-23375-16875.o
ldd: /tmp/mplayer-conf-23375-16875.o: No such file or directory


#include <pthread.h>
void* func(void *arg) { return arg; }
int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }

gcc    /tmp/mplayer-conf-25918-16875.c -o /tmp/mplayer-conf-23375-16875.o -lpthread
In file included from /tmp/mplayer-conf-25918-16875.c:1:
/usr/include/pthread.h:163: parse error before "__thread"
/usr/include/pthread.h:165: `pthread_create' declared as function returning a function
/usr/include/pthread.h:166: parse error before "void"
/usr/include/pthread.h:591: storage class specified for parameter `type name'
In file included from /usr/include/pthread.h:655,
                from /tmp/mplayer-conf-25918-16875.c:1:
/usr/include/bits/sigthread.h:36: storage class specified for parameter `type name'

ldd /tmp/mplayer-conf-23375-16875.o
ldd: /tmp/mplayer-conf-23375-16875.o: No such file or directory

#

not entirly sure what the problem is here :| I do seem to have a copy of the pthread.h at /usr/include, any ideas ? :cry:

acid_kewpie 02-14-2003 01:17 PM

well sort out pthread...... this is part of thread glibc package generally. but then looking at it that is what the problem was related to in the first message. maybe there's something up with your GNU C library. worth upgrading it and checking you have the glibc developemnt headers and such installed though (however slack deals with that side of things)


All times are GMT -5. The time now is 02:34 PM.