March 17, 2017
8:44 a.m.
Hi Pierce, sure, this works on any Unix-like system. On 17/03/17 03:37, Pierce Ng wrote:
On Wed, Mar 15, 2017 at 09:31:45AM +0100, Raffaello Giulietti wrote:
Suppose my code directly accesses "my.dll" which, in turn, depends on "her.dll" which my code does not need directly and suppose that library is located in folder "<path-to-her-folder>". How can I enforce the UFFI to perform the search there?
On Linux, I use a shell script "gopharo" to run the VM:
#!/bin/sh PHAROVMPATH=$(dirname `readlink -f "$0"`) LD_LIBRARY_PATH="$PHAROVMPATH" exec "$PHAROVMPATH/pharo" $@
LD_LIBRARY_PATH is customizable. In my case, I place 3rd party files like libsqlite.so, libunqlite.so together with the standard VM files.
Pierce