Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-16-2011, 07:36 PM   #1
LQ Newbie
Registered: Jun 2008
Posts: 7

Rep: Reputation: 1
Hacking Eric Hameleers VLC Package


I've just tried to install Eric Hameleers great vlc binaries (x86_64) in /usr/local rather than /usr. Changing the paths in a few scripts seems to get the package to work, but I get issues with lua loading. VLC couldn't find the lua rc script, and was looking in /usr/lib64 rather than /usr/local/lib64 for lib64/vlc/lua/meta/reader. Are paths
hard coded in the binaries, or should am I missing a trick somewhere?



PS Please don't ask why I've moved it this way.
Old 11-16-2011, 10:47 PM   #2
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Rep: Reputation: 112Reputation: 112
why not use a symlink?
Old 11-18-2011, 08:20 AM   #3
LQ Newbie
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 1
Symlinks would help, but I cannot write to anything but /usr/local.
Just wondered if paths are hard coded into the bins.

Old 11-18-2011, 10:55 AM   #4
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,851

Rep: Reputation: Disabled
Originally Posted by rahrah View Post
Symlinks would help, but I cannot write to anything but /usr/local.
Just wondered if paths are hard coded into the bins.

Packages in Slackware are not relocatable. You can not just unpack these binaries to /usr/local and expect them to work. The library's RPATH is set to /usr/lib (or /usr/lib64 for x86_64 architecture).
There are tricks to change that but it requires you to modify all the binaries manually. A program like chrpath ( can help you there.



path, vlc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interview with Eric Hameleers: Why You Should Try Slackware Bruce Hill Slackware 33 06-12-2010 04:38 PM
[SOLVED] Question about Eric Hameleers' firewall generator Switch7 Slackware 6 11-26-2009 08:06 AM
An Interview with Eric Hameleers - You should try Slackware! cousinlucky General 2 09-03-2009 03:14 PM
Interview with Eric Hameleers tangle Slackware 1 09-03-2009 10:48 AM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration