LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   VLC Won't Open (http://www.linuxquestions.org/questions/linux-software-2/vlc-wont-open-553773/)

3rdKey 05-14-2007 10:49 AM

VLC Won't Open
 
I installed the VLC Player via yum (yum install vlc) and it installed all the dependencies as well as the player. There is an icon in the Applications -> Sound and Video menu, however when you click it nothing happens. Any ideas?

I am running FC5 kernel 2.6.20

vxc69 05-14-2007 11:37 AM

Open a terminal and type vlc. If something is wrong there should be some error output on the terminal. Try to figure out what it is or post it here and we'll see what we could do. :)

EDIT: run "vlc -v" for verbose mode.

vxc

3rdKey 05-14-2007 12:06 PM

the output was

Quote:

[root@server ~]# vlc -v
vlc: error while loading shared libraries: /usr/lib/libavutil.so.49: cannot restore segment prot after reloc: Permission denied

vxc69 05-14-2007 01:14 PM

Ok now we are getting somewhere.

Now try doing this:
Code:

chcon -t texrel_shlib_t /usr/lib/libavutil.so.49
Then try running vlc -v from a terminal again. Then if you get another problem "cannot restore segment prot after reloc: Permission denied" following a file do the chcon shown above for that file too.


Tell me if it works.


vxc

3rdKey 05-14-2007 01:19 PM

Thanks a lot man. After doing that for a few files, VLC now works.

So, for future reference/my own knowledge, what exactly did I do?

vxc69 05-14-2007 01:28 PM

Files have a security layer called a context which defines what a particular file is used for. It's just another step to secure linux, like using chown or chmod, I think this was introduced with SELinux.

For more info do "man chcon". ;)

vxc


All times are GMT -5. The time now is 03:47 AM.