Bug #28107 If XCode is not on OS X, ODBC 3 fails

Submitted: 25 Apr 2007 23:20 Modified: 3 May 2007 10:03
Reporter: Colin Charles Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / ODBC Severity:S2 (Serious)
Version:3.51 OS:MacOS (PowerPC)
Assigned to: CPU Architecture:Any

[25 Apr 2007 23:20] Colin Charles
Description:
Install ODBC3 on OS X. If XCode is not installed, it fails. Installing XCode fixes it.

How to repeat:
Install ODBC3 on OS X, without XCode.

Try to get it working.

Fail, with error:
1: SQLDriverConnect = [iODBC][Driver Manager]dlopen(/usr/lib/libmyodbc3.dylib, 6): Library not loaded: /usr/lib/libltdl.3.dylib
Referenced from: /usr/lib/libmyodbc3.dylib
Reason: image not found (0) SQLSTATE=00000
2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003 

Its missing /usr/lib/libltdl.3.dylib, provided by XCode

Suggested fix:
Include /usr/lib/libltdl.3.dylib (~72k file)

ALso, reference to http://bugs.mysql.com/bug.php?id=15326

These should become fixed for ODBC 5, imho.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.