By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,903 Members | 2,097 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,903 IT Pros & Developers. It's quick & easy.

library installation

P: n/a
Hi all,

I use Linux and the gnu g++ compiler. I'm trying to work with a
library but compilation fails that the header files couldn't be
located. I installed the library under the /usr/local directory.
Then I moved the library directory to /usr/include and I had no
problems with the header files but then I had linking problems. hmmm
=/
So I copied the lib* files to /usr/lib but it didn't work. What do I
have to do??? The best option would be to install the library in
usr/local and then to change some environmental variable to account for
the location of the header files and the libraries. How do I do this?
Any tips???

a^2

Sep 21 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Perhaps you need to link the lib in the system

"aaragon" <al**************@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
Hi all,

I use Linux and the gnu g++ compiler. I'm trying to work with a
library but compilation fails that the header files couldn't be
located. I installed the library under the /usr/local directory.
Then I moved the library directory to /usr/include and I had no
problems with the header files but then I had linking problems. hmmm
=/
So I copied the lib* files to /usr/lib but it didn't work. What do I
have to do??? The best option would be to install the library in
usr/local and then to change some environmental variable to account for
the location of the header files and the libraries. How do I do this?
Any tips???

a^2

Sep 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.