Not that well on macOS.

Yes it works but you want to launch Pharo from thr Dock and not via the command line.

But yes put the DLLs in with the VM files should work in all main OSs

Mark

On 17/03/2017 08:44, [email protected] wrote:
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







--
Mark


Reply via email to