Bug #14120 Updated: libtool needs help.
| From: | ler at lerctr dot org | Date: | Sun, 30 Dec 2001 22:03:33 +0000 |
| Subject: | Bug #14120 Updated: libtool needs help. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-75387@lists.php.net to get a copy of this message | ||
ID: 14120
User updated by: ler@lerctr.org
Reported By: ler@lerctr.org
Status: Open
Bug Type: *Configuration Issues
Operating System: OpenUNIX8
PHP Version: 4.0CVS-2001-11-19
New Comment:
Ok, taking the bull by the horns so to speak, I found that configure actually
has most of the magic I needed. There were a couple of tweaks I made, but am not sure where they
get into configure from configure.in.
here is a patch against configure from the 12-30-2001 06:00 snap:
$ cat configure.patch
*** configure.old Sun Dec 30 08:01:52 2001
--- configure Sun Dec 30 15:58:56 2001
***************
*** 62866,62873 ****
lt_cv_file_magic_test_file=/lib/libc.so
;;
! sysv5uw[78]* | sysv4*uw2*)
lt_cv_deplibs_check_method=pass_all
;;
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
--- 62866,62874 ----
lt_cv_file_magic_test_file=/lib/libc.so
;;
! sysv5uw[78]* | sysv4*uw2*|sysv5Open* )
lt_cv_deplibs_check_method=pass_all
+ lt_cv_archive_cmds_need_lc=no
;;
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
***************
*** 64748,64754 ****
no_undefined_flag=' -z text'
# $CC -shared without GNU ld will not create a library from C++
# object files and a static libstdc++, better avoid it by now
! archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs
$linker_flags'
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed
-e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs
$linker_flags~$rm $lib.exp'
hardcode_libdir_flag_spec=
--- 64749,64755 ----
no_undefined_flag=' -z text'
# $CC -shared without GNU ld will not create a library from C++
# object files and a static libstdc++, better avoid it by now
! archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs
$linker_flags'
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed
-e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs
$linker_flags~$rm $lib.exp'
hardcode_libdir_flag_spec=
$
watch for line wrap. I can also email this patch to someone if they want it.
This fixes my problems, and I don't believe it can screw anyone else up.
Previous Comments:
------------------------------------------------------------------------
[2001-12-30 15:52:06] ler@lerctr.org
I don't mean to have an attitude, but I submitted this more than a month ago
and have offered access to my system. What more do I need to do?
I Don't believe I can run the 4.1.x release as the config.guess/config.sub weren't copied
over.
What can I do to help?
------------------------------------------------------------------------
[2001-12-30 11:31:16] ler@lerctr.org
I updated to the 2001-12-30 06:00 SNAP, and still had to make the same
changes to libtool. WHAT IS THE PHP TEAMS THOUGHTS? Does ANYONE GIVE A DAMN?
------------------------------------------------------------------------
[2001-12-30 11:18:08] ler@lerctr.org
Anyone care at *ALL* about this?
------------------------------------------------------------------------
[2001-12-20 09:08:43] lobbin@php.net
Derick?
------------------------------------------------------------------------
[2001-12-12 11:07:52] ler@lerctr.org
Is anyone going to look at this?
------------------------------------------------------------------------
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/?id=14120
Edit this bug report at http://bugs.php.net/?id=14120&edit=1