Bug #19288 | Package "shared compat" might not conain newly build 5.0/5.1 shared libs | ||
---|---|---|---|
Submitted: | 23 Apr 2006 17:19 | Modified: | 9 May 2006 18:50 |
Reporter: | Kent Boortz | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Packaging | Severity: | S3 (Non-critical) |
Version: | 5.0.18 5.1.7 | OS: | |
Assigned to: | Kent Boortz | CPU Architecture: | Any |
[23 Apr 2006 17:19]
Kent Boortz
[24 Apr 2006 18:47]
Joerg Bruehe
IMHO, a "shared-compat" for 5.0 should never contain a 5.1 library, as I fear a new client (or else it would not need the 5.1 library) is quite likely to use features which only a new server can support. I always assumed the "shared-compat" packages to (only!) support old clients (especially ones which the user did not build himself) in accessing a new server, so that the user could upgrade the server and still run the existing clients.
[25 Apr 2006 7:28]
Andrei Nazarenko
The fact that the shared-compat contains 5.1 libraries is causing other application compilation problems. See bug #18091.
[25 Apr 2006 17:49]
Andrei Nazarenko
Actually I must take back the previous comment. Although this is true that the shared-compat wrongly contains the 5.1.x shared libs, it is not the only reason for 3rd party apps compilation failure. If you install shared-compat, you will get these libraries: libmysqlclient.so.14.0.0 -- some older compat version (OK) libmysqlclient.so.15.0.0 -- version 5.1.7 beta (not OK) Since libmysqlclient.so is linked to libmysqlclient.so.15.0.0, the 5.1.7 beta libs are used during compilation of PHP, etc. which fails with the known error message "relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC" If you install shared libs only, you will get the library: libmysqlclient.so --> libmysqlclient.so.15.0.0 -- version 5.0.20a (seems OK) The compilation STILL fails, with the same error message, so everything in the bugs #13159 and #18091 is true even without the 5.1.x beta libs.
[2 May 2006 14:55]
Andrei Nazarenko
Release 5.0.21 seems to fix the issue of included 5.1 library. At least for the x86_64 Linux distribution. The libraries in shared_compat are correct now.
[4 May 2006 21:52]
Kent Boortz
The build script that creates the "shared compat" packages now favor packages just built. It also no longer include shared libraries for later releases. The corrected packages are in MySQL 4.1.19 and 5.0.21.
[9 May 2006 18:50]
Paul DuBois
Noted in 4.1.19, 5.0.21, 5.1.10 changelogs.