2009/4/28 Mariano Martinez Peck <[email protected]>

>
>
> 2009/4/28 Hilaire Fernandes <[email protected]>
>
>> On linux
>>
>> I installed OpenDBX, checked it work to connect to my remote database
>>
>> Then check for system awarness of it:
>>
>> hila...@tice:~/Documents/Projets/BaseRessources$ ldconfig -p | grep
>> opendbx
>>     libopendbxplus.so.1 (libc6) => /usr/lib/libopendbxplus.so.1
>>     libopendbx.so.1 (libc6) => /usr/lib/libopendbx.so.1
>>
>>
>> Then installed squeakdbx in pharo from universe so ffi is installed as
>> well.
>>
>> I installed the latest vm (3.10-4 #2) from squeakvm.org web site as my
>> previous vm was apparently without ffi (or could it be the plugin compiled
>> in the VM?).
>>
>>
>>
>> When trying to connect, I still have 'unable to find function address'.
>>
>
> As you can read in the FAQ, this is because FFI doesn't find openDBX
> library. Read this link and tell me if it works:
> http://wiki.squeak.org/squeak/6129#OpenDBX%20and%20FFI
>

I already check that.


Questions:

- how did you install openDBX ? compile by yourself or binaries ?
- do you have the mysql client library installed ?


I installed opendbx from debian package, so it is in /usr/lib
As I wrote it, Opendbx is working in my station: I can connect to my remote
database through the opendbx interactive mode.
mysql client and library are installed of course.

I am curious about how FFI find the library. Does it goes to the ldconfig
cache?
Or does it check through preset path.

In doubt I added system wide env variable:
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib

but it does not help.

Hilaire
-- 
http://blog.ofset.org/hilaire
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
  • [Pharo-... Hilaire Fernandes
    • Re... Mariano Martinez Peck
      • ... Hilaire Fernandes
    • Re... Mariano Martinez Peck
      • ... Hilaire Fernandes
        • ... Hilaire Fernandes
          • ... Mariano Martinez Peck
            • ... Hilaire Fernandes
              • ... Mariano Martinez Peck
                • ... Mariano Martinez Peck
                • ... Hilaire Fernandes
                • ... Mariano Martinez Peck: "si, y no es gripe gordito..."
          • ... Mariano Martinez Peck

Reply via email to