You are not logged in.

#1 2010-07-25 23:35:29

yjcong
Member
Registered: 2009-07-06
Posts: 59

a problem with mplayer-31774

hello,

The "mplayer-31774" was installed by "pacman -Syu". Then "mplayer   abcd.mp3" gives

mplayer: error while loading shared libraries: libx264.so.104: cannot open shared object file: No such file or directory

is this a error in "mplayer-31774" or is something wrong in my system?

yjc

Offline

#2 2010-07-25 23:36:39

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,398
Website

Re: a problem with mplayer-31774

Fully update your system.

Offline

#3 2010-07-26 00:13:45

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: a problem with mplayer-31774

yjcong wrote:

hello,

The "mplayer-31774" was installed by "pacman -Syu". Then "mplayer   abcd.mp3" gives

mplayer: error while loading shared libraries: libx264.so.104: cannot open shared object file: No such file or directory

is this a error in "mplayer-31774" or is something wrong in my system?

yjc

be sure that your x264 package is really called like that and not one from aur


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2010-07-26 08:34:08

fabertawe
Member
From: Lloegr
Registered: 2009-11-24
Posts: 279

Re: a problem with mplayer-31774

Similar problem. I had to

ln -s libx264.so.104 libx264.so.98

Last edited by fabertawe (2010-07-26 08:34:46)


Ryzen 9 5950X, X570S Aorus Pro AX, RX 6600, Arch x86_64

Offline

#5 2010-07-26 08:38:39

yjcong
Member
Registered: 2009-07-06
Posts: 59

Re: a problem with mplayer-31774

thanks for replies. it seems there is something wrong in my system. i will find out the resason later.

Offline

#6 2010-07-26 08:40:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: a problem with mplayer-31774

fabertawe wrote:

Similar problem. I had to

ln -s libx264.so.104 libx264.so.98

Oh-oh. That's not the right way of fixing things. Something went wrong and you want to know what and why. Symlinking is a quick'n'dirty way that often works but equally often leaves things dangling after a while.

Offline

#7 2010-07-26 08:41:39

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: a problem with mplayer-31774

fabertawe wrote:

Similar problem. I had to

ln -s libx264.so.104 libx264.so.98

please don't do that again. don't suggest that crappy fix ever.

the best solution is to see what x264 or mplayer or whatever you have.

pacman -Qs x264
pacman -Qs mplayer

note the name. if is x264-git then you should remove it and install the one from extra

if the name is x264, then you should fully update your system.

same applies for mplayer or others packages or recompile them against new x264.

BUT NEVER DO SYMLINKS

Last edited by wonder (2010-07-26 08:45:46)


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2010-07-26 08:44:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: a problem with mplayer-31774

Allan wrote:

Fully update your system.

Updating your system means also updating any AUR packages you may have.

Offline

#9 2010-07-26 09:30:00

fabertawe
Member
From: Lloegr
Registered: 2009-11-24
Posts: 279

Re: a problem with mplayer-31774

wonder wrote:

please don't do that again. don't suggest that crappy fix ever.

I'm sorry, I wasn't suggesting anyone use it, I just meant to state what I did - my choice, we're supposed to know what we're doing when we use Arch after all! I needed the functionality urgently.

And you're right, for some reason I've got the wrong x264, so please accept my apologies, point taken, it won't happen again.

Edit: I'm going bonkers... mplayer and x264 are both the official packages, so I'll need to check my mirrors.

Last edited by fabertawe (2010-07-26 09:35:48)


Ryzen 9 5950X, X570S Aorus Pro AX, RX 6600, Arch x86_64

Offline

#10 2010-07-26 11:01:11

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: a problem with mplayer-31774

The answers could be more helpful...

yjcong wrote:

mplayer: error while loading shared libraries: libx264.so.104: cannot open shared object file: No such file or directory
is this a error in "mplayer-31774" or is something wrong in my system?

This message means that mplayer was linked against a libx264 that is not present on your system.
This can has two causes:
a) You have installed a x264 yourself which does not match the version in the repos.
b) You use a mirror on which either mplayer or x264 is not up to date.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

Board footer

Powered by FluxBB