[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Trouble with debian install



On Tuesday, April 15, 2003, at 06:26  PM, John Griessen wrote:

This file allows automake/autoconf to find libraries that are called
shared or static, meaning fragments are referenced by multiple programs
= shared, one program : one reference (multiple copies ) = static.
autoconf-generated scripts only use ld.so.conf indirectly, unless something has changed drastically in autoconf when I wasn't looking.

When you run configure, it uses the compiler (which uses the linker) to search for libraries. If you are linking statically, the search order is determined by the system library directories and any -L/-l options passed through to the linker.

ld.so.conf also only affects the search order for shared libraries, although you would probably be correct to guess that static libraries are also going to be in the listed directories.

--
Charles Lepple <clepple@ghz.cc>
http://www.ghz.cc/charles/