#50190 [Csd]: need libtool >=1.5.26
ID: 50190 User updated by: ralphdoncaster at gmail dot com Reported By: ralphdoncaster at gmail dot com Status: Closed Bug Type: Feature/Change Request Operating System: AIX 5.3 PHP Version: 5.2.11 New Comment: The build instructions might need to be updated about the required version of libtool. http://php.net/svn.php Previous Comments: [2009-11-23 21:53:58] j...@php.net Fixed in SVN. [2009-11-20 20:06:38] ralphdoncaster at gmail dot com I guess you missed the part where I said I don't have gnu diff. [2009-11-20 19:48:10] j...@php.net I should have been more verbose I guess: I need diff -u (unified diff) and do NOT paste it here but in http://pastebin.com/ and provide the URL to the paste in this bug report. DO NOT EMAIL anything to me! [2009-11-20 14:01:01] j...@php.net Yes, I know all this. I really need the diff between the libtool that gets generated with stock PHP (which didn't work for you) and the libtool your replaced it with. Can you do this or not? If you can, put it to pastebin.com and submit the url here.. [2009-11-20 13:10:54] ralphdoncaster at gmail dot com I tried it again with need_version=1.5.26 and it makes no difference. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/50190 -- Edit this bug report at http://bugs.php.net/?id=50190&edit=1
#50190 [Fbk->Opn]: need libtool >=1.5.26
ID: 50190 User updated by: ralphdoncaster at gmail dot com Reported By: ralphdoncaster at gmail dot com -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: AIX 5.3 PHP Version: 5.2.11 New Comment: I guess you missed the part where I said I don't have gnu diff. Previous Comments: [2009-11-20 19:48:10] j...@php.net I should have been more verbose I guess: I need diff -u (unified diff) and do NOT paste it here but in http://pastebin.com/ and provide the URL to the paste in this bug report. DO NOT EMAIL anything to me! [2009-11-20 14:01:01] j...@php.net Yes, I know all this. I really need the diff between the libtool that gets generated with stock PHP (which didn't work for you) and the libtool your replaced it with. Can you do this or not? If you can, put it to pastebin.com and submit the url here.. [2009-11-20 13:10:54] ralphdoncaster at gmail dot com I tried it again with need_version=1.5.26 and it makes no difference. [2009-11-20 13:02:46] ralphdoncaster at gmail dot com I don't have gnu diff installed, but I think the diff is a red herring anyway; we know it's the difference between 1.5.20 & 1.5.26. I think the issue may be the version of autoconf used to build the distribution configure script(if libtool is included as part of autoconf, which I'm not so sure it is). Since the date stamp for 1.5.26 is 2008/01/30, if autoconf 2.61 or earlier was used to build configure, it can't have included libtool 1.5.26. build/buildcheck.sh only requires autoconf 2.13 or newer. If autoconf just uses the version of libtool installed on the distribution build box, then maybe changing libtool.m4:1236 might work: need_version=no to: need_version=1.5.26 might work. I tried rebuilding configure (I have autoconf 2.59 and no libtool installed). The libtool that was created after running configure was still 1.5.20. here's what I ran: autoconf ./configure ./libtool --version [2009-11-17 09:14:09] j...@php.net How about a 'diff -u' between the PHP libtool and Apache libtool? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/50190 -- Edit this bug report at http://bugs.php.net/?id=50190&edit=1
#50190 [Fbk->Opn]: need libtool >=1.5.26
ID: 50190 User updated by: ralphdoncaster at gmail dot com Reported By: ralphdoncaster at gmail dot com -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: AIX 5.3 PHP Version: 5.2.11 New Comment: OK, even though I think your're going about it the hard way (instead of just updating the included libtool to >+1.5.26) here's a regular diff (I'll email you it too): 7c7 < # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 --- > # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 53c53 < build_libtool_libs=no --- > build_libtool_libs=yes 65c65 < fast_install=needless --- > fast_install=yes 68c68 < host_alias=powerpc-ibm-aix5.3.0.0 --- > host_alias= 86a87,89 > # LTCC compiler flags. > LTCFLAGS="-g -O2" > 94c97 < EGREP="grep -E" --- > EGREP="/usr/bin/grep -E" 147c150 < max_cmd_len=8192 --- > max_cmd_len=18432 171c174 < link_static_flag="-static" --- > link_static_flag="" 193c196 < library_names_spec="\${libname}\${release}.a \$libname.a" --- > library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}" 196c199 < soname_spec="\${libname}\${release}\${shared_ext}\$major" --- > soname_spec="" 200,201c203,204 < old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB \$oldlib" < old_postinstall_cmds="\$RANLIB \$oldlib~chmod 644 \$oldlib" --- > old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" > old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib" 212c215 < archive_expsym_cmds="\$CC -shared -o \$output_objdir/\$soname \$libobjs \$deplibs \$compiler_flags \${wl}-bE:\$export_symbols \${wl}-bnoentry\${allow_undefined_flag}~\$AR \$AR_FLAGS \$output_objdir/\$libname\$release.a \$output_objdir/\$soname" --- > archive_expsym_cmds="\$CC -o \$output_objdir/\$soname \$libobjs \$deplibs \${wl}-bnoentry \$compiler_flags \\\`if test \\\"x\${allow_undefined_flag}\\\" != \\\"x\\\"; then echo \\\"\${wl}\${allow_undefined_flag}\\\"; else :; fi\\\` \${wl}-bexport:\$export_symbols -shared \${wl}-G" 239a243,246 > # The directories searched by this compiler when creating a shared > # library > compiler_lib_search_dirs="" > 251c258 < allow_undefined_flag=" \${wl}-berok" --- > allow_undefined_flag="-berok" 254c261 < no_undefined_flag=" \${wl}-bernotok" --- > no_undefined_flag="" 316c323 < variables_saved_for_relink="PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" --- > variables_saved_for_relink="PATH LIBPATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 322c329 < sys_lib_search_path_spec=" /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/ /usr/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/ /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/../../../../powerpc-ibm-aix5.3.0.0/lib/powerpc-ibm-aix5.3.0.0/4.2.0/ /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/../../../../powerpc-ibm-aix5.3.0.0/lib/ /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/../../../powerpc-ibm-aix5.3.0.0/4.2.0/ /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/../../../ /lib/powerpc-ibm-aix5.3.0.0/4.2.0/ /lib/ /usr/lib/powerpc-ibm-aix5.3.0.0/4.2.0/ /usr/lib/" --- > sys_lib_search_path_spec="/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0 /opt/freeware/lib /lib /usr/lib" 340c347 < exclude_expsyms="_GLOBAL_OFFSET_TABLE_" --- > exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*" 350,351c357,358 < # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 < # Free Software Foundation, Inc. --- > # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, > # 2007, 2008 Free Software Foundation, Inc. 392,393c399,400 < VERSION=1.5.20 < TIMESTAMP=" (1.1220.2.287 2005/08/31 18:54:15)" --- > VERSION=1.5.26 > TIMESTAMP=" (1.1220.2.492 2008/01/30 06:40:56)" 395,397c402,408 < # See if we are running on zsh, and set the options which allow our < # commands through without removal of \ escapes. < if test -n "${ZSH_VERSION+set}" ; then --- > # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then > emulate sh > NULLCMD=: > # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which > # is contrary to our usage. Disable this feature. > alias -g '${1+"$@"}'='"$@"' 398a410,411 > else > case `(set -o) 2>/dev/null` in *
#50190 [Opn]: need libtool >=1.5.26
ID: 50190 User updated by: ralphdoncaster at gmail dot com Reported By: ralphdoncaster at gmail dot com Status: Open Bug Type: Apache2 related Operating System: AIX 5.3 PHP Version: 5.2.11 New Comment: I tried it again with need_version=1.5.26 and it makes no difference. Previous Comments: [2009-11-20 13:02:46] ralphdoncaster at gmail dot com I don't have gnu diff installed, but I think the diff is a red herring anyway; we know it's the difference between 1.5.20 & 1.5.26. I think the issue may be the version of autoconf used to build the distribution configure script(if libtool is included as part of autoconf, which I'm not so sure it is). Since the date stamp for 1.5.26 is 2008/01/30, if autoconf 2.61 or earlier was used to build configure, it can't have included libtool 1.5.26. build/buildcheck.sh only requires autoconf 2.13 or newer. If autoconf just uses the version of libtool installed on the distribution build box, then maybe changing libtool.m4:1236 might work: need_version=no to: need_version=1.5.26 might work. I tried rebuilding configure (I have autoconf 2.59 and no libtool installed). The libtool that was created after running configure was still 1.5.20. here's what I ran: autoconf ./configure ./libtool --version [2009-11-17 09:14:09] j...@php.net How about a 'diff -u' between the PHP libtool and Apache libtool? ---- [2009-11-16 17:11:32] ralphdoncaster at gmail dot com configure generates the libtool script, so after running configure I replaced it with the newer version that comes with apache2. lrwxrwxrwx1 root system 32 Nov 13 13:19 libtool -> /usr/local/apache2/build/libtool I have no experience with autoconf, and my only m4 experience is from a bit of sendmail twiddling. When I searched the bugs db I saw some references to libtool getting included with autoconf, so whoever did that would probably be able to create a patch much easier than I could. [2009-11-16 16:12:05] j...@php.net Exactly how did you replace it? If you have a patch, feel free to provide one. See build/libtool.m4 for more.. -------- [2009-11-16 14:49:48] ralphdoncaster at gmail dot com Description: libtool 1.5.20 is bundled with PHP. This version does not copy libphp5.so on make install. libtool 1.5.26 works properly This seems to have already been reported as bug #48427, but was closed as bogus (nobody realized the problem is with libtool, not gnu ld) Reproduce code: --- ./configure --with-apxs2=/usr/local/apache2/bin/apxs make install Expected result: libphp5.so should get copied to apache2 modules dir Actual result: -- it fails I replaced libtool 1.5.20 with 1.5.26 from the apache2 build, then make install works fine. bash-3.2# ./libtool --version ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56) Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. bash-3.2# ./libtool.old/libtool --version ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Edit this bug report at http://bugs.php.net/?id=50190&edit=1
#50190 [Fbk->Opn]: need libtool >=1.5.26
ID: 50190 User updated by: ralphdoncaster at gmail dot com Reported By: ralphdoncaster at gmail dot com -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: AIX 5.3 PHP Version: 5.2.11 New Comment: I don't have gnu diff installed, but I think the diff is a red herring anyway; we know it's the difference between 1.5.20 & 1.5.26. I think the issue may be the version of autoconf used to build the distribution configure script(if libtool is included as part of autoconf, which I'm not so sure it is). Since the date stamp for 1.5.26 is 2008/01/30, if autoconf 2.61 or earlier was used to build configure, it can't have included libtool 1.5.26. build/buildcheck.sh only requires autoconf 2.13 or newer. If autoconf just uses the version of libtool installed on the distribution build box, then maybe changing libtool.m4:1236 might work: need_version=no to: need_version=1.5.26 might work. I tried rebuilding configure (I have autoconf 2.59 and no libtool installed). The libtool that was created after running configure was still 1.5.20. here's what I ran: autoconf ./configure ./libtool --version Previous Comments: [2009-11-17 09:14:09] j...@php.net How about a 'diff -u' between the PHP libtool and Apache libtool? ---- [2009-11-16 17:11:32] ralphdoncaster at gmail dot com configure generates the libtool script, so after running configure I replaced it with the newer version that comes with apache2. lrwxrwxrwx1 root system 32 Nov 13 13:19 libtool -> /usr/local/apache2/build/libtool I have no experience with autoconf, and my only m4 experience is from a bit of sendmail twiddling. When I searched the bugs db I saw some references to libtool getting included with autoconf, so whoever did that would probably be able to create a patch much easier than I could. [2009-11-16 16:12:05] j...@php.net Exactly how did you replace it? If you have a patch, feel free to provide one. See build/libtool.m4 for more.. -------- [2009-11-16 14:49:48] ralphdoncaster at gmail dot com Description: libtool 1.5.20 is bundled with PHP. This version does not copy libphp5.so on make install. libtool 1.5.26 works properly This seems to have already been reported as bug #48427, but was closed as bogus (nobody realized the problem is with libtool, not gnu ld) Reproduce code: --- ./configure --with-apxs2=/usr/local/apache2/bin/apxs make install Expected result: libphp5.so should get copied to apache2 modules dir Actual result: -- it fails I replaced libtool 1.5.20 with 1.5.26 from the apache2 build, then make install works fine. bash-3.2# ./libtool --version ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56) Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. bash-3.2# ./libtool.old/libtool --version ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Edit this bug report at http://bugs.php.net/?id=50190&edit=1
#50190 [Fbk->Opn]: need libtool >=1.5.26
ID: 50190 User updated by: ralphdoncaster at gmail dot com Reported By: ralphdoncaster at gmail dot com -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: AIX 5.3 PHP Version: 5.2.11 New Comment: configure generates the libtool script, so after running configure I replaced it with the newer version that comes with apache2. lrwxrwxrwx1 root system 32 Nov 13 13:19 libtool -> /usr/local/apache2/build/libtool I have no experience with autoconf, and my only m4 experience is from a bit of sendmail twiddling. When I searched the bugs db I saw some references to libtool getting included with autoconf, so whoever did that would probably be able to create a patch much easier than I could. Previous Comments: [2009-11-16 16:12:05] j...@php.net Exactly how did you replace it? If you have a patch, feel free to provide one. See build/libtool.m4 for more.. [2009-11-16 14:49:48] ralphdoncaster at gmail dot com Description: libtool 1.5.20 is bundled with PHP. This version does not copy libphp5.so on make install. libtool 1.5.26 works properly This seems to have already been reported as bug #48427, but was closed as bogus (nobody realized the problem is with libtool, not gnu ld) Reproduce code: --- ./configure --with-apxs2=/usr/local/apache2/bin/apxs make install Expected result: libphp5.so should get copied to apache2 modules dir Actual result: -- it fails I replaced libtool 1.5.20 with 1.5.26 from the apache2 build, then make install works fine. bash-3.2# ./libtool --version ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56) Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. bash-3.2# ./libtool.old/libtool --version ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Edit this bug report at http://bugs.php.net/?id=50190&edit=1
#50190 [NEW]: need libtool >=1.5.26
From: ralphdoncaster at gmail dot com Operating system: AIX 5.3 PHP version: 5.2.11 PHP Bug Type: Apache2 related Bug description: need libtool >=1.5.26 Description: libtool 1.5.20 is bundled with PHP. This version does not copy libphp5.so on make install. libtool 1.5.26 works properly This seems to have already been reported as bug #48427, but was closed as bogus (nobody realized the problem is with libtool, not gnu ld) Reproduce code: --- ./configure --with-apxs2=/usr/local/apache2/bin/apxs make install Expected result: libphp5.so should get copied to apache2 modules dir Actual result: -- it fails I replaced libtool 1.5.20 with 1.5.26 from the apache2 build, then make install works fine. bash-3.2# ./libtool --version ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56) Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. bash-3.2# ./libtool.old/libtool --version ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Edit bug report at http://bugs.php.net/?id=50190&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50190&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50190&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50190&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50190&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50190&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50190&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50190&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50190&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50190&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50190&r=support Expected behavior: http://bugs.php.net/fix.php?id=50190&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50190&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50190&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50190&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50190&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=50190&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50190&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50190&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50190&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50190&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50190&r=mysqlcfg