I found to working solutions which fix issue, also doesn't require symlink
in Plugins directory:
1) create plist file in /Library/LaunchAgents which sets library path and
Oracle home
or
2) create apple script that sets environment variables and run a user login
Discovered the issue, the Oracle FFI wrapper is loading correctly but then
is not finding the Oracle Instant Client library correctly. Creating sym
links fixes the issue with finding the Oracle Instant Client dylibs but
then it still doesn't find Oracle TNS settings etc .. BTW used dtruss
(dtrace t
On 28/04/15 00:03, recursiv...@gmail.com
wrote:
If I create a sym link in the Plugins directory or copy the dylib to the
Plugins directory and launch Pharo via the Finder dialog window, it
fails with "External module not found", so it appears to be how Pharo
and/or OSX sets it library path when l
Thanks, it's giving this, so it's appears to be 32 bit (I compiled with
CFLAGS=-m32):
/usr/local/lib/libocilib.dylib: Mach-O dynamically linked shared library
i386
I think the library is ok, it's just not being found by Pharo when I launch
it as an application from the Finder dialog. If I launch
On 25/04/15 21:04, recursiv...@gmail.com
wrote:
I wrote a FFI wrapper for an Oracle library ( OCILib ) sometime ago,
which worked on Pharo 1.4 and Pharo 2.0 / 3.0. I'm now trying to use it
with Pharo 4.0 and its failing with "External module not found". This is
on OSX and I've set DYLD_LIB_LIBRAR
Hi,
Yes, it's on the same machine. I've tried copying the dylib to
MacOS/Plugins directory and it doesn't fix it.
Weirdly, if I start the Pharo executable from the command line, where I've
set the DYLD_LIBRARY_PATH for the dylib in the shell environment, it works.
So it seems to be something to d
On Sat, Apr 25, 2015 at 08:04:30PM +0100, recursiv...@gmail.com wrote:
> also tried putting a sym link to the library in Resources directory. Do I
Should go into MacOS/Plugins. You'll see a bunch of dylib files there.
On Sun, Apr 26, 2015 at 3:04 AM, wrote:
> Hi,
>
> I wrote a FFI wrapper for an Oracle library ( OCILib ) sometime ago, which
> worked on Pharo 1.4 and Pharo 2.0 / 3.0. I'm now trying to use it with
> Pharo 4.0 and its failing with "External module not found". This is on OSX
> and I've set DYLD_LI
Hi,
I wrote a FFI wrapper for an Oracle library ( OCILib ) sometime ago, which
worked on Pharo 1.4 and Pharo 2.0 / 3.0. I'm now trying to use it with
Pharo 4.0 and its failing with "External module not found". This is on OSX
and I've set DYLD_LIB_LIBRARY so the OCILib dylib is present in it. I've