Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-21-2006, 09:43 AM   #1
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, Dragonfly BSD, OpenBSD
Posts: 814

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

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, 12:09 PM   #2
LQ Newbie
Registered: Oct 2006
Location: Netherlands
Distribution: Slackware, CentOS and FC
Posts: 12

Rep: Reputation: 0
Lib paths should he placed in /etc/
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.

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

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


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 12:26 PM
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 03:33 PM
LXer: Petition to all us Linux users to stop telling newbies "RTMF". LXer Syndicated Linux News 2 03-29-2006 08:22 PM
grub-install - telling it root is not "/" Bremsstrahlung Linux - Software 4 01-27-2006 01:18 AM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 07:25 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration