[PHP-DEV] PHP 4.0 Bug #7508 Updated: ltconfig doesn't handle our platform correctly From: ler <email protected>
Date: 10/28/00

ID: 7508
User Update by: ler <email protected>
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 <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>