compiler error while compiling php4.0.0 --with-apxs --with-ibm-db2

[email protected] ("David Fallon")
Newsgroups php.version4
Message-ID <[email protected]>
/bin/sh /home/dfallon/php-4.0.0/libtool --silent --mode=link
gcc -g -O2 -Wall   -o libphp4.la -rpath
/home/dfallon/php-4.0.0/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 php_content_types.lo strlcpy.lo strlcat.lo mergesort.lo
reentrancy.lo php_variables.lo php_ticks.lo php_virtual_cwd.lo
Zend/libZend.la sapi/apache/libsapi.la regex/libregex.la ext/db/libdb.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 -lgd -lresolv -lm -ldl -lcrypt -l
nsl -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 `/home/dfallon/php-4.0.0'
make: *** [all-recursive] Error 1

Any thoughts?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.