Problem compiling PHP with IBM DB2
| From: | Jason Williams | Date: | Wed, 19 Feb 2003 23:54:19 +0000 |
| Subject: | Problem compiling PHP with IBM DB2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10108@lists.php.net to get a copy of this message | ||
Hello everyone.
I am currently attempting to compile PHP 4.3.1 with support for IBM DB2. I have read all the documentation and followed what was recommended. However, I am having a problem when it comes to "make install".
"Make" works great. Its when I run 'make install' is where the problem occurs. Here is the error output:
/home/downloads/php-4.3.1/sapi/cli/php: error while loading shared libraries: libdb2.so.1: cannot open shared object file: No such file or directory
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
I cant seem to figure out what the problem is.
Here are the options I am using when I am installing PHP:
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-ibm-db2=/home/db2inst1/sqllib
Anyone have any ideas on what is going wrong, and how I can fix this?
Thank you.
Jason