vlc load error from svn build

*nix specific usage questions
tomm7
New Cone
New Cone
Posts: 1
Joined: 09 Oct 2007 18:47

vlc load error from svn build

Postby tomm7 » 09 Oct 2007 18:53

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

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: vlc load error from svn build

Postby funman » 10 Oct 2007 11:15

where do you run it ?

is it installed, or in the build tree ?

tjenkins
Blank Cone
Blank Cone
Posts: 20
Joined: 30 Jan 2008 16:27

Re: vlc load error from svn build

Postby tjenkins » 15 Feb 2008 21:47

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

tjenkins
Blank Cone
Blank Cone
Posts: 20
Joined: 30 Jan 2008 16:27

Re: vlc load error from svn build

Postby tjenkins » 16 Feb 2008 00:44

Any ideas please?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: vlc load error from svn build

Postby Rémi Denis-Courmont » 16 Feb 2008 11:04

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests