Huh, sorry to come back with this but...

Loadlibrary() for a sub-dependency works. ;-)

For example:
libopusfile.so has libopus.so as dependency.

So, before to loadlibrary(libopusfile.so), do --> loadlibrary(libopus.so),
keeping the original file-name.

Example:

loadlibrary(/directory/of/libopus.so) ; // do not change file-name.
loadlibrary(/directory/of/Mylibopusfile.so) ; // here you may change the
file-name.

PS: It works for how many sub-dependencies the main library has (but you
have to respect the order of loading).

Yep ;-)

Fre;D



-----
Many thanks ;-)
--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/Something-like-TProcess-Environment-for-libraries-tp5727468p5728041.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to