[unixODBC-support] Connecting to Oracle Express

Nick Gorham nick at lurcher.org
Thu May 7 20:27:38 BST 2009


Ken Resander wrote:
> Many thanks for your super-fast response.
>
> Yes, the lib in the Drivers line exists.
>
> As an old Windowser currently migrating to Ubuntu I am not yet too hot 
> on the Linux command line. For example, did not know about the ldd 
> command, but read the manual and issued it with alacrity:
>
> ken at ken-desktop:~$ ldd 
> /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1
>     linux-gate.so.1 =>  (0xb7fba000)
>     libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f0c000)
>     libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7ee6000)
>     libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ecc000)
>     libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7eb3000)
>     libclntsh.so.10.1 => not found
>     libodbcinst.so.1 => /usr/lib/libodbcinst.so.1 (0xb7ea6000)
>     libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d48000)
>     /lib/ld-linux.so.2 (0xb7fbb000)
>     libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb7d3e000)
>
> ldd reports libclntsh.so.10.1 => not found, but it exists as shown by:
>
> ken at ken-desktop:~$ locate libclntsh.so.10.1
> /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
>
> in the same directory as libsqora.so file.
>
> Don't understand how to interpret this.
>
> Ken
>
> P.S. I have googled on '.../libsqora.so.10.1 missing' and there are 
> several matches, but none helped. One or two replies suggested the 
> LD_LIBRARY_PATH environment needs to be set. I thought this variable 
> is for the linker only. Is it used by the runtime support also?
>
Add the path to the LD_LIBRARY_PATH, it affects the run time resolution 
of lib searches;

-- 
Nick


More information about the unixODBC-support mailing list