Page 1 of 1

problem when start VLC

Posted: 05 May 2006 00:19
by Guest
In a terminal, i write VLC, and when it start, the terminal says:

"vlc: error while loading shared libraries: /usr/lib/libavutil.so.49: cannot restore segment prot after reloc: Permission denied"

I alrready install all dependencies of VLC. anywhone have an idea? I runing Fedora Core 5 thanks

Posted: 05 May 2006 15:59
by MrExNice1979
Hey try to start vlc as a root, or did you work as a root?

Posted: 06 May 2006 15:52
by Guest
I tri as root user and as normal user, and continue the same problem.

try that

Posted: 08 May 2006 11:16
by MrExNice1979
try that first,
write in shell as a root

chown /usr/lib/libavutil.so.49 yourname

with your username on yourname,
then start vlc again

Posted: 08 May 2006 16:06
by dionoea
chown works the otherway chown <user>[:<group>] <files>

SELinux & VLC

Posted: 08 May 2006 18:37
by SimonGales
Smells like SELinux is messing with you.

I googled & found:

Code: Select all

Newer Linux distributions have enabled new kernel security extensions from the SELinux project at the NSA. These extensions allow finer-grained control over system security. However, SELinux also changes some default system behaviors, such as shared library loading, that can be problematic to third party programs. If you receive the error message "cannot restore segment prot after reloc: Permission denied" when launching IDL, then your SELinux configuration is preventing IDL from launching. To rectify this issue, you can either: * Change the default security context for IDL by issuing the command: chcon -t texrel_shlib_t /usr/local/rsi/idl_6.1/bin/bin.linux.x86/*.so * Disabling SELinux altogether by setting the line SELINUX=disabled in your /etc/sysconfig/selinux file. For more information about SELinux, please consult your Linux distribution vendor.
Ignore the references to IDL, this was found on a different products website.

So login as root, chcon your shared libraries, and see if that helps.

-Simon

Posted: 13 May 2006 12:51
by Guest
hello again. My VLC already works. i go to http://easylinux.info and get it the fedora frog script. the vlc can install witch this script. :)