Hi,
bin$ ./iodbctestw
iODBC Unicode Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.52.0812.0326
Enter ODBC connect string (? shows list): DRIVER={PostgreSQL Unicode};DATABASE=TestDB;SERVER=
postgres1.db.net;UID=username;PWD=******;PORT=5432;BOOLSASCHAR=0;LFCONVERSION=0;UseDeclareFetch=1
1: SQLDriverConnectW = [iODBC][Driver Manager]dlopen(/Library/PostgreSQL/psqlODBC/lib/psqlodbcw.so, 6): Library not loaded: /usr/lib/libltdl.7.dylib
Referenced from: /Library/PostgreSQL/psqlODBC/lib/psqlodbcw.so
Reason: image not found (0) SQLSTATE=00000
2: SQLDriverConnectW = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003
I then installed libtool using Homebrew, and things work fine now.
This seems like an installer issue to me. Why does the driver depend on libtool? Can I build the driver in some way which will remove the libtool dependency? I do not want our customers to have to install Homebrew and libtool after they install the driver.
Thanks,
Ed