LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-12-2006, 05:01 AM   #1
lucky6969b
Member
 
Registered: Nov 2005
Posts: 337

Rep: Reputation: 30
don't want to use LD_LIBRARY_PATH repeatedly


Currently relying on export LD_LIBRARY_PATH
don't want to do that everytime I start a session
Any way that I can fix that at system startup
also how do I set this variable in KDevelop
Any help would be greatly appreciated!
Thanks
Jack
 
Old 04-12-2006, 06:12 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Add "export LD_LIBRARY_PATH=something" (without quotes) into /etc/profile.
 
Old 04-12-2006, 11:34 AM   #3
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Please look at this thread:
http://www.linuxquestions.org/questi...d.php?t=408083

or this link:
http://www.tldp.org/HOWTO/Program-Li...libraries.html

In particular (if the "session" you're referring happens to be KDevelop itself):
Quote:
Put the path into /etc/ld.so.conf and after this run ldconfig.
Otherwise, if the problem is with an executable you're developing, then you might wish to try:
Quote:
-Wl,-rpath,$(DEFAULT_LIB_INSTALL_PATH)
Cheers!

Last edited by paulsm4; 04-12-2006 at 11:37 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
10.1, server crashing repeatedly wheel Mandriva 1 04-04-2006 03:39 PM
System repeatedly reboot... richard617 Fedora 2 10-11-2005 10:27 AM
X server repeatedly crashes Draylath Linux - Newbie 2 07-17-2004 03:17 AM
Repeatedly checking for input kamransoomro84 Programming 16 05-26-2004 03:29 PM
Login repeatedly ! juby LQ Suggestions & Feedback 2 05-17-2003 02:39 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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