Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Ubuntu - libocijdbc11.so: libaio.so.1: cannot open shared object file.

853356Apr 6 2011 — edited Apr 7 2011
I was trying to fix the "no ocijdbc11 in java.library.path" error, which has been discussed previously.

9400338
701816
2138364
717172

As I understand, the general advice was that you needed to set your ORACLE_HOME variable, which I did in the shell script that starts sql developer:
sqldeveloper.sh
#!/bin/bash
ORACLE_HOME=/opt/oracle/instantclient/
export ORACLE_HOME

The file which it had been complaining about is in that folder, and it seems to find it, but now I get an error "libocijdbc11.so: libaio.so.1: cannot open shared object file."

Where can I get this libaio.so file?

Or am I going about this wrong?

(I have seen other people talking about a file ".tnsnames.ora". Not clear to me how that is related, but I don't have that file. http://mikesmithers.wordpress.com/2010/01/03/solved-%E2%80%93-the-mystery-of-sqldeveloper-and-the-missing-ocijdbc11/)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 5 2011
Added on Apr 6 2011
1 comment
638 views