LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2003, 08:46 AM   #1
JJanney
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
LD_LIBRARY_PATH Question


Hi, I am having a few problems installing some software on my Linux virtual machine. I recieved the following advice from the author of the software:

Quote:
The libshift.so problem seems to be fairly common. The Anaphe people
recommend copying this library from:

<<Removed URL due to Registration restrictions>>

Then you've to store it somewhere and include the directory where you
store it in your load library path (NOT your normal path !):

LD_LIBRARY_PATH
When I try to execute the program, it claims that the library libshift.so is cannot be found or shared. I put the library in my /usr/local/lib directory, but no dice. I did also set the library to share on User and Group.

I just got this e-mail this morning, but I do not know how to use the LD_LIBRARY_PATH command. I would appreciate any help.

Oh, I am running Redhat 9 on VMWare 3.x

Thanks!

 
Old 11-17-2003, 10:16 AM   #2
BSlack
Member
 
Registered: Nov 2003
Location: Italy: 44 42' N - 12 11' E
Distribution: Slackware, what else?!!
Posts: 63

Rep: Reputation: 15
Quote:
I do not know how to use the LD_LIBRARY_PATH command
LD_LIBRARY_PATH isn't a command, it's a shell environment variable.
It's a colon-separated list of directories where executables look for shared libraries.
You need to add the directory where you store (downloaded) libshift.so to it.
The syntax depends on the shell you are using:

* bash, sh, ksh

export LD_LIBRARY_PATH=path_to_your_library:${LD_LIBRARY_PATH}

* csh, tcsh

setenv LD_LIBRARY_PATH path_to_your_library:${LD_LIBRARY_PATH}

where path_to_your_library is, for example, /usr/local/foo/lib .

To make permanent this change you have to modify the shell startup files.

Sorry for my english.
 
  


Reply


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
Ld_library_path fng_#1 Linux - Software 4 09-19-2004 11:33 PM
???? Ld_library_path ???? g452 Linux - Software 9 08-26-2004 03:00 PM
Ld_library_path barrys Mandriva 2 06-15-2004 12:19 PM
where is LD_LIBRARY_PATH Ninja_212 Slackware 4 10-07-2003 10:41 PM
Ld_library_path ? dahmad Linux - Newbie 5 02-21-2003 11:08 PM


All times are GMT -5. The time now is 07:20 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration