PHP 4.0 Bug #7508 Updated: ltconfig doesn't handle our platform correctly
| From: | ler at lerctr dot org | Date: | Sat, 28 Oct 2000 16:16:54 +0000 |
| Subject: | PHP 4.0 Bug #7508 Updated: ltconfig doesn't handle our platform correctly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36266@lists.php.net to get a copy of this message | ||
ID: 7508
User Update by: ler@lerctr.org
Status: Open
Old-Bug Type: Compile Problem
Bug Type: Compile Failure
Description: ltconfig doesn't handle our platform correctly
Previous Comments:
---------------------------------------------------------------------------
[2000-10-28 06:11:49] ler@lerctr.org
ltconfig needs 2 tweaks to handle SCO UnixWare 7.1.1 (probably 2.x +).
Patch:
$ cat lt.patch
Index: ltconfig
===================================================================
RCS file: /cvsroot/php/ltconfig,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 ltconfig
*** ltconfig 2000/10/12 10:05:40 1.1.1.1
--- ltconfig 2000/10/19 18:19:53
***************
*** 1500,1506 ****
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 $d
eplibs $linkopts'
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | se
d -e "s/(.*)/1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $li
bobjs $deplibs $linkopts~$rm $lib.exp'
hardcode_libdir_flag_spec=
--- 1500,1506 ----
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 $d
eplibs $linkopts'
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | se
d -e "s/(.*)/1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $li
bobjs $deplibs $linkopts~$rm $lib.exp'
hardcode_libdir_flag_spec=
***************
*** 2101,2107 ****
soname_spec='${libname}${release}.so$major'
shlibpath_var=LD_LIBRARY_PATH
case "$host_vendor" in
! sequent)
file_magic_cmd='/bin/file'
deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared obje
ct|dynamic lib )'
;;
--- 2101,2107 ----
soname_spec='${libname}${release}.so$major'
shlibpath_var=LD_LIBRARY_PATH
case "$host_vendor" in
! sco|sequent)
file_magic_cmd='/bin/file'
deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared obje
ct|dynamic lib )'
;;
$
if you'd like me to mail this, please let me know.
Thanks
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7508