php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10512 can't build informix support library
Submitted: 2001-04-26 12:27 UTC Modified: 2001-06-02 20:04 UTC
From: dino at im dot mgt dot ncu dot edu dot tw Assigned:
Status: Closed Package: Informix related
PHP Version: 4.0.4pl1 OS: unixware 711
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
27 - 5 = ?
Subscribe to this entry?

 
 [2001-04-26 12:27 UTC] dino at im dot mgt dot ncu dot edu dot tw
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-02 20:04 UTC] sniper@php.net
This should be fixed with PHP 4.0.6, please try the 
latest release candidate:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

-Jani

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Jun 20 23:01:28 2019 UTC