[erlang-questions] How to load a port driver which itself uses a shared library?

Boris Mühmer boris.muehmer@REDACTED
Fri May 15 09:36:45 CEST 2015

Is Your work Linux based? If so, did You try to set LD_LIBRARY_PATH? But
this is only needed, if Your shared library dependency is in an unusual
location. There are other ways, to specify non-default shared library
pathes as well, but LD_LIBRARY_PATH may be the fastest to test for
non-default pathes.

For gcc you can specify -static when linking to force to use no dynamic
libraries. Another approach would be to use "-Wl,-rpath=...".
Maybe You should have a look at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150515/90c69439/attachment.htm>

More information about the erlang-questions mailing list