LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-20-2005, 02:11 AM   #1
hongxing
Member
 
Registered: Oct 2005
Posts: 73

Rep: Reputation: 15
how to set my so path?


I programed and generated a so file and put it in /mydata/lib
when I run my app, it says that it can not find that so file.

I know there is a way to copy the so file to /lib to solve this problem.
is there solutions that can use so file in /mydata/lib
 
Old 10-20-2005, 02:23 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,121

Rep: Reputation: 121Reputation: 121
Add the path in your /etc/ld.so.conf file or create symlinks from your /usr/lib directories to the so file in your mydata directory.

If you add it to your ld.so.conf file, rerun ldconfig to update.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set the path systemwide/Set the path for a user with Slackware jayhel Slackware 1 06-12-2005 12:24 AM
9.1 set $PATH seingoku Slackware 6 02-06-2004 03:12 PM
How to set PATH How do I set PATH environment variable? Tranquil Linux - Newbie 3 11-02-2003 02:52 AM
$PATH!? how to set these PATH(s)!? sirpelidor Red Hat 5 10-25-2003 04:00 PM
WHERE should you set PATH? Ethan Linux - General 3 09-20-2002 12:35 PM


All times are GMT -5. The time now is 12:31 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
Open Source Consulting | Domain Registration