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.htmlWhich 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
________________________________________________________________