Re: root of glibc does not work at Linux-S.u.S.E(with glibc)

From: Ye Shuwei (yesw@ihp.phys.ethz.ch)
Date: Thu Aug 27 1998 - 13:07:13 MEST


Hi, Nikolay,

    Thanks. I do not think any problem with the volume mount. I can run any
other executables I copied into $ROOTSYS/bin. Or I copied out root into other
directory, it still does not work.

     In addition, I have two additional executables in $ROOTSYS/bin, proofd
and proofserv dated with Mar-30. They can be run. All others are older than
Jul-26 except rootd of Apr-8.

     Now I can not proceed on after choking with the problem.

     Anyway, thanks for all your kind suggestions.

--Shuwei

On Thu, 27 Aug 1998, Nikolay I. Root wrote:

>Hi, Ye,
>
>It looks, that You mount the volume with ${ROOTSYS}/bin without
>'exec' priv.  (in /etc/fstab  - 'noexec' option).
>To check it - copy the any executable (that You belive) in ${ROOTSYS}/bin
>and try to run it.
>Try also 'ldd ./root' to check that shared libs are found.
>(but in that case, You should have other diagnostics...)
>
>Otherwise - I can only assume, that You have a 'hacked/broken' kernel !!!
>
>Yours, Nikolay.
>
>On Thu, 27 Aug 1998, Ye Shuwei wrote:
>
>> 
>> Hi, Jens,
>> 
>>     Thanks for your mail. I tried strace for all the executables located in
>> $ROOTSYS/bin, it always gave
>> 
>> strace: exec: No such file or directory
>> 
>> The detail is (under $ROOTSYS/bin)
>> 
>>   > strace ./root
>> execve("./root", ["./root"], [/* 53 vars */]) = 0
>> strace: exec: No such file or directory
>> 
>>   > strace ./cint
>> execve("./cint", ["./cint"], [/* 53 vars */]) = 0
>> strace: exec: No such file or directory
>> 
>>   > strace ./g2root
>> execve("./g2root", ["./g2root"], [/* 53 vars */]) = 0
>> strace: exec: No such file or directory
>> 
>>   > strace ./h2root
>> execve("./h2root", ["./h2root"], [/* 53 vars */]) = 0
>> strace: exec: No such file or directory
>> 
>>    It even fails for g2root and h2root which is written in fortran !
>> 
>>    In the directory of $ROOTSYS/bin, I have files
>> -rwxr-xr-x   1 root     root         8964 Jul 28 13:44 cint*
>> -rwxr-xr-x   1 root     root       460928 Jul 28 14:07 g2root*
>> -rwxr-xr-x   1 root     root       652432 Jul 28 14:07 h2root*
>> -rwxr-xr-x   1 root     root       162327 Jul 28 14:06 root*
>> -rwxr-xr-x   1 root     root         6591 Jul 28 14:06 root.exe*
>> -rwxr-xr-x   1 root     root        28173 Jul 28 14:06 rootcint*
>> -rwxr-xr-x   1 root     root        48840 Jun 20 11:18 rootd*
>> 
>>     I can not explain.
>> 
>>     Does anyone use ROOT with glibc under Linux ? Have any ideas ? Thanks.
>> 
>>  --Shuwei
>> 
>> 
>> On 27 Aug 1998, Jens Ritter wrote:
>> 
>> > Ye Shuwei <yesw@ihp.phys.ethz.ch> writes:
>> > 
>> > > Hi, Rene,
>> > > 
>> > >     I am sure that I have put $ROOTSYS/bin in my path and it comes the first
>> > > of all. Even I entered the directory $ROOTSYS/bin, then type "./root", not,
>> > > the machine gave the same message.
>> > > 
>> > > ./root: Command not found.
>> > 
>> > As root isn't a shell script, I guess it is run but can`t find
>> > root.exe. Try running strace ./root. You will see which files it
>> > want4s to open and where it fails.
>> > 
>> > Jens
>> > -- 
>> > Jens.Ritter@weh.rwth-aachen.de       grimaldi@debian.org
>> > KeyID: 2048/E451C639 1998/01/28
>> > Print: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37
>> > 
>> > 
>> 
>
>
>                               Nikolay Root
>                               BINP, Novosibirsk
>                               email : nroot@inp.nsk.su
>
>



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:37 MET