Re: [PHP4BETA] [PHP4]Linux redhat 6.1, Apache and IBM db2 install problem
| From: | Christian Laursen | Date: | Thu, 04 May 2000 10:11:52 +0000 |
| Subject: | Re: [PHP4BETA] [PHP4]Linux redhat 6.1, Apache and IBM db2 install problem | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14450@lists.php.net to get a copy of this message | ||
LIARD DENIS wrote:
>
> ./configure --with-apxs=/usr/sbin/apxs -- with-dbase --with-mysql
> --with-ibm-db2 --enable-track-vars
>
> It work well;
>
> After we lunch make
>
> the problem is with dl().
> It can not found -ldb2 (cannot open directory) and break the make.
I had the same problem here.
I solved it by doing an "export LDFLAGS='-L/home/db2inst1/sqllib/lib'"
and running make again.
Probably not the right solution, but it seems to work.
--
Best regards
Christian Laursen