shared libraries

Ron Peterson rpeterson at yellowbank.com
Tue Apr 11 17:30:06 EDT 2000


Scott Lanning wrote:
> 
> On Tue, 11 Apr 2000, Ron Peterson wrote:
> >Stupid question:  Why does the linker find -lm but not, say, -lqt
> >without -L/usr/local/qt/lib?  I.E. - where are the default locations
> >specified?  I always just hack in -L/something/something as needed until
> >things compile.
> 
> man gcc
> Read till your eyes pop out. Rinse. Repeat.
> 
> (<mumble>environment variables, invoking gcc, link options</mumble>)

Actually, the info help is better.  I guess I was overcome by a fit of
laziness.  Instead of popping out, my eyes seem to dry up, shrivel, and
recede into their sockets.

LIBRARY_PATH - colon separated list of directories.  Otherwise the
default search location seems to be compiled into gcc.
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list