[odb-users] Re: Problem on building libodb-oracle-1.7.0

Luis Valdés luisvaldes88 at gmail.com
Wed Dec 14 12:40:06 EST 2011


I just change the name of oci.lib to libclntsh.lib and it worked.
oci.lib is the name of the file on windows.
:D

El 14 de diciembre de 2011 14:14, Luis Valdés <luischivaldes at gmail.com>escribió:

> Hi
>
> I am having a problem while configuring  "libodb-oracle-1.7.0" on Windows
> 7 32 bits using MinGW32
>
> Here is my configure sentence
>
>
> ./configure CPPFLAGS="-IC:/MinGW/odb-1.7.0-i686-windows/libodb-1.7.0/odb
> -IC:/Oracle/product/10.2.0/client_1/oci/include"
> LDFLAGS="-LC:/MinGW/odb-1.7.0-i686-windows/libodb-1.7.0/odb/.libs
> -LC:/Oracle/product/10.2.0/client_1/oci/lib/msvc"
>
>
> Here is the problem on the config log
>
> libtool: link: g++ -g -O2 -mthreads -o .libs/conftest conftest.o
>  -LC:/MinGW/odb-1.7.0-i686-windows/libodb-1.7.0/odb/.libs
> -LC:/Oracle/product/10.2.0/client_1/oci/lib/msvc
> -L/c/Oracle/product/10.2.0/client_1/lib -lclntsh -mthreads
> c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe:
> cannot find -lclntsh
> collect2: ld returned 1 exit status
> configure:16916: $? = 1
> configure:16966: result: no
> configure:16968: error: oci is not found; consider using --with-oci=DIR
>
> I dont have libclntsh in my oracle client lib.
> What can I do?
>
> Best Regards
>
>
> --
> Luis Valdes
>



-- 
Luis Valdes


More information about the odb-users mailing list