ID:               14547
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           No Feedback
 Bug Type:         Informix related
 Operating System: RH Linux 7.1
 PHP Version:      4.1.0
 New Comment:

/bin/sh /home/mike/php-4.2.3/libtool --silent --mode=link gcc -I.
-I/home/mike/php-4.2.3/ext/informix -I/home/mike/php-4.2.3/main
-I/home/mike/php-4.2.3 -I/home/mike/php-4.2.3/Zend
-I/opt/informix/incl/esql -I/home/mike/php-4.2.3/ext/mysql/libmysql
-I/home/mike/php-4.2.3/ext/xml/expat  -I/home/mike/php-4.2.3/TSRM -g
-O2   -o informix.la -avoid-version -module -rpath
/home/mike/php-4.2.3/modules  ifx.lo 
-R/home/mike/php-4.2.3/ext/informix -L/home/mike/php-4.2.3/ext/informix
-R/opt/informix/lib/esql -L/opt/informix/lib/esql -R/opt/informix/lib
-L/opt/informix/lib -lifsql -lifasf -lifgen -lifos -lifgls -ldl -lcrypt
-lifglx

Made it work, I had to remove -lphpifx and add absolute paths to some
of the stuff.  I don't understand why this can't be fixed, the bug and
fix have been documented for months now, what gives?

1.  Change makefile to use absolute paths for libtool.
2.  Remove -lphpfix from the buld line.


Previous Comments:
------------------------------------------------------------------------

[2002-10-21 09:45:19] [EMAIL PROTECTED]

./configure --with-informix=shared

Still fails, with:

/php-4.2.3 -I/home/mike/php-4.2.3/Zend -I/opt/informix/incl/esql
-I/home/mike/php-4.2.3/ext/mysql/libmysql
-I/home/mike/php-4.2.3/ext/xml/expat  -I/home/mike/php-4.2.3/TSRM -g
-O2   -o informix.la -avoid-version -module -rpath
/home/mike/php-4.2.3/modules  ifx.lo  -Rext/informix -Lext/informix
-R/opt/informix/lib/esql -L/opt/informix/lib/esql -R/opt/informix/lib
-L/opt/informix/lib -lifsql -lifasf -lifgen -lifos -lifgls -ldl -lcrypt
-lphpifx -lifglx

libtool: link: only absolute run-paths are allowed
make[3]: *** [informix.la] Error 1

This can be fixed easily by hand, but I don't know how to fix it with
the configure stuff.  It is still a bug.

------------------------------------------------------------------------

[2002-07-16 01:00:08] [EMAIL PROTECTED]

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2002-06-16 00:31:43] [EMAIL PROTECTED]

Works just fine as shared too. Please let us know if the snapshot works
for you or not.



------------------------------------------------------------------------

[2002-06-15 23:56:08] [EMAIL PROTECTED]

Please try compiling it as shared.  I'll try the same from the
snapshot.

------------------------------------------------------------------------

[2002-06-15 20:37:09] [EMAIL PROTECTED]

This snapshot:

http://snaps.php.net/php4-latest.tar.gz

Works for me with Informix CSDK 2.70.UC3.
Although I did only compile it as static module, not shared.
But it _should_ work fine as shared too.

--Jani




------------------------------------------------------------------------

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/14547

-- 
Edit this bug report at http://bugs.php.net/?id=14547&edit=1

Reply via email to