[Scons-dev] Issue 2869 - Versioned shared libraries

William Deegan bill at baddogconsulting.com
Thu Oct 25 20:33:54 EDT 2012


All,
On Oct 25, 2012, at 1:16 PM, Chris BeHanna <chris at behanna.org> wrote:


> On Oct 25, 2012, at 15:07 , "Managan, Rob" <managan1 at llnl.gov> wrote:

>

>> Hi Chris,

>>

>> Thanks for the info. Sounds like I should have the Install function check

>> that the version numbers match. In the use case where Install does not

>> know what the version number is then I will believe the one in the library

>> name!

>>

>> Of course, in the example from Eric Raymond on OSX there is only one

>> symlink and the version number is located differently.

>

> Yes, it's very, very different on OS X. OS X uses "Mach-O" format rather than ELF, and spells ".so" as ".dylib", plus it reverses the order of the version number and the file type suffix:

>

> libcurl.so.4 => libcurl.4.dylib

>

> Mach-O also uses a "compatibility version" that is distinct from the version that appears in the filename. :-/


Does the implementation work with both linux and OSX?

-Bill


More information about the Scons-dev mailing list