User forums > Using Code::Blocks

-lclsntsh, -lnnz11, -locci not found in c++ conection with oracle programm

<< < (2/2)

sodev:
Does that file exist? Is it in one of the paths your ldconfig specifies? Is it in one of the paths your LD_LIBRARY_PATH specifies? Does it have the correct architecture?

Rahul:
yes this file exists :-

--- Code: ---[root@client64ora11gr2 instantclient_11_2]# ll /usr/lib/oracle/11.2/client64/lib/libclntsh.so
lrwxrwxrwx. 1 root root 17 Dec  5 16:14 /usr/lib/oracle/11.2/client64/lib/libclntsh.so -> libclntsh.so.11.1
[root@client64ora11gr2 instantclient_11_2]# ll /usr/lib/oracle/11.2/client64/lib/libclntsh.so.11.1
-rw-r--r--. 1 root root 53865194 Aug 24  2013 /usr/lib/oracle/11.2/client64/lib/libclntsh.so.11.1

--- End code ---

also asecond problem arises when i ran these commands:

--- Code: ---# chown -R rahul:rahul /opt/instantclient_11_2/
--- End code ---
and

--- Code: ---# chmod -R 775 /opt/instantclient_11_2/
--- End code ---

after that when i ran sqlplus:

--- Code: ---# sqlplus scott/tiger@orcl
Segmentation fault (core dumped)

--- End code ---
what should about this.

Navigation

[0] Message Index

[*] Previous page

Go to full version