linking against libsensors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* James Olin Oden <joden at lee.k12.nc.us> [2004-06-17 08:20:07 -0400]:
> created the link and my test programed linked fine.  My question is, is 
> there away to tell the ld (or ld through gcc) to use a particular version 
> of a .so (for instance I had a libsensors.so.1 and a libsensors.so.1.2.1)?

I don't think so - that would defeat one reason for using a shared library.
If you want to nail down the exact library version at compile time, then pass
the '-static' option to gcc/ld during the link stage.

Regards,

-- 
Mark M. Hoffman
mhoffman at lightlink.com



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux