LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-21-2006, 08:43 AM   #1
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Rep: Reputation: 37
Question telling "make" where to search for libraries


Hello!
I am running Slackware Linux 11.0 with kernel 2.6.18.
Recently I have been trying to compile a package that has a lot of dependencies. After "configure" I run "make". "make" searches for libraries in /usr/lib. The libraries that it cannot find in /usr/lib are located in /usr/local/lib in my system. How shall I tell "make" to look for libraries in /usr/local/lib instead in /usr/lib?

I suppose some path should be passed to "configure" or to "make", but I don't know how.

Thank you.
 
Old 10-21-2006, 11:09 AM   #2
pkn
LQ Newbie
 
Registered: Oct 2006
Location: Netherlands
Distribution: Slackware, CentOS and FC
Posts: 12

Rep: Reputation: 0
Lib paths should he placed in /etc/ld.so.conf
Funny thing is when I just checked a reference system running slack (10.1.0) it allready had /usr/local/lib in it..... so they should have been found.

There must be a flaw in my thinking.

BTW
Usually all configuration for make is done via a configure script....
Try running ./configure --help

Last edited by pkn; 10-21-2006 at 11:11 AM.
 
  


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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 02:33 PM
LXer: Petition to all us Linux users to stop telling newbies "RTMF". LXer Syndicated Linux News 2 03-29-2006 07:22 PM
grub-install - telling it root is not "/" Bremsstrahlung Linux - Software 4 01-27-2006 12:18 AM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 06:25 PM


All times are GMT -5. The time now is 10:52 AM.

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