From:             [EMAIL PROTECTED]
Operating system: unixware 711
PHP version:      4.0.4pl1
PHP Bug Type:     Compile Problem
Bug description:  can't build informix support library

during make php4 in sco unixware 711, I configure it
with informix, and with apxs. But the program failed out
in the step to build informix library. error message is:
--------------
Making all in Zend
Making all in main
Making all in ext
Making all in informix
        /bin/sh /pub/php-4.0.4pl1/libtool --silent --mode=link gcc  -I. -I/pub/php
-4.0.4pl1/ext/informix -I/pub/php-4.0.4pl1/main -I/pub/php-4.0.4pl1 -I/usr/local/a
pache/include -I/pub/php-4.0.4pl1/Zend -I/usr/informix/incl/esql -I/pub/php-4.0.4p
l1/ext/xml/expat/xmltok -I/pub/php-4.0.4pl1/ext/xml/expat/xmlparse -I/pub/php-4.0.
4pl1/TSRM  -DUW=700 -DUSE_HSREGEX -DUSE_EXPAT -DXML_BYTE_ORDER=21 -g -O2 -I/usr/in
formix/incl/esql   -o libinformix.la  ifx.lo  /usr/ccs/lib/libgen.a
libtool: link: cannot build libtool library `libinformix.la' from non-libtool obje
cts: /usr/ccs/lib/libgen.a
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.

I can pass this error by remove IFX_LIBS = /usr/ccs/bin/libgen.a line in 
config_vars.mk,
and continue to build PHP4 without any other error.
But Apache can't work after "make install" to copy
php4 module into apache directory. It said :
----------
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: dynamic linker: /usr
/local/apache/bin/httpd: relocation error: symbol not found: getmntent; referenced
 from: /usr/informix/lib/esql/libifos.so
/usr/local/apache/bin/apachectl start: httpd could not be started
---------

advice?
thz.


-- 
Edit Bug report at: http://bugs.php.net/?id=10512&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to