Bug #4488: Sun has changed tr
| From: | Bruce dot Hudson at Dal dot Ca | Date: | Wed, 17 May 2000 19:44:18 +0000 |
| Subject: | Bug #4488: Sun has changed tr | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18875@lists.php.net to get a copy of this message | ||
From: Bruce.Hudson@Dal.Ca
Operating system: Solaris 8
PHP version: 3.0.16
PHP Bug Type: Installation problem
Bug description: Sun has changed tr
After attempting to add mysql support to php, I started getting link failures starting apache. I
traced this to the
fact the configure was not adding -lmysqlclient to LIBS.
This in turn traces back to a change that SUN appears
to have made to tr. The command
echo mysqlclient | tr -c -d a-zA-Z0-9
returns a null string rather than "mysqlclient". The correct
command for Solaris 8 appears to be:
echo mysqlclient | tr -c -d '[:alnum:]'