Been there, done that, didn't get a T-shirt.
I knew I would forget to put some information in my post. 🙁
Me env for Informix IS this at the time I run make:
INFORMIXDIR=/usr/infx7.23
LD_LIBRARY_PATH=/usr/infx7.23/lib:/usr/infx7.23/lib/esql
I'm not using GNU compiler, so don't have 'ldconfig', not sure what you are trying to tell me with that statement...(!?)
I run the configure script that comes with PHP 4.0.3pl1 (WHAT happened to the setup script all the documentation talks about ?)
./configure --with-apache=/src/apache_1.3.14 --with-informix=/usr/infx7.23 --enable-track-vars
Configure runs fine, I do note it doesn't display anything when it says it is checking Informix version... just a blank.
I run make and get the oh-so-elusive (--enable-pull-hair-out-now=yes) libtool error:
libtool: link: cannot build libtool library `libinformix.la' from non-libtool ob
jects: /usr/lib/libgen.a
I've got a flat spot on my head from banging it on the tables and walls ....
Kristinn Soffanias Runarsson wrote:
Hi there, try this
edit your environment:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/informix/lib:/opt/informix/lib/esql (or where your informix resides)
INFORMIXDIR=/opt/informix (or where your informix resides)
then run ldconfig and then run your make
regards,
kristinn