php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4488 Sun has changed tr
Submitted: 2000-05-17 21:44 UTC Modified: 2005-03-31 16:13 UTC
From: Bruce dot Hudson at Dal dot Ca Assigned:
Status: Wont fix Package: Installation problem
PHP Version: 3.0.16 OS: Solaris 8
Private report: No CVE-ID: None
 [2000-05-17 21:44 UTC] Bruce dot Hudson at Dal dot Ca
    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:]'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-17 22:00 UTC] Bruce dot Hudson at Dal dot Ca
    A slight correction to this problem. It only seems to occur when the
LC_COLLATE environment variable is set to something other than
"C".
 [2002-09-30 19:28 UTC] hholzgra@php.net
php 4 configure uses sed instead of tr here,
does the same problem arise there?
 [2002-10-16 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
We are sorry, but we do not support PHP 3 related problems anymore.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 03 20:01:29 2024 UTC