GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What editor do you use
Goto page Previous  1, 2
 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> General GTK+ Discussion
Author Message
Micah Carrick
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 407
Location: Portland, OR USA

PostPosted: Mon Oct 03, 2005 10:26 pm    Post subject: Reply with quote

Let me be more specific-- and I know this is a simple question but I've only been doin' the Linux thing for about a year.

The libraries have been installed to usr/local/lib however, my system looks to /usr/lib. Other than creating a whole slew of symbolic links, how can I specify either looking in /usr/local/lib OR have the installations put the files in usr/lib?
Back to top
MacSlow
Familiar Face


Joined: 21 Sep 2005
Posts: 17
Location: Aachen, Germany

PostPosted: Tue Oct 04, 2005 12:54 am    Post subject: Reply with quote

You can put...

Code: (Plaintext)
1
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH


in your /etc/bashrc (system-wide) or in your ~/.bashrc (just user-specific). Or just add the line...

Code: (Plaintext)
1
/usr/local/lib


in your /etc/ld.so.conf (system-wide) file. But I'm not sure which of those possibilities gets the "thumbs-up (tm)" from seasoned system-admin folks.

Best regards...

MacSlow
Back to top
fitren



Joined: 11 Dec 2006
Posts: 2
Location: China

PostPosted: Mon Dec 11, 2006 7:47 am    Post subject: Reply with quote

Micah Carrick wrote:
Well, perhaps you can help me out. I've installed Anjuta from source including the libraries, however, when I run it I get...


Code: (Plaintext)
1
anjuta: error while loading shared libraries: libgdl-1.so.0: cannot open shared object file: No such file or directory


I have gdl installed (0.6 from gnome.org) and libgdl-1.so exists in /usr/local/lib/

Any ideas what I'm missing here?


May be you can use yum to install anjuta!!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> General GTK+ Discussion All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP