[Solve]

Thanks Paul, I have solved this problem after reads your step that inspired me.

The following are the steps that I did :
1.) I remove the libzdb-2.10.4 folder and re-extract the libzdb-2.10.4.tar.
2.) I go into the extract result and configure the installation like this
./configure --with-postgresql=no --with-sqlite=no --with-oci=no --with-oci-include=no --with-oci-lib=no  --prefix=/project/libzdb-mysql
make
make install
3.) Finish
ldd /project/libzdb-mysql/lib/libzdb.so.8

    linux-gate.so.1 =>  (0x006cf000)
    libnsl.so.1 => /lib/libnsl.so.1 (0x00f89000)
    libm.so.6 => /lib/libm.so.6 (0x004e0000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x007c1000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00261000)
    libc.so.6 => /lib/libc.so.6 (0x008e7000)
    /lib/ld-linux.so.2 (0x00658000)


On 06/26/2012 05:51 AM, Hans Richardo wrote:

> ./configure --with-postgresql=no --with-sqlite=no --with-oci=no
> --with-oci-include=no --with-oci-lib=no --prefix=/project/libzdb-mysql
> Result :
> |  SQLite3:                                  DISABLED  |
> |  MySQL:                                    ENABLED    |
> |  PostgreSQL:                            DISABLED  |
> |  Oracle:                                      DISABLED  |
> It seems the configuration is correct, but after I compile my program
> which use this library, it still request libclntsh.so.11.1,
> libsqlite3.so.0, libnnz11.so (the library for oracle and sqllite)
>
> Is there a bug on "make" libzdb installation or I miss something?


Just did a quick test for this against the current svn-trunk.

I don't have oracle libs so I can't test that:

./bootstrap
./configure --with-postgresql=no --with-mysql=no --prefix=/usr
make
ldd .libs/libzdb.so.8.0.2

    linux-vdso.so.1 =>  (0x00007fffcf1ff000)
    libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
(0x00007f9d0a637000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f9d0a41a000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9d0a05c000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9d09e58000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f9d0ab0b000)


which looks clean to me.


Checking configure.ac for oracle flags I notice an external macro:
AX_LIB_ORACLE_OCI

http://www.gnu.org/software/autoconf-archive/ax_lib_oracle_oci.html

Which leads me to suspect you should just use --with-oci=no and leave
out the other oci options.



maybe that helps.



--
________________________________________________________________
Paul J Stevens        pjstevns @ gmail, twitter, skype, linkedin

  * Premium Hosting Services and Web Application Consultancy *

          www.nfg.nl/info@nfg.nl/+31.85.877.99.97
________________________________________________________________