php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4295 MAKE ERROR when execute libtool
Submitted: 2000-05-02 14:35 UTC Modified: 2000-06-20 12:06 UTC
From: d-liard at copiden dot com Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0 Release Candidate 1 OS: LINUX REDHAT 6.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: d-liard at copiden dot com
New email:
PHP Version: OS:

 

 [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 !

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-20 12:06 UTC] kara at cvs dot php dot net
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]
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 17:00:02 2026 UTC