Soft linking libraries

Anthony M. Rasat anthony.rasat at gmail.com
Thu Nov 6 06:21:32 UTC 2008


>Many application when linked >with -lglut report that library not >found. Why the standard >installationdoesn't create  a >software link libglut.so->libglut.so.3 ? Any logical >reasons ?

Thinkering around with libraries goes back as far as my slackware days, I think the reason would be upgradability. Since major version (e.g. number 3 in libglut.so.3) is rarely changes however minor version (e.g. number .8.0 in libglut.so.3.8.0) do change in upgrade so it would break dependencies.

I remember workaround for this is to freeze the library version (which is bad idea unless that is not a production machine) against upgrade but I can't seem to recall how. Sorry. I guess you need to google around a bit.

-- 

Regards,

Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Barat 12210
Indonesia.-
Phone 02132185562
Phone 081574217035
Fax 02153651465
Web http://www.jpnn.com


More information about the ubuntu-users mailing list