LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 08-23-2005, 03:33 AM   #1
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Rep: Reputation: 30
What is the debian way to update Library path?


1) How do I check what is the default library path that is searched?

2) If I have a new library path to be searched (eg. /usr/local/mypackage/lib) do I add this line /usr/local/mypackage/lib into /etc/ld.so.conf and then run ldconfig?

Thanks !
 
Old 08-23-2005, 09:07 AM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
1. echo $PATH
2. possible or add something like:
PATH=$PATH:/new/path
export PATH
to your .bash_profile to do it for a single user
 
  


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
library path Scott7 Debian 1 10-19-2005 07:25 AM
library path variable vrdhananjay Linux - Software 2 09-03-2005 06:31 PM
How do I add library path? scc28y Linux - Newbie 5 03-18-2005 10:56 PM
GD Library path? kinkybullet Linux - Newbie 1 02-11-2004 09:15 PM
Cannot find path for library Baran Linux - Newbie 5 09-03-2003 04:46 AM


All times are GMT -5. The time now is 03:49 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