> Please give me some information regarding your problems:
> 
> - which version of ODBC

How do I find that out?

> - the configure command

Note that I have a compile system set up, so the directory vars below are
available during compile:

./configure \
        --prefix=${PHP_CGI_PREFIX_DIR} \
        --with-config-file-path=${APACHE_PREFIX_DIR}/conf \
        --enable-discard-path \
        --disable-shared \
        --enable-ftp \
        --with-zlib \
        --enable-bcmath \
        --enable-calendar \
        --with-imlib=/usr/local/lib/ \
        --with-iconv=/usr/local/lib \
        --with-jpeg-dir=/usr/lib \
        --with-tiff-dir=/usr/lib \
        --with-sapdb=/opt/sapdb/interfaces/odbc \
        --with-oci8=${ORACLE_DIR} \
        --with-mhash=${MHASH_PREFIX_DIR} \
        --with-mcrypt=${MCRYPT_PREFIX_DIR} \
        --with-dom=${LIBXML2_PREFIX_DIR} \
        --enable-xslt --with-xslt-sablot=${SAB_PREFIX_DIR} \
        --with-curl=${CURL_PREFIX_DIR} \
        --with-expat-dir=${EXPAT_PREFIX_DIR} \
        --enable-wddx \
        --enable-memory-limit \
        --enable-debug=no

> - the shell output

/usr/bin/ld: cannot find -lsqlrte
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/root/bc_install/packages/php-4.1.1.cgi'
make: *** [all-recursive] Error 1

> libsqlrte should not be needed by the ODBC driver since it
> is usually part of it.

Got it.

PHP seems to want it.

> bash$ ldd libsqlod.so
>       libdl.so.2 => /lib/libdl.so.2 (0x2aca6000)
>       libpthread.so.0 => /lib/libpthread.so.0 (0x2aca9000)
>       libc.so.6 => /lib/libc.so.6 (0x2acba000)
>       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x55555000)

root@core config> ldd /opt/sapdb/interfaces/odbc/lib/libsqlod.so
        libdl.so.2 => /lib/libdl.so.2 (0x401c2000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x401c6000)
        libc.so.6 => /lib/libc.so.6 (0x401d9000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

-----

_a


_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to