[squeak-dev] Building a linux/Pi library to call via FFI

Nicolai Hess nicolaihess at web.de
Wed Sep 9 19:26:41 UTC 2015


How do you start squeak ?
Is there a squeak shell script that may modify the library lookup path?

you could try to start squeak with
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH squeak



2015-09-09 20:55 GMT+02:00 tim Rowledge <tim at rowledge.org>:

>
> On 09-09-2015, at 11:44 AM, Chris Cunningham <cunningham.cb at gmail.com>
> wrote:
> > ok.  Does FFI know to prepend the lib and postpend the .so in Unix for
> you?  I'm curious.
>
> Well, it does for other libraries; for example calling libwiringPi.so you
> use #<cdecl: void ‘foo’ (int) module: ‘wiringPi’>
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Strange OpCodes: SNARF: System Normalize And Reset Flags
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150909/6a898b52/attachment.htm


More information about the Squeak-dev mailing list