[PHP-DEV] PHP 4.0 Bug #5154 Updated: apache compile fails when php compiled with --with-ibm-db2 From: Bug Database (php-dev <email protected>)
Date: 08/20/00

ID: 5154
User Update by: marshall.lewis <email protected>
Status: Feedback
Bug Type: Compile Failure
Description: apache compile fails when php compiled with --with-ibm-db2

For PHP:
./configure --prefix=/opt/apache --with-config-file-path=/opt/apache/conf --disable-debug --enable-track-vars --disable-short-tags --with-apache=/opt/server_build/apache_1.3.12 --with-dbase --enable-ftp --with-mysql=/opt/mysql --with-pgsql=/usr --enable-trans-sid --enable-sysvsem --enable-sysvshm --enable-xml --with-ibm-db2=/opt/db2inst1/sqllib --enable-wddx --enable-inline-optimization

I also received an email from some that says he found a true fix for it:
---------
I have a similar issue when building a loadable module (libphp4.so) for
apache. Everything compiles fine but the link fails. Turns out that the
configure script is broken (and I suspect it is for other ODBC-api
databases). Adding the line:

ODBC_LFLAGS=-L$ODBC_LIBDIR

directly under the line

ODBC_INCLUDE=-I$ODBC_INCDIR

in the --with-ibm-db2 part of the configure file fixes the problem.

I took the liberty of emailing you as I cannot be bothered applying for a
CVS account to just submit a bug report.

Also, if it is of interest to you, php-3.0.16 will not work with IBM DB2
V7.1 on RedHat Linux 6.1, apache core dumps every time.

Please feel free to contribute this information on my behalf.

john...

John Howie
System Architect
Paradigm Investment Services
JHowie <email protected>
---------

I would have posted that sooner, but for some reason everytime I tried to modify this bug it would ask me for cvs account information , which I don't have. (it's not now.. I must have been going about it the wrong way)

Full Bug description available at: http://bugs.php.net/?id=5154

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>