SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 ?
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)
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.
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 ?
Last edited by phoeniXflame; 02-14-2003 at 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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.