Where should D programs look for .so files on Linux (by default)?

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 17 09:43:04 PDT 2014


I presume you mean dynamically loaded .so libraries and not just 
dynamically linked? Because latter use the same library path 
resolution rules as in C world (ld takes care of that)

As for dynamically loaded ones - it is somewhat tough question. 
Loading non-local plugin .so libraries is quite unusual, Derelict 
is the only software I know that does it. I am not sure it is 
even a good idea in general.

Are there any examples how this is solved in other languages / 
platforms?


More information about the Digitalmars-d mailing list