Bug #27220 myodbc3i utility doesn't work in AIX 5.2
Submitted: 16 Mar 2007 16:46 Modified: 6 Jun 2007 11:56
Reporter: Bogdan Degtyariov Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S2 (Serious)
Version:3.51.14 OS:IBM AIX (AIX 5.2)
Assigned to: Bogdan Degtyariov
Tags: myodbc3i

[16 Mar 2007 16:46] Bogdan Degtyariov
Description:
When trying to add a new DSN using myodbc3i utility it displays the following error message:
> ODBCINI=/home/mysqldev/bogdan/etc/odbc.ini ODBCSYSINI=/home/mysqldev/bogdan/etc/ ./myodbc3i -a -su -t"DSN=testDSN;DRIVER=MySQL ODBC 3.51 Driver;SERVER=localhost;UID=...;PASSWORD=...;DATABASE=test;"

[myodbc3i.c][910][ERROR] Could not load driver setup library (/data/mysqldev/bogdan/myodbc64/lib/libmyodbc3S.so). Error is      0509-021 Additional errors occurred but are not reported.
rtld: 0712-001 Symbol XmbTextPropertyToTextList was referenced
      from module /data/mysqldev/bogdan/myodbc64/lib/libmyodbc3S.so(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XMaxRequestSize was referenced
      from module /data/mysqldev/bogdan/myodbc64/lib/libmyodbc3S.so(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XCheckTypedEvent/data/mysqldev/bogdan/myodbc64/lib/libmyodbc3S.so was referenced
      from module /data/mysqldev/bogdan/myodbc64/lib/libmyodbc3S.so(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XUngrabServer was referenced
      from module /data/mysqldev/bogdan/myodbc64/lib/libmyodbc3S.so(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XGrabServer was referenced
      from module /data/mysqldev/bogdan/myodbc64/lib/libmyodbc3S.so(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XConvertSelection was referenced
      from module /data/mysqldev/bogdan/myodbc64/lib/libmyodbc3S.so(), but a runtime definition
      of the symbol was not found.
        0509-021 Additional errors occurred but are not reported.

How to repeat:
Just run the command above. This behavior is repeatable on both 32 and 64-bit versions of MyODBC 3.51.14
[2 Apr 2007 18:20] Bogdan Degtyariov
Patch for myodbc3i (loading the driver lib prior to the setup lib)

Attachment: myodbc3i.diff (application/octet-stream, text), 1.10 KiB.

[25 May 2007 1:15] Jim Winstead
This was fixed in 3.51.15.
[6 Jun 2007 11:56] MC Brown
A note has been added to the 3.51.15 changelog.