[rescue] Understanding Err#25 ENOTTY ?

Jonathan Patschke jp at celestrion.net
Wed Jul 9 15:40:25 CDT 2014


On Wed, 9 Jul 2014, Simon Lewis wrote:

> open("/opt/SUNWcluster/lib/libc.so.1", O_RDONLY) Err#2 ENOENT
> open("/oracle/app/oracle/product/7.3.4/lib/libc.so.1", O_RDONLY) Err#2 ENOENT
> open("/opt/SUNWcluster/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT
> open("/oracle/app/oracle/product/7.3.4/lib/libnsl.so.1", O_RDONLY) Err#2 
> ENOENT
> open("/opt/SUNWcluster/lib/libm.so.1", O_RDONLY) Err#2 ENOENT
> open("/oracle/app/oracle/product/7.3.4/lib/libm.so.1", O_RDONLY) Err#2 ENOENT
> open("/opt/SUNWcluster/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT
> open("/oracle/app/oracle/product/7.3.4/lib/libdl.so.1", O_RDONLY) Err#2 
> ENOENT
> open("/opt/SUNWcluster/lib/librt.so.1", O_RDONLY) Err#2 ENOENT
> open("/oracle/app/oracle/product/7.3.4/lib/librt.so.1", O_RDONLY) Err#2 
> ENOENT
> open("/opt/SUNWcluster/lib/libthread.so.1", O_RDONLY) Err#2 ENOENT
> open("/oracle/app/oracle/product/7.3.4/lib/libthread.so.1", O_RDONLY) Err#2 
> ENOENT

Are you sure that isn't just ld.so doing its thing of locating and loading
library files?  You can replicate that behavior (at least on Solaris 11)
by building "Hello, world" and putting in a bunch of superfluous library
search paths and lib references.

-- 
Jonathan Patschke | "Do the difficult things while they are easy and do
Elgin, TX         |  the great things while they are small."
USA               |                                           --Lao Tzu


More information about the rescue mailing list