Bug #1648 Bug in rpm build dependency
Submitted: 24 Oct 2003 11:57 Modified: 30 May 2013 8:27
Reporter: Brian Aker Email Updates:
Status: Closed Impact on me:
Category:Connector / ODBC Severity:S2 (Serious)
Version: OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[24 Oct 2003 11:57] Brian Aker
[root@avenger tmp]# rpm -Uhv MyODBC-3.51.06-1.i386.rpm
error: Failed dependencies:
        libmysqlclient_r.so.10 is needed by MyODBC-3.51.06-1

So, we can not load MyODBC against our own rpms.

The above was using our rpm's (4.0.16) on Redhat 9.0

How to repeat:
Install our rpm's on redhat, then try to install the myodbc rpm.

Suggested fix:
Have it link against our .so with it not pointing to another file.
[21 Jan 2004 9:54] Lenz Grimmer
Strange, I just noticed that this bug was assigned to me. Sorry for the delay
in replying.

Actually, our MySQL-shared RPMs do include both versions of the shared library
(libmysql.so and libmysql_r.so). However, the MyODBC RPM has been linked against
the MySQL 3.23 shared libs (*.so.10), while our 4.0.x RPMs include never versions
of these (*.so.12).

So we should either compile MyODBC against the 4.0 shared libraries in the
future, or one can install the MySQL-shared-compat RPM as a workaround.

[22 Jul 2004 3:48] Timothy Smith
No feedback for half a year.  There may be some build-related issues, especially regarding AIX and HP-UX.  But that's another bug report.... (Bug #605)
[30 May 2013 8:27] Bogdan Degtyariov
I'm closing this bug because I can not continue without feedback from the reporter. If you have new info, please reopen the report.