adrci: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory
Pour résoudre cette erreur, il suffit d'assigner l'emplacement de la librairie à l'aide de la variable d'environnement LD_LIBRARY_PATH. Voici la démarche complète :
[oracle@LABVMSL64-WLSEE]$ adrci
adrci: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory
[oracle@LABVMSL64-WLSEE]$ which adrci
/u01/oracle/Middleware/wlserver_10.3/server/adr/adrci
[oracle@LABVMSL64-WLSEE]$ ldd /u01/oracle/Middleware/wlserver_10.3/server/adr/adrci
linux-gate.so.1 => (0xffffe000)
libclntsh.so.11.1 => not found
libnnz11.so => not found
libdl.so.2 => /lib/libdl.so.2 (0x00b87000)
libm.so.6 => /lib/libm.so.6 (0x00ba7000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00b8d000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00d0a000)
libc.so.6 => /lib/libc.so.6 (0x00a3f000)
/lib/ld-linux.so.2 (0x00a21000)
[oracle@LABVMSL64-WLSEE]$ echo $LD_LIBRARY_PATH
/u01/oracle/Middleware/patch_wls1036/profiles/default/native:/u01/oracle/Middleware/wlserver_10.3/server/native/linux/i686:/u01/oracle/Middleware/wlserver_10.3/server/native/linux/i686/oci920_8
[oracle@LABVMSL64-WLSEE]$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/u01/oracle/Middleware/wlserver_10.3/server/adr
[oracle@LABVMSL64-WLSEE]$ adrci
ADRCI: Release 11.2.0.2.0 - Production on Tue Oct 1 14:57:48 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
No ADR base is set
adrci>
Aucun commentaire:
Publier un commentaire