Re: [gdal-dev] Build OGR with Oracle support

2009-06-23 Thread Mateusz Loskot
Andreas Neumann wrote: > ok - the problem could now be solved by setting the library path in > /etc/ld.so.conf.d/oracle.conf and running ldconfig as root. Then all the > libraries could be found. Somehow the LD_LIBRARY_PATH variable was > constantly ignored, although it was set and could be queried

Re: [gdal-dev] Build OGR with Oracle support

2009-06-23 Thread Mateusz Loskot
Normand Savard wrote: > Mateusz Loskot wrote: >> I maintain macros detecting Oracle (autotools at >> http://github.com/mloskot/workshop/tree/) which are used in GDAL >> and I'm interested in improving it, so feel free to report any problems >> >> > Mateusz, > > I'm wondering if a switch could b

Re: [gdal-dev] Build OGR with Oracle support

2009-06-23 Thread Normand Savard
Normand Savard wrote: Mateusz Loskot wrote: I maintain macros detecting Oracle (autotools at http://github.com/mloskot/workshop/tree/) which are used in GDAL and I'm interested in improving it, so feel free to report any problems Mateusz, I'm wondering if a switch could be add to detect li

Re: [gdal-dev] Build OGR with Oracle support

2009-06-22 Thread Andreas Neumann
ok - the problem could now be solved by setting the library path in /etc/ld.so.conf.d/oracle.conf and running ldconfig as root. Then all the libraries could be found. Somehow the LD_LIBRARY_PATH variable was constantly ignored, although it was set and could be queried with echo $LD_LIBRARY_PATH. It

Re: [gdal-dev] Build OGR with Oracle support

2009-06-21 Thread Andreas Neumann
yes, my setup has nothing to do with fgs-dev This other path maybe appeared from the original email I was answering, but on my machine all the oracle instant client libraries are stored under /usr/local/lib/instantclient_10_2/ and the header files under /usr/local/lib/instantclient_10_2/sdk/

Re: [gdal-dev] Build OGR with Oracle support

2009-06-19 Thread Normand Savard
Andreas Neumann wrote: Hi, I was trying to get OCI support on my Ubuntu server and followed your instructions. I am struggling with the libnnz10.so: libnnz10.so is present and I also set the LD_LIBRARY_PATH accordingly. But the configure script still fails. In the config.log I get the followin

Re: [gdal-dev] Build OGR with Oracle support

2009-06-19 Thread Normand Savard
Andreas Neumann wrote: Hi, I was trying to get OCI support on my Ubuntu server and followed your instructions. I am struggling with the libnnz10.so: libnnz10.so is present and I also set the LD_LIBRARY_PATH accordingly. But the configure script still fails. In the config.log I get the followin

Re: [gdal-dev] Build OGR with Oracle support

2009-06-19 Thread Normand Savard
Mateusz Loskot wrote: Andreas Neumann wrote: /usr/bin/ld: warning: libnnz10.so, needed by /usr/local/lib/instantclient_10_2/libclntsh.so, not found (try using -rpath or -rpath-link) The path above and the path below are different. -L/home/fgs/fgs-dev/built/instantclient_11_1 -lc\ lntsh Ar

Re: [gdal-dev] Build OGR with Oracle support

2009-06-19 Thread Mateusz Loskot
Andreas Neumann wrote: /usr/bin/ld: warning: libnnz10.so, needed by /usr/local/lib/instantclient_10_2/libclntsh.so, not found (try using -rpath or -rpath-link) The path above and the path below are different. -L/home/fgs/fgs-dev/built/instantclient_11_1 -lc\ lntsh Are you sure you configur

Re: [gdal-dev] Build OGR with Oracle support

2009-06-19 Thread Andreas Neumann
Hi, I was trying to get OCI support on my Ubuntu server and followed your instructions. I am struggling with the libnnz10.so: libnnz10.so is present and I also set the LD_LIBRARY_PATH accordingly. But the configure script still fails. In the config.log I get the following messages:

Re: [gdal-dev] Build OGR with Oracle support

2009-06-18 Thread Ivan
Normand, Just a quick complimentary reference: """Instant Client allows you to run your applications without installing the standard Oracle client or having an ORACLE_HOME. OCI, OCCI, Pro*C, ODBC, and JDBC applications work without modification, while using significantly less disk space than b

Re: [gdal-dev] Build OGR with Oracle support

2009-06-18 Thread Normand Savard
Mateusz Loskot wrote: ./configure generates a log file called config.log. If something goes wrong, there should be some diagnostic in this file. It would be helpful if you could share it, for instance, here: http://pastebin.com/ This will help to find what's the problem. Maateusz, You w

Re: [gdal-dev] Build OGR with Oracle support

2009-06-16 Thread Mateusz Loskot
Normand Savard wrote: > I checked in the configure.in script and everything seems alright. > Could someone gives me some hints about why the library is not found? > [...] > > /home/fgs/fgs-dev/built/instantclient_11_1... norm: > -L/home/fgs/fgs-dev/built/instantclient_11_1 -lclntsh > norm: -I/home

[gdal-dev] Build OGR with Oracle support

2009-06-16 Thread Normand Savard
I'm trying to build OGR with Oracle 10g or 11.1 support through FGS. The problem is that the library is not found. If you look to the configure output below I made the CPPFLAGS AND LDFLAGS to be printed out. They both point out to the correct location. I downloaded the basic and sdk client