LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-14-2003, 01:19 PM   #1
phoeniXflame
Member
 
Registered: Feb 2003
Location: Somewhere, UK
Distribution: Slack, OpenBSD, Debian, SuSE
Posts: 189

Rep: Reputation: 30
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 ?
 
Old 02-14-2003, 01:28 PM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
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)
 
Old 02-14-2003, 01:37 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
Old 02-14-2003, 02:12 PM   #4
phoeniXflame
Member
 
Registered: Feb 2003
Location: Somewhere, UK
Distribution: Slack, OpenBSD, Debian, SuSE
Posts: 189

Original Poster
Rep: Reputation: 30
Unhappy

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 ?

Last edited by phoeniXflame; 02-14-2003 at 02:17 PM.
 
Old 02-14-2003, 02:17 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 09:12 AM
No sound in mplayer or mplayer firefox plugin case1984 Linux - Newbie 1 01-21-2005 01:58 AM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 11:44 AM
More mplayer issues...no /.mplayer folder?! lt1derful Linux - Software 3 08-03-2003 10:09 PM
mplayer is cool ... mplayer plug-in is even cooler..! linuxlah Linux - General 4 07-16-2003 11:55 PM


All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration