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#8065 - phpmyadmin: suggest replacing dep from 'mysql' to 'libmysqlclient'

Attached to Project: Arch Linux
Opened by Marco (cipparello) - Wednesday, 19 September 2007, 22:02 GMT
Last edited by Eric Belanger (Snowman) - Friday, 09 November 2007, 04:49 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
This is my first feature request so i apologize if this isn't the right category.

Since i use several archlinux linux-vserver guest (in DMZ and Intranet) to provide isolation between various layer as Application Server (Apache/Tomcat/...), Storage and Backup server (MySQL/PostgreSQL/Bacula/...) and others i find it should be useful to have phpmyadmin depends on 'libmysqlclient' and not to 'mysql' in order to not obligate, if you want to install phpmyadmin, to have on the same server also the full MySQL installation (of course if someone want to have phpmyadmin and mysql DB on the same server it'll be still possible via manual installation of the needed package).

In fact i already have 'developed' a package via ABS in the /var/abs/local directory named 'phpmyadmin-no-mysql' where the only differences between mine and the official package are:

original phpmyadmin:
depends=('php' 'libmysqlclient')

my phpmyadmin-no-mysql:
depends=('php' 'libmysqlclient')
conflicts=('phpmyadmin')
provides=('phpmyadmin')

But i'd like to have only the 'original archlinux package' with the suggested changed dep.

I hope you can consider this feature request interesting.

Additional info:
pkgname = phpmyadmin
pkgver = any version

Thanks
Marco
This task depends upon

Closed by  Eric Belanger (Snowman)
Friday, 09 November 2007, 04:49 GMT
Reason for closing:  Won't fix
Additional comments about closing:  phpmyadmin has been removed from the extra repo. It's now in unsupported.
Comment by Pierre Schmitz (Pierre) - Friday, 21 September 2007, 09:10 GMT
imho phpmyadmin only depends on php.
Comment by Marco (cipparello) - Friday, 21 September 2007, 12:27 GMT
I think that the dep with libmysqlclient (or mysql) is needed since in config.in.php of phpmyadmin you declare which kind of interface you use to connect to MySQL DB (mysql or mysqli extension); if the package libmysqlclient isn't installed you will receive this message on log (i use the mysqli extension on my phpmyadmin conf file):

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/php/mysqli.so' - libmysqlclient.so.15: cannot open shared object file: ...

Loading...