List:MySQL ODBC« Previous MessageNext Message »
From:Ed Mansky Date:January 8 2005 3:31pm
Subject:Re: Expected location of iodbc libraries
View as plain text  
Because I couldn't find a binary package for the Mac OSX platform. 
Building iodbc from source allowed me to
avoid using the Apple supplied odbc libraries in /usr/lib. The Apple 
ODBC libraries on 10.2.x have known
problems.

I went with iODBC, instead of unixODBC, because when I bring up OO 
and try to connect to the MySQL database, the
error message I get when trying to "Organize" my Datasources, is that 
libiodbcinst.dylib cannot be found.

Where should the symlink libiodbcinst.dylib be installed for the OO 
binary to find it on Mac OSX 10.2.x ?

The README for MyODBC seems to indicated that the odbc.ini and 
odbcinst.ini should be in ~Library/ODBC on the Mac.
Other READMEs (in libiodbc, etc.) seem to suggust that these files 
are normally found in /usr/etc or /usr/local/etc.

What's the correct path for the ini files on the Mac ?

>I am curious why you are using iodbc built from source?
>
>Peter
>
>Ed Mansky wrote:
>
>>Hi all,
>>   I'm trying to get Open Office to use my MySQL database as a datasource.
>>
>>   My config is:  Mac OSX 10.2.8  w/gcc 3.3 (Apple's supplied Aug 03 
>>Dev Tools)
>>                  MySQL 4.0.22 (server built from source code, 
>>client taken from binary 4.0.21)
>>                  libiodbc 2.1.10 built from source
>>                  MyODBC 3.51.09 built from source
>>                  Open Office 1.1.2 from OSX binary
>>
>>   Anybody get Open Office to connect via MyODBC/libiodbc to MySQL ? 
>>Specifically, where does the OO binary expect
>>  the library libiodbcinst.dylib to reside ?  I've built 
>>libiodbc2.1.10.dylib and installed it in /usr/local/lib and created
>>  the symlink libiodbcinst.dylib in both /usr/local/lib and /usr/lib 
>>and OO still doesn't find them. Got LD_LIBRARY_PATH and
>>  DYLD_LIBRARY_PATH both defined as well.
>>
>>   Any ideas would be greatly appreciated!
>>
>>Ed
>
>
>
>--
>MySQL ODBC Mailing List
>For list archives: http://lists.mysql.com/myodbc
>To unsubscribe:    http://lists.mysql.com/myodbc?unsub=1


-- 
E. J. Mansky II
Eikonal Research Institute
Bend, OR.
Thread
Expected location of iodbc librariesEd Mansky8 Jan
  • Re: Expected location of iodbc librariesPeter Harvey8 Jan
    • Re: Expected location of iodbc librariesEd Mansky8 Jan