LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

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

Rep: Reputation: 1
Hacking Eric Hameleers VLC Package


Hi,

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?

TIA,

===Rich

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

Rep: Reputation: 110Reputation: 110
why not use a symlink?
 
Old 11-18-2011, 07:20 AM   #3
rahrah
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.

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

Rep: Reputation: Disabled
Quote:
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.

===Rich
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 (http://slackbuilds.org/repository/13.37/system/chrpath/) can help you there.

Eric
 
  


Reply

Tags
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 03:38 PM
[SOLVED] Question about Eric Hameleers' firewall generator Switch7 Slackware 6 11-26-2009 07:06 AM
An Interview with Eric Hameleers - You should try Slackware! cousinlucky General 2 09-03-2009 02:14 PM
Interview with Eric Hameleers tangle Slackware 1 09-03-2009 09:48 AM


All times are GMT -5. The time now is 12:42 PM.

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