problem when start VLC

*nix specific usage questions
Guest

problem when start VLC

Postby Guest » 05 May 2006 00:19

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

MrExNice1979
Blank Cone
Blank Cone
Posts: 46
Joined: 25 Apr 2006 14:11
Contact:

Postby MrExNice1979 » 05 May 2006 15:59

Hey try to start vlc as a root, or did you work as a root?

Guest

Postby Guest » 06 May 2006 15:52

I tri as root user and as normal user, and continue the same problem.

MrExNice1979
Blank Cone
Blank Cone
Posts: 46
Joined: 25 Apr 2006 14:11
Contact:

try that

Postby MrExNice1979 » 08 May 2006 11:16

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

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 08 May 2006 16:06

chown works the otherway chown <user>[:<group>] <files>
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

SimonGales
Blank Cone
Blank Cone
Posts: 16
Joined: 05 May 2006 00:20
Location: Smyrna, TN

SELinux & VLC

Postby SimonGales » 08 May 2006 18:37

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

Guest

Postby Guest » 13 May 2006 12:51

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. :)


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

Who is online

Users browsing this forum: No registered users and 120 guests