ID:               20715
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bruno at cameleons dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         ODBC related
 Operating System: Linux 2.4.19
 PHP Version:      4.3.0RC2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


And don't sert any CFLAGS or so when you run configure..
(make sure those are not set in your environment either)



Previous Comments:
------------------------------------------------------------------------

[2003-03-04 10:04:59] bruno at cameleons dot net

After 3 months, I've try again to compile PHP 4.3.1 with Apache 2 and
IBM DB2 support but with no success.
I've tried with PHP 4.3.0, PHP 4.3.1 and PHP latest snapshot.
I've changed the DB2 version: 7.1 > 7.2.
The following configure line failed too:
./configure --with-ibm-db2=shared,/usr/IBMdb2/V7.1

Please Help!

Thanks

------------------------------------------------------------------------

[2003-01-02 18:41:09] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2002-12-05 19:51:34] [EMAIL PROTECTED]

Interestingly enough there have been no changes to the config.m4 with
regards to the ibm-db2 section between those two versions.  Does this
happen only with the db2 option selected?

------------------------------------------------------------------------

[2002-11-29 04:12:49] bruno at cameleons dot net

hi,
I need to compile IBM DB2 support on PHP with Apache 2. With the 4.2.3,
i've the problem with file_exists function and relative path. So, i
downloaded the 4.3.0RC2 version. Everything compile fine but the ODBC
module don't work. Apache send this message:
/usr/sbin/httpd: relocation error: /usr/lib/php4/odbc.so: undefined
symbol: SQLAllocEnv

When i do a ldd command on odbc.so:
        libc.so.6 => /lib/libc.so.6 (0x40011000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

on the 4.2.3 version, the same command do this result: 
       libdb2.so.1 => /usr/IBMdb2/V7.1/lib/libdb2.so.1 (0x4001b000)
        libc.so.6 => /lib/libc.so.6 (0x40843000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4096a000)
        libdl.so.2 => /lib/libdl.so.2 (0x40997000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4099a000)
        libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2
(0x409af000)
        libm.so.6 => /lib/libm.so.6 (0x409f1000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Here's my configure:
CFLAGS="-O2 -march=i686 -funroll-loops -D_REENTRANT -fPIC"; export
CFLAGS
LIBS="-lttf -lfreetype -lpng -ljpeg -lz -lnsl"; export LIBS
EXTENSION_DIR=/usr/lib/php4; export EXTENSION_DIR
IMAP_SHARED_LIBADD=-lc-client ; export IMAP_SHARED_LIBADD

./buildconf
./configure \
--prefix=/usr \
--with-layout=GNU \
--with-apxs2=/usr/sbin/apxs \
--with-config-file-path=/etc/httpd \
--with-exec-dir=/usr/bin \
--with-openssl \
--with-zlib \
--with-bz2 \
--with-gd \
--with-ttf \
--with-png \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-freetype-dir=/usr \
--with-expat-dir=/usr \
--with-gmp \
--with-xml \
--with-imap=shared \
--with-imap-ssl \
--with-mysql=shared,/usr \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-ldap=shared \
--with-pspell \
--disable-debug \
--disable-posix \
--disable-rpath \
--enable-safe-mode \
--enable-magic-quotes \
--enable-bcmath \
--enable-dio \
--enable-gd-native-ttf \
--enable-sysvsem \
--enable-sysvshm \
--enable-wddx \
--enable-pic \
--enable-inline-optimization \
--enable-memory-limit \
--enable-cli \
--enable-force-cgi-redirect \
--with-pear=/usr/share/pear \
--enable-discard-path \
--enable-track-vars \
--enable-ftp \
--with-pdflib=/usr \
--with-ibm-db2=shared,/usr/IBMdb2/V7.1 \
--with-oci8=shared,/usr/oracle/product/9.0.1

Thanks for help

Bruno Meneuvrier


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20715&edit=1

Reply via email to