I have installed mysql-connector-odbc-5.1.5-0.i386.rpm and libtools on my Fedora12 system.
Updating with yum says that there is nothing to update.
Updating with rpm -Uvh mysql-connector-odbc-5.1.7-0.i386.rpm fails with the same missing dependencies as for the 64-bit version.
I tried to force installation with rpm -Uvh --nodeps mysql-connector-odbc-5.1.7-0.i386.rpm. Fedora was still complaining on missing libraries and it took me an hour to restore my rpm-database so that seems not to have been a good idea.
Result from rpm -Uvh mysql-connector-odbc-5.1.7-0.i386.rpm is still:
fout: Failed dependencies:
libltdl.so.3 is needed by mysql-connector-odbc-5.1.7-0.i386
libodbc.so.1 is needed by mysql-connector-odbc-5.1.7-0.i386
libodbcinst.so.1 is needed by mysql-connector-odbc-5.1.7-0.i386
The output from yum whatprovides "*/libltdl.so" is libtool-ltdl-devel and even after a reinstall from this last package, rpm still complains that it can't find these libs.
In some old documentation on mysql-connector-odbc, I read that in the case of missing library's, you should use the --nodeps option. Also one should make sure that the missing libs are in the path or are set in LD_LIBRARY_PATH.
rpm -Uvh --nodeps mysql-connector-odbc-5.1.7-0.i386.rpm gives the following output:
Preparing... ########################################### [100%]
1:mysql-connector-odbc ########################################### [100%]
myodbc-installer: error while loading shared libraries: libodbc.so.1: cannot open shared object file: No such file or directory
waarschuwing: %post(mysql-connector-odbc-5.1.7-0.i386) scriptlet failed, exit status 127
In /etc/profile.d I have created a file odbcini.sh with the following content:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/lib