LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-13-2011, 07:19 AM   #1
bonixavier
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 69
Smarter way to make applications aware of libraries installed by seamonkey-solibs


I purchased the games in the latest Humble Bundle and one of the games (trauma) caused me quite some trouble to get it working because it was looking for libraries exclusively in /usr/lib, but they were all present in /usr/lib/seamonkey-2.1b3. I made symlinks to all of them and it worked, but I was wondering if there is a better way to do that.
 
Old 10-13-2011, 07:48 AM   #2
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 221Reputation: 221Reputation: 221
Strangely, as I understand it, it depend on how "smart" the binary is built to be.

What happens when you execute:
Code:
ldd /path/to/binary
Where you, of course, substitute the game's actual binary location where I have put just '/path/to/binary'?
 
Old 10-13-2011, 07:50 AM   #3
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
I would make a simple shellscript and run the program from that, e.g.

Code:
#!/bin/sh
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/seamonkey-2.1b3
./nameofprogram &
 
Old 10-13-2011, 07:53 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The package "mozilla-nss" provides /usr/lib/libnss3.so etc. etc.


http://slackbuilds.org/repository/13...m/mozilla-nss/
 
Old 10-13-2011, 09:46 AM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Uh, just in case...

Your Slackware Seamonkey installation make a symbolic link from /usr/lib/seamonkey-x.x.x to /usr/lib/seamonkey; might want to use that rather than the full path so you don't have to edit the library path every time your get an update, eh?

Hope this helps some.

Last edited by tronayne; 10-13-2011 at 09:48 AM.
 
  


Reply



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
[SOLVED] Rsync: Is it smarter to push, or smarter to pull? bubnoff Linux - Security 6 03-21-2013 02:19 AM
seamonkey-solibs on Slackware-12.2 rhermsen Slackware 4 09-29-2010 03:51 PM
LXer: Does the Internet Make You Smarter? LXer Syndicated Linux News 0 06-06-2010 02:20 AM
how to make firefox aware of java on amd64 kpachopoulos Linux - General 3 11-19-2006 06:46 PM
How to make KDE aware of JAVA Jordan&&&& Linux - Newbie 5 09-20-2006 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration