LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem installing divx4linux (https://www.linuxquestions.org/questions/linux-newbie-8/problem-installing-divx4linux-176247/)

merlinsenger 04-30-2004 03:57 AM

Problem installing divx4linux
 
Hi,

I am quiet new to linux and I hadsome trouble installing the MPlayer (and some codecs) on my Fedora Core 2 Test 2 system. By the way MPlayer Version is "MPlayer-1.0pre4".

The install script of divx4linux copies the files but when calling ldconfig the following messages occur:

Code:

[root@localhost divx4linux-20030428]# ./install.sh
/sbin/ldconfig: Input file /usr/local/lib/libdivxdecore.so not found.
/sbin/ldconfig: Input file /usr/local/lib/libxvidcore.so.4.0 not found.
/sbin/ldconfig: Input file /usr/local/lib/libdivxencore.so not found.
/sbin/ldconfig: Input file /usr/local/lib/libdha.so.0.1 not found.
/sbin/ldconfig: Input file /usr/local/lib/libmp3lame.so.0.0.0 not found.

This is a little strange because those files exist!

Code:

[root@localhost divx4linux-20030428]# ls /usr/local/lib
libdha.so.0.1    libmp3lame.a  libmp3lame.so.0.0.0  mplayer
libdivxdecore.so  libmp3lame.la  libxvidcore.a        netscape
libdivxencore.so  libmp3lame.so  libxvidcore.so.4.0

I compiled the MPlayer anyway (configure, make, make install). When startig it it tells me:

Code:

[root@localhost merlin]# mplayer
mplayer: error while loading shared libraries:
libdivxdecore.so.0: cannot open shared object file:
No such file or directory


Any hints are very apreciated!

Hangdog42 04-30-2004 07:16 AM

This is just a guess, but are the files in /usr/local/lib actually files or links? A quick ls -l should tell you.

merlinsenger 05-01-2004 05:23 AM

Hi Hangdog,

"ls" tells me:

Code:

[merlin@localhost merlin]$ ls -l /usr/local/lib
insgesamt 3176
-rwxr-xr-x  1 root root 224316 29. Apr 20:52 libdha.so.0.1
-rwxr-xr-x  1 root root 402584 30. Apr 10:50 libdivxdecore.so
-rwxr-xr-x  1 root root 865336 30. Apr 10:50 libdivxencore.so
-rw-r--r--  1 root root 372578 29. Apr 19:33 libmp3lame.a
-rwxr-xr-x  1 root root    804 29. Apr 19:33 libmp3lame.la
lrwxrwxrwx  1 root root    19 29. Apr 19:33 libmp3lame.so -> libmp3lame.so.0.0. 0
-rwxr-xr-x  1 root root 337127 29. Apr 19:33 libmp3lame.so.0.0.0
-rwxr-xr-x  1 root root 502688 29. Apr 21:42 libxvidcore.a
-rwxr-xr-x  1 root root 450510 29. Apr 21:42 libxvidcore.so.4.0
drwxr-xr-x  3 root root  4096 29. Apr 20:57 mplayer
drwxr-xr-x  2 root root  4096 29. Apr 19:49 netscape

Seems to me that there is only one link (to an existig file), right? As I said I am really quiet new to linux...

Hangdog42 05-01-2004 01:49 PM

Hm. OK, how are you logged in when you run install.sh? Do you log in as root or do you log in as a normal user and then use su to be root? The reason I'm asking is if you use su, there can sometimes be a difference in behavior between su and su -

I usually use su - since I think that read's root's PATH and su doesn't.


The other thing to check is that the /usr/local/lib is in your /etc/ld.so.conf file.


All times are GMT -5. The time now is 01:23 PM.