Install MySQL connector without local SQL database
Hello UNIX gurus, I need to install the mysql odbc connector with unixODBC on my AIX 5.3 machine. I have a mySQL database running on another server (Ubuntu 7.04). The SQL database works fine. The problem I am having is when trying to run ./configure for mysql-connector-odbc it seems to be looking for a local SQL installation:
/y/mysql-connector-odbc-5.1.5-aix5.2-powerpc-64bit/bin # ./myodbc-installer
exec(): 0509-036 Cannot load program ./myodbc-installer because of the following errors:
0509-150 Dependent module libodbc.so could not be loaded.
0509-022 Cannot load module libodbc.so.
0509-026 System error: A file or directory in the path name does not exist.
/y is where I have all the sources and stuff I have downloaded.
unixODBC compiled and installed fine but it is not set up to use any databases yet.
There must be a way to install the connector just to use an external database, surely I do not have to install SQL on the AIX machine only to build the connector to connect to the external database? Thanks
Just an update, maybe it can help somebody out. (this is from memory)
unixodbc created a bunch of .a and .la files. running ar -x libodbc.a produces libodbc.so.1
if you then copy libodbc.so.1 to /usr/lib/libodbc.so and do the same with libodbinst.a the binary mysql connector will install.
note: I tried this on slackware linux and unixodbc created the .so files right off the bat.
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.
Should I force... (4 Replies)