Visit Our UNIX and Linux User Community


Missing dependencies updating unixODBC / MySQL Connector

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Missing dependencies updating unixODBC / MySQL Connector
# 1  
Old 10-28-2010
Missing dependencies updating unixODBC / MySQL Connector

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 installation with rpm --nodeps ?
# 2  
Old 10-28-2010
With new questions, please start a new thread, instead of appending to an old and inactive one. Moved.
# 3  
Old 10-28-2010
This was my first post to this site and I didn't know that the thread was inactive.
To where has my original post been moved?

Ben
# 4  
Old 11-02-2010
Don't use --nodeps

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.

Any guess?
# 5  
Old 11-05-2010
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

This solved my problem

Previous Thread | Next Thread
Test Your Knowledge in Computers #738
Difficulty: Medium
RadioShack introduced a 50 MB external hard disk for the TRS-80 Model III/4 in 1983.
True or False?

3 More Discussions You Might Find Interesting

1. Red Hat

Yum - resolving missing dependencies that are not missing

I am trying to install VirtualBox on RHEL 5 but I need the 32 bit version for 32 bit Windows. When I run yum I get the following: sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm Loaded plugins: fastestmirror Setting up Local Package... (13 Replies)
Discussion started by: gw1500se
13 Replies

2. SuSE

How to resolve missing missing dependencies with opensuse 11.3 and 12.3?

Hello, This is a programming question as well as a suse question, so let me know if you think I should post this in programming. I have an application that I compiled under opensuse 12.2 using g77-3.3/g++3.3. The program compiles and runs just fine. I gave the application to a colleague who... (2 Replies)
Discussion started by: LMHmedchem
2 Replies

3. AIX

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... (1 Reply)
Discussion started by: raidzero
1 Replies

Featured Tech Videos