Hi people: I am asking for help with squeakDBX in mac. Yes, I am one of the developers, so ? heheheheh
The thing is that Michael Atkisson is trying to getting working and have problems. As I know very little about mac, I ask for help. The problem is that FFI is not founding the openDBX library. The error is the famous "unable to find function address'". This is his enviorment: - Image: the 201 core, updated using the system update. - Squeak vm: 3.8.18beta3U.app - OS: Mac osx 10.5.6 - FFI instaled from here: http://map.squeak.org/accountbyid/cf58c358-46ee-465e-b6db-2740e9b32a53/files/InstallFFI3.st - DYLD_LIBRARY_PATH="/usr/local/lib/:/usr/lib" ..... - PATH=/usr/lib:/usr/local/lib:other entries .... - Check the property SqueakPluginsBuiltInOrLocalOnly in Info.plist de la VM was in true but changed to false. - The ls of the directories of /usr/local/lib and /usr/lib are above. - We also try to put the openDBX library in the directory where is the VM or the image, but the same. - I read this: http://wiki.squeak.org/squeak/5846 Is this true ? I mean, FFI doesn't support dylib ? what can I do in this case ? Thanks for all the help you can give us. Mariano arkhons-macbook-pro-17:~ arkhon$ cd /usr/local arkhons-macbook-pro-17:local arkhon$ ls bin include lib share arkhons-macbook-pro-17:local arkhon$ cd lib arkhons-macbook-pro-17:lib arkhon$ ls -l total 696 -rwxr-xr-x 1 root wheel 20248 Jan 27 18:02 libopendbx.1.1.0.dylib lrwxr-xr-x 1 root wheel 22 Jan 27 18:02 libopendbx.1.dylib -> libopendbx.1.1.0.dylib -rw-r--r-- 1 root wheel 28048 Jan 27 18:02 libopendbx.a lrwxr-xr-x 1 root wheel 22 Jan 27 18:02 libopendbx.dylib -> libopendbx.1.1.0.dylib -rwxr-xr-x 1 root wheel 871 Jan 27 18:02 libopendbx.la -rwxr-xr-x 1 root wheel 57904 Jan 27 18:02 libopendbxplus.0.0.0.dylib lrwxr-xr-x 1 root wheel 26 Jan 27 18:02 libopendbxplus.0.dylib -> libopendbxplus.0.0.0.dylib -rw-r--r-- 1 root wheel 217424 Jan 27 18:02 libopendbxplus.a lrwxr-xr-x 1 root wheel 26 Jan 27 18:02 libopendbxplus.dylib -> libopendbxplus.0.0.0.dylib -rwxr-xr-x 1 root wheel 928 Jan 27 18:02 libopendbxplus.la drwxr-xr-x 7 root wheel 238 Jan 27 18:02 opendbx drwxr-xr-x 3 root wheel 102 Jan 27 18:02 pkgconfig arkhons-macbook-pro-17:lib arkhon$ cd opendbx arkhons-macbook-pro-17:opendbx arkhon$ ls -l total 104 -rwxr-xr-x 1 root wheel 15804 Jan 27 18:02 libpgsqlbackend.1.1.0.so lrwxr-xr-x 1 root wheel 24 Jan 27 18:02 libpgsqlbackend.1.so -> libpgsqlbackend.1.1.0.so -rw-r--r-- 1 root wheel 23760 Jan 27 18:02 libpgsqlbackend.a -rwxr-xr-x 1 root wheel 908 Jan 27 18:02 libpgsqlbackend.la lrwxr-xr-x 1 root wheel 24 Jan 27 18:02 libpgsqlbackend.so -> libpgsqlbackend.1.1.0.so arkhons-macbook-pro-17:opendbx arkhon$ cd .. arkhons-macbook-pro-17:lib arkhon$ cd pkgconfig arkhons-macbook-pro-17:pkgconfig arkhon$ ls -l total 8 -rw-r--r-- 1 root wheel 231 Jan 27 18:02 opendbx.pc arkhons-macbook-pro-17:pkgconfig arkhon$ arkhons-macbook-pro-17:~ arkhon$ cd /usr/local arkhons-macbook-pro-17:local arkhon$ ls bin include lib share arkhons-macbook-pro-17:local arkhon$ cd lib arkhons-macbook-pro-17:lib arkhon$ ls -l total 696 -rwxr-xr-x 1 root wheel 20248 Jan 27 18:02 libopendbx.1.1.0.dylib lrwxr-xr-x 1 root wheel 22 Jan 27 18:02 libopendbx.1.dylib -> libopendbx.1.1.0.dylib -rw-r--r-- 1 root wheel 28048 Jan 27 18:02 libopendbx.a lrwxr-xr-x 1 root wheel 22 Jan 27 18:02 libopendbx.dylib -> libopendbx.1.1.0.dylib -rwxr-xr-x 1 root wheel 871 Jan 27 18:02 libopendbx.la -rwxr-xr-x 1 root wheel 57904 Jan 27 18:02 libopendbxplus.0.0.0.dylib lrwxr-xr-x 1 root wheel 26 Jan 27 18:02 libopendbxplus.0.dylib -> libopendbxplus.0.0.0.dylib -rw-r--r-- 1 root wheel 217424 Jan 27 18:02 libopendbxplus.a lrwxr-xr-x 1 root wheel 26 Jan 27 18:02 libopendbxplus.dylib -> libopendbxplus.0.0.0.dylib -rwxr-xr-x 1 root wheel 928 Jan 27 18:02 libopendbxplus.la drwxr-xr-x 7 root wheel 238 Jan 27 18:02 opendbx drwxr-xr-x 3 root wheel 102 Jan 27 18:02 pkgconfig arkhons-macbook-pro-17:lib arkhon$ cd opendbx arkhons-macbook-pro-17:opendbx arkhon$ ls -l total 104 -rwxr-xr-x 1 root wheel 15804 Jan 27 18:02 libpgsqlbackend.1.1.0.so lrwxr-xr-x 1 root wheel 24 Jan 27 18:02 libpgsqlbackend.1.so -> libpgsqlbackend.1.1.0.so -rw-r--r-- 1 root wheel 23760 Jan 27 18:02 libpgsqlbackend.a -rwxr-xr-x 1 root wheel 908 Jan 27 18:02 libpgsqlbackend.la lrwxr-xr-x 1 root wheel 24 Jan 27 18:02 libpgsqlbackend.so -> libpgsqlbackend.1.1.0.so arkhons-macbook-pro-17:opendbx arkhon$ cd .. arkhons-macbook-pro-17:lib arkhon$ cd pkgconfig arkhons-macbook-pro-17:pkgconfig arkhon$ ls -l total 8 -rw-r--r-- 1 root wheel 231 Jan 27 18:02 opendbx.pc arkhons-macbook-pro-17:pkgconfig arkhon$ arkhons-macbook-pro-17:lib arkhon$ cd pkg* arkhons-macbook-pro-17:pkgconfig arkhon$ ls -l total 72 -rw-r--r-- 1 root wheel 345 Sep 23 2007 apr-1.pc -rw-r--r-- 1 root wheel 393 Sep 23 2007 apr-util-1.pc -rw-r--r-- 1 root wheel 1757 Sep 23 2007 libcurl.pc -rw-r--r-- 1 root wheel 286 Sep 23 2007 libexslt.pc -rw-r--r-- 1 root wheel 3591 Sep 23 2007 libiodbc.pc -rw-r--r-- 1 root wheel 270 Sep 14 21:08 libxml-2.0.pc -rw-r--r-- 1 root wheel 276 Sep 23 2007 libxslt.pc -rw-r--r-- 1 root wheel 225 Jan 27 18:04 opendbx.pc -rw-r--r-- 1 root wheel 262 Sep 23 2007 openssl.pc arkhons-macbook-pro-17:pkgconfig arkhon$ |
On Fri, Jan 30, 2009 at 10:22:24AM -0200, Mariano Martinez Peck wrote:
> Hi people: I am asking for help with squeakDBX in mac. Yes, I am one of the > developers, so ? heheheheh > > The thing is that Michael Atkisson is trying to getting working and have > problems. As I know very little about mac, I ask for help. > > The problem is that FFI is not founding the openDBX library. The error is > the famous "unable to find function address'". > > This is his enviorment: > > - Image: the 201 core, updated using the system update. > - Squeak vm: 3.8.18beta3U.app > - OS: Mac osx 10.5.6 > > - FFI instaled from here: > http://map.squeak.org/accountbyid/cf58c358-46ee-465e-b6db-2740e9b32a53/files/InstallFFI3.st > > > - DYLD_LIBRARY_PATH="/usr/local/lib/:/usr/lib" ..... > > - PATH=/usr/lib:/usr/local/lib:other entries .... > > - Check the property SqueakPluginsBuiltInOrLocalOnly in Info.plist de la VM > was in true but changed to false. > > - The ls of the directories of /usr/local/lib and /usr/lib are above. > > - We also try to put the openDBX library in the directory where is the VM or > the image, but the same. > > - I read this: http://wiki.squeak.org/squeak/5846 > Is this true ? I mean, FFI doesn't support dylib ? what can I do in this > case ? Hi Mariano, I am not a Mac user, but I think that this wiki page has some out of date information, and the last paragraph is a correction to say that the Mac VM does suppert dylib. So it *should* work. > > Thanks for all the help you can give us. > Unfortunately I do not know enough to say what the problem is. Hopefully others will give a better answer. Dave |
In reply to this post by Mariano Martinez Peck
http://smalltalkconsulting.com/html/squeakinfoplist.html
Set SqueakDebug to 1 and it will print lots of information about where it's trying to find the indicated library. You will need to start the VM from a terminal session command line to see the log messages When SqueakPluginsBuiltInOrLocalOnly is false we look in more places. environment variables it uses are: SQUEAK_PLUGIN_PATH VM_LIBDIR VM_X11DIR We also hunt in the *.apps resources folder standard Plugins directory the current directory ./ the vm directory and lastly frameworks in "/CoreServices.framework/Frameworks", "/ApplicationServices.framework/Frameworks", "/Carbon.framework/Frameworks", When SqueakPluginsBuiltInOrLocalOnly is true we only look in the *.apps resources folder standard Plugins directory and lastly frameworks in "/CoreServices.framework/Frameworks", "/ApplicationServices.framework/Frameworks", "/Carbon.framework/Frameworks", On 30-Jan-09, at 4:22 AM, Mariano Martinez Peck wrote: > Hi people: I am asking for help with squeakDBX in mac. Yes, I am one > of the developers, so ? heheheheh > > The thing is that Michael Atkisson is trying to getting working and > have problems. As I know very little about mac, I ask for help. > > The problem is that FFI is not founding the openDBX library. The > error is the famous "unable to find function address'". > > -- = = = ======================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== |
David: Thanks for your help.
John: Very useful and unknown information for me. I have forward this email to he. I will let you know what happens. Thanks for the help! Mariano
On Sat, Jan 31, 2009 at 6:09 PM, John M McIntosh <[hidden email]> wrote: http://smalltalkconsulting.com/html/squeakinfoplist.html |
Free forum by Nabble | Edit this page |