[OpendTect_Developers] Adding external library to current opendtect installation

Bert Bril bert at opendtect.org
Mon Mar 28 15:38:48 CEST 2011


Hi all,


Khaerul wrote:

>    2. It appears that the plugin is searching for libAlglib.so.1 (don't
>       really understand why *.so.1 instead of *.so only)

Maybe after you've read this, you'll know:

http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html

Real short: the linker looks for '.so' files, but the dynamic (run-time) 
linker wants the correct interface version ('.so.N').


Why do they do it? Well, it's one step against things like DLL Hell 
(DLL's are Windows' .so files):

http://en.wikipedia.org/wiki/DLL_hell



Cheers, Bert

-- 
-- Bert Bril / OpendTect developer at dGB
-- mailto:Bert.Bril at opendtect.org , http://opendtect.org





More information about the Developers mailing list