Page 1 of 1

vlc load error from svn build

Posted: 09 Oct 2007 18:53
by tomm7
i compiled vlc from svn but when i run it, i get the error below have i missed something in the compile or is this an svn thing?
vlc: error while loading shared libraries: libvlc.so.1: cannot open shared object file: No such file or directory

Re: vlc load error from svn build

Posted: 10 Oct 2007 11:15
by funman
where do you run it ?

is it installed, or in the build tree ?

Re: vlc load error from svn build

Posted: 15 Feb 2008 21:47
by tjenkins
Got the same problem today with 0.9.0 trunk.

When I run it from the build tree everything is ok but if I try to run it otherwise (installed it previously) I get that same error although the lib is properly installed.

[root@localhost vlc-trunk]# vlc
vlc: error while loading shared libraries: libvlc.so.1: cannot open shared object file: No such file or directory
[root@localhost vlc-trunk]# locate libvlc.so.1
/root/Desktop/vlc-trunk/src/.libs/libvlc.so.1
/root/Desktop/vlc-trunk/src/.libs/libvlc.so.1.0.0
/usr/local/lib/libvlc.so.1
/usr/local/lib/libvlc.so.1.0.0

as opposed to

[root@localhost vlc-trunk]# ./vlc
***************************************************
*** glibc version with broken libintl detected. ***
*** Messages localization will be disabled. ***
***************************************************
VLC media player 0.9.0-svn Grishenko

Re: vlc load error from svn build

Posted: 16 Feb 2008 00:44
by tjenkins
Any ideas please?

Re: vlc load error from svn build

Posted: 16 Feb 2008 11:04
by RĂ©mi Denis-Courmont
Yeah, don't compile as root, and don't run as root either.

Anyway,

Code: Select all

LD_LIBRARY_PATH=/usr/local/lib vlc
if you did not install libvlc.so to a standard libary path.