PHP 4.0 Bug #4295: MAKE ERROR when execute libtool
| From: | d-liard at copiden dot com | Date: | Tue, 02 May 2000 12:35:14 +0000 |
| Subject: | PHP 4.0 Bug #4295: MAKE ERROR when execute libtool | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18350@lists.php.net to get a copy of this message | ||
From: d-liard@copiden.com
Operating system: LINUX REDHAT 6.1
PHP version: 4.0 Release Candidate 1
PHP Bug Type: ODBC related
Bug description: MAKE ERROR when execute libtool
We do the configure like :
./configure --with-apxs=/usr/sbin/apxs --with-dbase --with-mysql --with-ibm-db2
It work fine.
After we lunch make.
When make execute :
/bin/sh ./libtool --silent --mode=link gcc -g -O2 -Wall -o libphp4.la -rpath
/travail/php-4.0RC1/libs -avoid-version main.lo internal_functions.lo snprintf.lo php_sprintf.lo
configuration-parser.lo configuration-scanner.lo safe_mode.lo fopen-wrappers.lo php_realpath.lo
alloca.lo php_ini.lo SAPI.lo rfc1867.lo dlist.lo php_content_types.lo strlcpy.lo strlcat.lo
mergesort.lo reentrancy.lo php_variables.lo php_ticks.lo Zend/libZend.la sapi/apache/libsapi.la
regex/libregex.la ext/db/libdb.la ext/dbase/libdbase.la ext/gd/libgd.la ext/mysql/libmysql.la
ext/odbc/libodbc.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la
ext/standard/libstandard.la ext/xml/libxml.la -lgdbm -ldb2 -lpam -ldl -ldl -lttf -lgd -lresolv -lm
-lcrypt -lnsl -lresolv
/usr/bin/ld: cannot open -ldb2: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/travail/php-4.0RC1'
make: *** [all-recursive] Error 1
We have IBM db2 CLI installed. I do'nt understand what the matter !
Help, please or I will be creasy !