shared libraries

Scott Lanning slanning at buphy.bu.edu
Tue Apr 11 16:00:09 EDT 2000


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>)

>Wouldn't hurt to actually know what I'm doing...

Occasionally comes in handy, as well.

-
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