Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2036 - Recompile PHP with current MySQL

Attached to Project: Arch Linux
Opened by Vardyr (Vardyr) - Wednesday, 19 January 2005, 06:32 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The current PHP package is linked to libmysqlclient.14 while it should be linked libmysqlclient.so.14, as the current MySQL package doesn't include libmysqlclient.14

Recompiling PHP with ABS fixes this problem.
This task depends upon

Closed by  Judd Vinet (judd)
Thursday, 20 January 2005, 20:55 GMT
Reason for closing:  Fixed
Comment by Judd Vinet (judd) - Wednesday, 19 January 2005, 18:32 GMT
Actually, you should have a mysqlclient.14 file included with mysql 4.1.9-1. It's not the best name to link against, but that's the one php found. :/

[root@mars jvinet]# ls -l /usr/lib/libmysqlclient.*
lrwxrwxrwx 1 root root 20 2004-12-21 13:41 /usr/lib/libmysqlclient.14 -> libmysqlclient.so.14
lrwxrwxrwx 1 root root 20 2005-01-17 11:28 /usr/lib/libmysqlclient.so -> libmysqlclient.so.14
lrwxrwxrwx 1 root root 20 2005-01-17 11:28 /usr/lib/libmysqlclient.so.1 -> libmysqlclient.so.14
lrwxrwxrwx 1 root root 26 2005-01-17 11:28 /usr/lib/libmysqlclient.so.14 -> mysql/libmysqlclient.so.14
Comment by Vardyr (Vardyr) - Thursday, 20 January 2005, 03:56 GMT
This is what I get when I run that command:

[vardyr@insocada ~]$ ls -l /usr/lib/libmysqlclient.*
lrwxrwxrwx 1 root root 20 2005-01-18 21:26 /usr/lib/libmysqlclient.so -> libmysqlclient.so.14
lrwxrwxrwx 1 root root 20 2005-01-18 21:26 /usr/lib/libmysqlclient.so.1 -> libmysqlclient.so.14
lrwxrwxrwx 1 root root 26 2005-01-18 21:26 /usr/lib/libmysqlclient.so.14 -> mysql/libmysqlclient.so.14


Now, I manually downloaded the package from the repository to verify that mysqlclient.14 isn't in the package, and this is what I came up with:

[vardyr@insocada mysql]$ tar -xvzf mysql-4.1.9-1.pkg.tar.gz | find -name libmysqlclient.\*
./usr/lib/mysql/libmysqlclient.a
./usr/lib/mysql/libmysqlclient.la
./usr/lib/mysql/libmysqlclient.so
./usr/lib/mysql/libmysqlclient.so.14
./usr/lib/mysql/libmysqlclient.so.14.0.0
./usr/lib/libmysqlclient.so
./usr/lib/libmysqlclient.so.1
./usr/lib/libmysqlclient.so.14
Comment by Vardyr (Vardyr) - Thursday, 20 January 2005, 04:39 GMT
Upon reviewing your post again, I notice that libmysqlclient.14 is quite a bit older than the other files. Perhaps it was installed by an older version and not removed when upgrading?
Comment by Judd Vinet (judd) - Thursday, 20 January 2005, 20:46 GMT
I think so... I have it on some boxes, but not on others...

I'll rebuild php today.

Loading...