Hi people: I am asking for help with squeakDBX in mac. Yes, I am one of the developers, so ? heheheheh<br><br>The thing is that Michael Atkisson<span><span style="color: rgb(0, 104, 28);"></span></span> is trying to getting working and have problems. As I know very little about mac, I ask for help.<br>
<br>The problem is that FFI is not founding the openDBX library. The error is the famous "unable to find function address'".<br><br>This is his enviorment:<br><br>- Image: the 201 core, updated using the system update.<br>
- Squeak vm: 3.8.18beta3U.app<br>- OS: Mac osx 10.5.6<br><br>- FFI instaled from here: <a href="http://map.squeak.org/accountbyid/cf58c358-46ee-465e-b6db-2740e9b32a53/files/InstallFFI3.st" target="_blank">http://map.squeak.org/accountbyid/cf58c358-46ee-465e-b6db-2740e9b32a53/files/InstallFFI3.st</a><br>
<br><br>- DYLD_LIBRARY_PATH="/usr/local/lib/:/usr/lib" .....<br><br>- PATH=/usr/lib:/usr/local/lib:other entries ....<br><br>- Check the property SqueakPluginsBuiltInOrLocalOnly in Info.plist de la VM was in true but changed to false.<br>
<br>- The ls of the directories of /usr/local/lib and /usr/lib are above.<br><br>- We also try to put the openDBX library in the directory where is the VM or the image, but the same.<br><br>- I read this: <a href="http://wiki.squeak.org/squeak/5846">http://wiki.squeak.org/squeak/5846</a><br>
Is this true ? I mean, FFI doesn't support dylib ? what can I do in this case ?<br><br><br>Thanks for all the help you can give us.<br><br>Mariano<br><br><br><br>arkhons-macbook-pro-17:~ arkhon$ cd /usr/local<br>arkhons-macbook-pro-17:local arkhon$ ls<br>
bin include lib share<br>
arkhons-macbook-pro-17:local arkhon$ cd lib<br>arkhons-macbook-pro-17:lib arkhon$ ls -l<br>
total 696<br>-rwxr-xr-x 1 root wheel 20248 Jan 27 18:02 libopendbx.1.1.0.dylib<br>lrwxr-xr-x 1 root wheel 22 Jan 27 18:02 libopendbx.1.dylib -> libopendbx.1.1.0.dylib<br>-rw-r--r-- 1 root wheel 28048 Jan 27 18:02 libopendbx.a<br>
lrwxr-xr-x 1 root wheel 22 Jan 27 18:02 libopendbx.dylib -> libopendbx.1.1.0.dylib<br>-rwxr-xr-x 1 root wheel 871 Jan 27 18:02 <a href="http://libopendbx.la" target="_blank">libopendbx.la</a><br>-rwxr-xr-x 1 root wheel 57904 Jan 27 18:02 libopendbxplus.0.0.0.dylib<br>
lrwxr-xr-x 1 root wheel 26 Jan 27 18:02 libopendbxplus.0.dylib -> libopendbxplus.0.0.0.dylib<br>-rw-r--r-- 1 root wheel 217424 Jan 27 18:02 libopendbxplus.a<br>lrwxr-xr-x 1 root wheel 26 Jan 27 18:02 libopendbxplus.dylib -> libopendbxplus.0.0.0.dylib<br>
-rwxr-xr-x 1 root wheel 928 Jan 27 18:02 <a href="http://libopendbxplus.la" target="_blank">libopendbxplus.la</a><br>drwxr-xr-x 7 root wheel 238 Jan 27 18:02 opendbx<br>drwxr-xr-x 3 root wheel 102 Jan 27 18:02 pkgconfig<br>
arkhons-macbook-pro-17:lib arkhon$ cd opendbx<br>arkhons-macbook-pro-17:opendbx arkhon$ ls -l<br>total 104<br>-rwxr-xr-x 1 root wheel 15804 Jan 27 18:02 <a href="http://libpgsqlbackend.1.1.0.so" target="_blank">libpgsqlbackend.1.1.0.so</a><br>
lrwxr-xr-x 1 root wheel 24 Jan 27 18:02 <a href="http://libpgsqlbackend.1.so" target="_blank">libpgsqlbackend.1.so</a> -> <a href="http://libpgsqlbackend.1.1.0.so" target="_blank">libpgsqlbackend.1.1.0.so</a><br>
-rw-r--r-- 1 root wheel 23760 Jan 27 18:02 libpgsqlbackend.a<br>
-rwxr-xr-x 1 root wheel 908 Jan 27 18:02 <a href="http://libpgsqlbackend.la" target="_blank">libpgsqlbackend.la</a><br>lrwxr-xr-x 1 root wheel 24 Jan 27 18:02 libpgsqlbackend.so -> <a href="http://libpgsqlbackend.1.1.0.so" target="_blank">libpgsqlbackend.1.1.0.so</a><br>
arkhons-macbook-pro-17:opendbx arkhon$ cd ..<br>arkhons-macbook-pro-17:lib arkhon$ cd pkgconfig<br>arkhons-macbook-pro-17:pkgconfig arkhon$ ls -l<br>total 8<br>-rw-r--r-- 1 root wheel 231 Jan 27 18:02 opendbx.pc<br>arkhons-macbook-pro-17:pkgconfig arkhon$<br>
<br><br><br><br><br><br>arkhons-macbook-pro-17:~ arkhon$ cd /usr/local<br>arkhons-macbook-pro-17:local arkhon$ ls<br>bin include lib share<br>arkhons-macbook-pro-17:local arkhon$ cd lib<br>arkhons-macbook-pro-17:lib arkhon$ ls -l<br>
total 696<br>-rwxr-xr-x 1 root wheel 20248 Jan 27 18:02 libopendbx.1.1.0.dylib<br>lrwxr-xr-x 1 root wheel 22 Jan 27 18:02 libopendbx.1.dylib -> libopendbx.1.1.0.dylib<br>-rw-r--r-- 1 root wheel 28048 Jan 27 18:02 libopendbx.a<br>
lrwxr-xr-x 1 root wheel 22 Jan 27 18:02 libopendbx.dylib -> libopendbx.1.1.0.dylib<br>-rwxr-xr-x 1 root wheel 871 Jan 27 18:02 <a href="http://libopendbx.la" target="_blank">libopendbx.la</a><br>-rwxr-xr-x 1 root wheel 57904 Jan 27 18:02 libopendbxplus.0.0.0.dylib<br>
lrwxr-xr-x 1 root wheel 26 Jan 27 18:02 libopendbxplus.0.dylib -> libopendbxplus.0.0.0.dylib<br>-rw-r--r-- 1 root wheel 217424 Jan 27 18:02 libopendbxplus.a<br>lrwxr-xr-x 1 root wheel 26 Jan 27 18:02 libopendbxplus.dylib -> libopendbxplus.0.0.0.dylib<br>
-rwxr-xr-x 1 root wheel 928 Jan 27 18:02 <a href="http://libopendbxplus.la" target="_blank">libopendbxplus.la</a><br>drwxr-xr-x 7 root wheel 238 Jan 27 18:02 opendbx<br>drwxr-xr-x 3 root wheel 102 Jan 27 18:02 pkgconfig<br>
arkhons-macbook-pro-17:lib arkhon$ cd opendbx<br>arkhons-macbook-pro-17:opendbx arkhon$ ls -l<br>total 104<br>-rwxr-xr-x 1 root wheel 15804 Jan 27 18:02 <a href="http://libpgsqlbackend.1.1.0.so" target="_blank">libpgsqlbackend.1.1.0.so</a><br>
lrwxr-xr-x 1 root wheel 24 Jan 27 18:02 <a href="http://libpgsqlbackend.1.so" target="_blank">libpgsqlbackend.1.so</a> -> <a href="http://libpgsqlbackend.1.1.0.so" target="_blank">libpgsqlbackend.1.1.0.so</a><br>
-rw-r--r-- 1 root wheel 23760 Jan 27 18:02 libpgsqlbackend.a<br>
-rwxr-xr-x 1 root wheel 908 Jan 27 18:02 <a href="http://libpgsqlbackend.la" target="_blank">libpgsqlbackend.la</a><br>lrwxr-xr-x 1 root wheel 24 Jan 27 18:02 libpgsqlbackend.so -> <a href="http://libpgsqlbackend.1.1.0.so" target="_blank">libpgsqlbackend.1.1.0.so</a><br>
arkhons-macbook-pro-17:opendbx arkhon$ cd ..<br>arkhons-macbook-pro-17:lib arkhon$ cd pkgconfig<br>arkhons-macbook-pro-17:pkgconfig arkhon$ ls -l<br>total 8<br>-rw-r--r-- 1 root wheel 231 Jan 27 18:02 opendbx.pc<br>arkhons-macbook-pro-17:pkgconfig arkhon$<br>
<br>arkhons-macbook-pro-17:lib arkhon$ cd pkg*<br>arkhons-macbook-pro-17:pkgconfig arkhon$ ls -l<br>total 72<br>-rw-r--r-- 1 root wheel 345 Sep 23 2007 apr-1.pc<br>-rw-r--r-- 1 root wheel 393 Sep 23 2007 apr-util-1.pc<br>
-rw-r--r-- 1 root wheel 1757 Sep 23 2007 libcurl.pc<br>-rw-r--r-- 1 root wheel 286 Sep 23 2007 libexslt.pc<br>-rw-r--r-- 1 root wheel 3591 Sep 23 2007 libiodbc.pc<br>-rw-r--r-- 1 root wheel 270 Sep 14 21:08 libxml-2.0.pc<br>
-rw-r--r-- 1 root wheel 276 Sep 23 2007 libxslt.pc<br>-rw-r--r-- 1 root wheel 225 Jan 27 18:04 opendbx.pc<br>-rw-r--r-- 1 root wheel 262 Sep 23 2007 openssl.pc<br>arkhons-macbook-pro-17:pkgconfig arkhon$<br>
<br><br><br><br><br><br>