|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-05-02 14:35 UTC] d-liard at copiden dot com
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 ! PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Jun 17 17:00:02 2026 UTC |
You have to give the path to your db2 installation, if it is not in the default location. configure --help gives --with-ibm-db2[=DIR] Include IBM DB2 support. DIR is the DB2 base install directory, defaults to /home/db2inst1/sqllib]