php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34257 lib64 not handled correctly in ming extension
Submitted: 2005-08-25 19:31 UTC Modified: 2005-08-26 00:11 UTC
From: arekm at pld-linux dot org Assigned: helly (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.0.* OS: Linux
Private report: No CVE-ID: None
 [2005-08-25 19:31 UTC] arekm at pld-linux dot org
Description:
------------
When building ming extension configure script checks only /usr/lib (where lib is hardcoded) so no support for ie. amd64 platform when lib64 is used.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-25 19:32 UTC] arekm at pld-linux dot org
diff -urN php-5.1.0RC1.org/ext/ming/config.m4 php-5.1.0RC1/ext/ming/config.m4
--- php-5.1.0RC1.org/ext/ming/config.m4 2005-07-18 01:58:39.000000000 +0200
+++ php-5.1.0RC1/ext/ming/config.m4     2005-08-25 19:23:28.356268128 +0200
@@ -9,7 +9,7 @@
   AC_CHECK_LIB(m, sin)

   for i in $PHP_MING /usr/local /usr; do
-    if test -f $i/lib/libming.$SHLIB_SUFFIX_NAME -o -f $i/lib/libming.a; then
+    if test -f $i/$PHP_LIBDIR/libming.$SHLIB_SUFFIX_NAME -o -f $i/$PHP_LIBDIR/libming.a; then
       MING_DIR=$i
       break
     fi
 [2005-08-25 22:50 UTC] helly@php.net
Fixed in Head correctly, your patch was incomplete :-)

About MFHing we need to wait for RM approval.
 [2005-08-26 00:11 UTC] helly@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Fixed in 5.1, the first release that supports 64 bit systems in that way.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 17:01:29 2024 UTC