AW: Re: ODBC and Mac OS X

Petr Fischer petr.fischer at praguesoft.cz
Tue Oct 16 19:20:37 UTC 2007


Yes. It works... and reads data from Firebird SQL.

On 16.10.2007, at 20:27, Giuseppe Luigi Punzi Ruiz wrote:

> Then works on your mac?
>
> El 16/10/2007, a las 20:24, Petr Fischer escribió:
>
>> Thanks for tip Frank!
>>
>> Solution:
>> cd /usr/lib
>> ln -sf libiodbc.2.dylib odbc32
>>
>> On 16.10.2007, at 19:27, Frank Urbach wrote:
>>
>>> I have no experience with Mac OS X but under Linux you have to  
>>> install an odbc package. If I remember the right things you to  
>>> put an symolic link called 'odbc32' in the directory where squeak  
>>> is living. After this you might be able to connect to your database.
>>> Only some hints from another OS.
>>>
>>> HTH
>>>
>>> Cheers
>>>   Frank
>>>
>>> Send from Blackberry
>>> ---
>>> Edelstahlwerke Schmees GmbH
>>> Geschäftsleitung Clemens Schmees
>>> Sitz D-01796 Pirna
>>> Handelsregister Dresden HRB 54
>>> www.schmees.com
>>>
>>>
>>> -----Original Message-----
>>> From: petr.fischer at praguesoft.cz
>>> Date: Tue, 16 Oct 2007 19:17:10
>>> To:squeak-dev at lists.squeakfoundation.org, frank.urbach at schmees.com
>>> Subject: Re: ODBC and Mac OS X
>>>
>>> Yes, FFI is installed (FFI was installed by ODBC dependency in
>>> Universe Browser). Do you have working ODBC enviroment in Squeak on
>>> Mac OS X?
>>> (I am using squeak-dev image sq3.9-7067dev07.10.1.image)
>>>
>>> pf
>>>
>>> On 16.10.2007, at 19:09, Ramon Leon wrote:
>>>
>>>>> Hi, is possible to use ODBC in Squeak under Mac OS X?
>>>>>
>>>>> My test code:
>>>>> connection := ODBCConnection
>>>>> 				dsn: 'TESTDSN'
>>>>> 				user: '***'
>>>>> 				password: '***'.
>>>>>
>>>>> Error: Unable to find function address.
>>>>>
>>>>> In class method ODBCLibrary>>moduleName is "odbc32" - is it
>>>>> platform independent? No one using ODBC on Mac OS X?
>>>>>
>>>>> Thanks, pf
>>>>
>>>> ODBC requires FFI, do you have FFI installed?
>>>>
>>>> Ramon Leon
>>>> http://onsmalltalk.com
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2435 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20071016/7f7455b4/smime.bin


More information about the Squeak-dev mailing list