Re: [suse-programming-e] URGENT -- Cannot run compiled programs from GCC -- SuSE 9.2
What's "ldd a.out" telling?
Here is what I get from 'ldd' : erebus:/home/gpapa05/temp # ldd -r a.out not a dynamic executable
What says "strace ./a.out"?
and for 'strace' : erebus:/home/gpapa05/temp # strace ./a.out strace: exec: Permission denied execve("./a.out", ["./a.out"], [/* 55 vars */]) = 0 Any idea ??? It seems to me that I have no access to the system library ! Thanks, -- gp
Giorgos Papamarkos
erebus:/home/gpapa05/temp # strace ./a.out strace: exec: Permission denied execve("./a.out", ["./a.out"], [/* 55 vars */]) = 0
Any idea ??? It seems to me that I have no access to the system library !
No, it could also mean that a.out is on a filesystem that was mounted noexec, i.e. everything on that filesystem can't be executed. That's for instance the default for partitions a user may mount, i.e. partitions having the "user" mount option without an accompanying "exec" in /etc/fstab. Philipp
On Wednesday 17 November 2004 19:02, Giorgos Papamarkos wrote:
What's "ldd a.out" telling?
Here is what I get from 'ldd' :
erebus:/home/gpapa05/temp # ldd -r a.out not a dynamic executable
What says "strace ./a.out"?
and for 'strace' :
erebus:/home/gpapa05/temp # strace ./a.out strace: exec: Permission denied execve("./a.out", ["./a.out"], [/* 55 vars */]) = 0
Any idea ??? It seems to me that I have no access to the system library !
Most likely the partition where a.out is is mounted 'noexec'. If you have 'user' as a mount option you need to have 'exec' after it
participants (3)
-
Anders Johansson
-
Giorgos Papamarkos
-
Philipp Thomas