LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 10-11-2004, 08:37 PM   #1
inescapeableus
Member
 
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Rep: Reputation: 30
Simple Linking Question


Hello i am attempting to install a front-end for my giFT installation. I have have no been able to find a answer to my question. The front-end (giftui) during the configuration is looking for "libgift" I have the libraries installed in "/usr/local/lib" there are all the libraries in which it needs to configure itselfs correclty. I have no idea on what command line to use to tell "giftui" to look there for the libraries. Please if you can help me on this do so. Thanks for all the help. Cheers.
 
Old 10-11-2004, 08:43 PM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Edit /etc/ld.so.conf and add the path /usr/local/lib. Next, run 'ldconfig' to refresh the changes to /etc/ld.so.conf, and finally retry your compile.
 
Old 10-11-2004, 09:06 PM   #3
inescapeableus
Member
 
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Original Poster
Rep: Reputation: 30
I edited the config file and made the required changes, I then ldconfig and that worked, I then ran the configure again and I get the following


configure: error: Library requirements (libgift >= 0.10.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

any further advice?
 
Old 10-11-2004, 10:37 PM   #4
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Before the compile, try using:

export CPPFLAGS="-I/usr/local/include"
export LDFLAGS="-L/usr/local/lib"

Make sure any shared library (libgift*.so) files exist in /usr/local/lib and any header (*.h) files exist in /usr/local/include.

Good luck!
 
Old 10-11-2004, 10:40 PM   #5
inescapeableus
Member
 
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Original Poster
Rep: Reputation: 30
not to walk into this blindly, are you able to tell me what those commands do? I just want to know in case i have to walk into this kind of situation again. Thanks for your speedy help!
 
Old 10-12-2004, 12:07 AM   #6
inescapeableus
Member
 
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Original Poster
Rep: Reputation: 30
Welll I just did that now I get the following:

checking for C compiler default output file name... configure: error: C compiler cannot create executables

any help?
 
  


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
Ubuntu Fluxbox simple question, simple answer? generallimptoes Linux - Software 3 09-26-2005 02:03 PM
(linking?) problem compiling very simple array class btb Programming 3 08-02-2005 03:16 PM
simple bash scripts and linking to them kylenewton Programming 4 07-21-2005 10:15 PM
a simple dynamic linking program kris273 Programming 3 04-18-2004 06:26 AM
Installing Programs - A simple question from my simple mind jmp875 Linux - Newbie 6 02-18-2004 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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