PHP 4.0 Bug #5154: apache compile fails when php compiled with --with-ibm-db2

From: Date: Tue, 20 Jun 2000 17:53:27 +0000
Subject: PHP 4.0 Bug #5154: apache compile fails when php compiled with --with-ibm-db2
Groups: php.dev 
Request: Send a blank email to php-dev+get-21869@lists.php.net to get a copy of this message
From: marshall.lewis@ScholarOne.com Operating system: Linux PHP version: 4.0.0 Release PHP Bug Type: Compile Failure Bug description: apache compile fails when php compiled with --with-ibm-db2 I get the same error as bug# 4550 I can alter src/modules/php4/libphp4.module .. adding the text -Wl,-rpath,/opt/db2inst1/sqllib/lib -L/opt/db2inst1/sqllib/lib and it will compile correctly (should be obvious, but /opt/db2inst1/sqllib/lib is the location of my instances lib directory) also of note (although this has nothing to do with PHP's coding.. but it could be added to the documentation) is that in order to use IBM DB2 in PHP, the DB2INSTANCE environmental variable must be set (to your instance name) prior to starting Apache (or whatever webserver is in use)...

« previous php.dev (#21869) next »