Error While Loading Shared Libraries Libdl.so.2 Oracle
Contents |
loading shared libraries: libdl.so.2: cannot
Sqlplus Error While Loading Shared Libraries Libaio.so.1 Cannot Open Shared Object File
open shared object file: No such file or directory sqlplus error while loading shared libraries libclntsh.so.11.1 cannot open shared object file December 12, 2011 / troubleshooting / By sarath / 1 COMMENTS Today I libsqlplus so not found have faced some library file issue while bringing up the OAM components. Environment Details We have installed the base version of osinfra
Libsqlplus.so: Cannot Open Shared Object File: No Such File Or Directory
application server (version: 101401) and then we applied osinfra patch (p7215628_101430_LINUX). OHS not starting after Webpass installation. Even after setting LD_ASSUME_KERNEL parameter in opmn.xml and commenting perl and php modules in httpd.conf file. Cause: Setting the environment variable LD_ASSUME_KERNEL was the causing below error
Libclntshcore.so.12.1: Cannot Open Shared Object File: No Such File Or Directory
message. /bin/sh: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directorySolution 1. Set environment variable as XD_ASSUME_KERNEL instead of LD_ASSUME_KERNEL. If not working then follow the second step. 2. Open the start_ois_server.sh file under
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more libclntsh.so.12.1: file too short about Stack Overflow the company Business Learn more about hiring developers or posting ads
Libdl.so.2 Not Found
with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and error while loading shared libraries: cannot open shared object file: no such file or directory answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best http://onlineappsdba.com/index.php/2011/12/12/binsh-error-while-loading-shared-libraries-libdlso2-cannot-open-shared-object-file-no-such-file-or-directory/ answers are voted up and rise to the top Can not start Oracle after installation up vote 1 down vote favorite I'm using Lenovo G580 under intel i5 third generation with 4GB RAM. I'm trying to install Oracle 11g standard edition After completing all pre installation and post installation procedures, when I started sqlplus I got an error, something like this: sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared http://unix.stackexchange.com/questions/79488/can-not-start-oracle-after-installation object file: No such file or directory I've searched many websites, but I didn't get clear way to rectify this. What do I need to do to get rid of this error? libraries oracle-database share|improve this question edited Feb 10 '14 at 22:42 jasonwryan 34.9k983133 asked Jun 15 '13 at 5:51 Thiyagu ATR 10615 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote Potential Issue #1 Your issue is most likely being caused by sqlplus' .so libraries not being on the LD_LIBRARY_PATH. You can set this environment variable so that it's correct: # /path/to/11g/folder/where/sqlpluslib $ export LD_LIBRARY_PATH=/path/to/11g/folder/where Potential Issue #2 Based on your comments on my answer and on @maxschlepzig answer I would surmise that your installation wasn't done correctly. I would suggest doing the installation again. Oracle can be a bit tricky to install. Here are some instructions specifically geared for 11gR2 and Ubuntu 12.04. HOWTO install Oracle 11g on Ubuntu Linux 12.04 (Precise Pangolin) 64bits share|improve this answer edited Jun 15 '13 at 10:22 answered Jun 15 '13 at 6:31 slm♦ 165k40303474 ya even i thought this might be the problem but this is not.see my ENV variables... export ORACLE_HOME=u01/app/oracle/product/11.2.0/dbhome_1 export PATH=$PATH:/u01/app/oracle/product/11.2.0/dbhome_1/bin export ORACLE_OWNR=oracle export ORACLE_SID=orcl LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH –Thi
loading shared libraries: libstdc++.so.5 Issues related to applications and software problems Post http://www.centos.org/forums/viewtopic.php?t=53333 Reply Print view Search Advanced search 3 posts • http://stackoverflow.com/questions/10619298/libaio-so-1-cannot-open-shared-object-file Page 1 of 1 Mohaddeseh Posts: 9 Joined: 2013/11/09 05:34:44 [SOLVED]error while loading shared libraries: libstdc++.so.5 Quote Postby Mohaddeseh » 2015/07/13 08:01:45 Dear experts,Recently, I have installed Rocks-6.1.1 on our systems.I have install ifort 11.1, however I cannot open can not compile any program and it gives me such an error."/opt/intel/Compiler/11.1/064/bin/intel64/fortcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory"I am sending some information about our system:[root@cluster lib]# uname -a Linux cluster.khayam.local 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 19:59:55 cannot open shared UTC 2014 x86_64 x86_64 x86_64 GNU/Linux[root@cluster lib]# ldconfig -v|grep libstdc++ldconfig: Path `/lib64' given more than onceldconfig: Path `/usr/lib64' given more than onceldconfig: Can't stat /usr/kerberos/lib64: No such file or directoryldconfig: Path `/lib' given more than onceldconfig: Path `/lib64' given more than onceldconfig: Path `/usr/lib' given more than onceldconfig: Path `/usr/lib64' given more than once libstdc++.so.6 -> libstdc++.so.6.0.13 libstdc++.so.5 -> libstdc++.so.5.0.7 libstdc++.so.6 -> libstdc++.so.6.0.13[root@cluster lib]# ldd /opt/intel/Compiler/11.1/064/bin/intel64/fortcom linux-vdso.so.1 => (0x00007fff62bc9000) libm.so.6 => /lib64/libm.so.6 (0x0000003a78400000) libstdc++.so.5 => not found libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003a7c400000) libc.so.6 => /lib64/libc.so.6 (0x0000003a78000000) libdl.so.2 => /lib64/libdl.so.2 (0x0000003a78800000) /lib64/ld-linux-x86-64.so.2 (0x0000003a77c00000)[root@cluster lib]# ls -al /usr/lib/libstdc++.so.5-rwxr-xr-x 2 root root 733292 Nov 12 2010 /usr/lib/libstdc++.so.5[root@cluster lib]# yum whatprovides libstdc++.so.5compat-libstdc++-33-3.2.3-69.el6.i686 : Compatibility standard C++ librariesRepo : Rocks-6.1.1Matched from:Other : libstdc++.so.5compat-libstdc++-33-3.2.3-69.el6.i686 : Compatibility standard C++ librariesRepo : installedMatched from:Other : Provides-match: libstdc++.so.5[root@cluster lib]# yum provides */libstdc++.so.5compat-libstdc++-33-3.2.3-69.el6.x86_64 : Compatibility standard C++ librariesRepo :
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up libaio.so.1: cannot open shared object file up vote 22 down vote favorite 3 I have a simple test program that when I run I get: ./hello: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory I link it like this: $(CC) $(CCFLAGS) -o hello hello.o -L../ocilib-3.9.3/src/.libs -L../instantclient_11_2 -locilib My LD_LIBRARY_PATH contains this: LD_LIBRARY_PATH=../ocilib-3.9.3/src/.libs:../instantclient_11_2:/usr/lib /usr/lib looks like this: Linux$ ls -l /usr/lib/libaio* lrwxrwxrwx 1 root root 15 Nov 5 2008 /usr/lib/libaio.so.1 -> libaio.so.1.0.1 -rwxr-xr-x 1 root root 2632 Sep 16 2005 /usr/lib/libaio.so.1.0.0 -rwxr-xr-x 1 root root 2628 Sep 16 2005 /usr/lib/libaio.so.1.0.1 Output of ldd hello: libocilib.so.3 => ../ocilib-3.9.3/src/.libs/libocilib.so.3 (0x0000002a95558000) libc.so.6 => /lib64/tls/libc.so.6 (0x0000003811200000) libclntsh.so.11.1 => ../instantclient_11_2/libclntsh.so.11.1 (0x0000002a956c4000) /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000) libnnz11.so => ../instantclient_11_2/libnnz11.so (0x0000002a97f56000) libdl.so.2 => /lib64/libdl.so.2 (0x0000003811500000) libm.so.6 => /lib64/tls/libm.so.6 (0x0000003811700000) libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000003811b00000) libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003819000000) libaio.so.1 => not found I'm hoping that I'm missing something simple here. The oracle instantclient package appears to require libaio, but that seems to be installed already so what's the problem? linux oracle oci share|improve this question edited May 16 '12 at 13:27 asked May 16 '12 at 13:11 wytten 7681526 1 Post the output of $ ldd hello. –trojanfoe May 16 '12 at 13:17 It looks like you need a 64-bit version of the library which you do not have. –n.m. May 16 '12 at 13:38 add a comment| 5 Answers 5 active oldest votes up vote 26 down vote accepted It looks like a 32/64 bit mismatch. The ldd output shows that mainly libraries from /lib64 are chosen. That would indicate that you have installed a 64 bit version of the Oracle client and hav