On Thursday 30 April 2009 15:05:31 OpenDBX devel list wrote: > I don't know why. From Smalltalk (Squeak) I use a package called FFI > (Foreign Function Interface) to talk to openDBX. To FFI I have to tell it > the "module name". In my case I have "opendbx". So, then, It will look at > the libopendbx.so shared library. And it doesn't found libopendbx.so.1. > Perhaps it's a problem with FFI. I really don't know.
Seems to be a general problem with FFI that it only looks for libopendbx.so. Maybe it would be better for FFI to let the linker do the job (if possible). > > Please don't forget to also install the > > libopendbx-dev package before compiling and linking your code to have the > > header file and the link (/usr/lib/libopendbx.so) to the current library > > (/usr/lib/libopendbx.so.1) available. > > I didn't understand this. Why I need to install libopendbx-dev ? If I don't > want dev files are they necessary ? . Like I said, you only need them if you want to compile and link your code with libopendbx. You don't need the "dev" package if you run the resulting binary code. Otherwise, the "dev" package creates the /usr/lib/libopendbx.so link for you automatically which might be a workaround as long als FFI only looks for a file with this name. Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________ libopendbx-devel mailing list libopendbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libopendbx-devel http://www.linuxnetworks.de/doc/index.php/OpenDBX