ID: 21224
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 4.3.0
New Comment:
Problem solved when removing --enable-versioning from php configure
settings
Previous Comments:
------------------------------------------------------------------------
[2003-01-10 17:23:15] [EMAIL PROTECTED]
Same problem as everyone else.
ld: fatal: file /path/to/php-4.3.0/sapi/apache/php.sym unknown file
type.
Solaris8 and Solaris9. GNU gcc 3.2.1
libtool 1.4, automake 1.7.2, autoconf 2.57
Apache 1.3.27. However I will try not using
--enable-versioning and see if that works. Because I did
use that in my configure.
------------------------------------------------------------------------
[2003-01-06 05:02:49] [EMAIL PROTECTED]
Problem solved (for me) when removing --enable-versioning from the
configure
------------------------------------------------------------------------
[2002-12-30 09:32:31] [EMAIL PROTECTED]
I'm having the same problem building 4.3.0 with Apache on my server,
previous builds were ok:
RedHat Linux 7.1 kernel 2.4.18-18.7.xsmp
gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.1)
ld -v
GNU ld version 2.10.91 (with BFD 2.10.91.0.2)
libtool --version
ltmain.sh (GNU libtool) 1.3.5 (1.385.2.206 2000/05/27 11:12:27)
./configure --prefix=/usr/local/php \
--with-config-file-path=/usr/local/php --with-mysql=/usr/local/mysql \
--with-pgsql=/usr/local/pgsql --with-oci8=/usr/local/oracle \
--with-oracle=/usr/local/oracle
--with-sybase-ct=/opt/sybase-12.5/OCS-12_5 \
--with-pdflib=/usr/local/pdflib --with-jpeg --with-tiff --with-zlib \
--with-gd --with-ttf --with-freetype --with-xml --with-gettext \
--enable-ftp --enable-versioning --enable-sockets --enable-calendar \
--enable-sysvsem --enable-sysvshm --enable-track-vars --enable-debugger
\
--enable-magic-quotes --enable-rpath --enable-short-tags --enable-posix
\
--enable-session --enable-xml --enable-bcmath --enable-ctype
--enable-mailparse \
--with-apache=../apache_1.3.27
./configure --with-layout=Apache --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a --enable-module=so \
--enable-module=rewrite --add-module=mod_gzip.c
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
+ on-the-fly added and activated gzip module
(modules/extra/mod_gzip.o)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
+ using -lndbm for DBM support
enabling DBM support for mod_rewrite
o php4_module uses ConfigStart/End
+ using system Expat
+ using -ldl for vendor DSO support
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -I/usr/include/db1 `./apaci` -o
helpers/dummy helpers/dummy.c -Wl,-rpath,/usr/local/mysql/lib/mysql
-Wl,-rpath,/usr/local/oracle/lib -Wl,-rpath,/lib
-Wl,-rpath,/usr/local/pdflib/lib -Wl,-rpath,/usr/local/pgsql/lib
-Wl,-rpath,/opt/sybase-12.5/OCS-12_5/lib -rdynamic
-L/usr/local/mysql/lib/mysql -L/usr/local/oracle/lib -L/lib
-L/usr/local/pdflib/lib -L/usr/local/pgsql/lib
-L/opt/sybase-12.5/OCS-12_5/lib -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4 -export-symbols
/usr/local/src/php-4.3.0/sapi/apache/php.sym -rdynamic
-L/usr/local/mysql/lib/mysql -L/usr/local/oracle/lib -L/lib
-L/usr/local/pdflib/lib -L/usr/local/pgsql/lib
-L/opt/sybase-12.5/OCS-12_5/lib -lsybtcl -lintl -lcomn -lct -lcs -lpq
-lpdf -lz -lpng -lmysqlclient -lttf -lpng -lz -lz -lcrypt -lresolv -lm
-ldl -lnsl -lcrypt -ldl -lm -lnsl -lclntsh -ldl -lm -lnsl -lclntsh
-lm -lcrypt -lndbm -lexpat -ldl
/usr/bin/ld:/usr/local/src/php-4.3.0/sapi/apache/php.sym: file format
not recognized; treating as linker script
/usr/bin/ld:/usr/local/src/php-4.3.0/sapi/apache/php.sym:2: parse
error
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
Aborting!
------------------------------------------------------------------------
[2002-12-30 05:59:59] [EMAIL PROTECTED]
Same problem at Linux RedHat 6.2 machines, some with:
GNU ld 2.9.5
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
and others with:
GNU ld 2.13.2
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)
------------------------------------------------------------------------
[2002-12-28 04:33:22] [EMAIL PROTECTED]
the libtool on the php distribution tree is:
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
I have to say that previous versions of php up to 4.3.0rc2
compiled fine on the same system.
------------------------------------------------------------------------
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/21224
--
Edit this bug report at http://bugs.php.net/?id=21224&edit=1