Re: executable won't execute
On 05/13/2010 07:36 PM, Kent West wrote:
I'm trying to start a daemon for Maple v 14, but when I try to run it,
the system complains that the file doesn't exist. What's up?
westk[@]goshen.acu.edu]:/usr/local/Maple_Network_Tools/FLEXlm/11.7:> ls -lh
total 2.8M
lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmcksum -> lmutil
lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmdiag -> lmutil
lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmdown -> lmutil
-rwxr-xr-x 1 root staff 854K 2010-05-13 16:04 lmgrd
lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmhostid -> lmutil
lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lminstall -> lmutil
lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmremove -> lmutil
lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmreread -> lmutil
lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmstat -> lmutil
lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmswitchr -> lmutil
-rwxr-xr-x 1 root staff 979K 2010-05-13 16:04 lmutil
lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmver -> lmutil
-rwxr-xr-x 1 root staff 962K 2010-05-13 16:04 maplelmg
westk[@]goshen.acu.edu]:/usr/local/Maple_Network_Tools/FLEXlm/11.7:>
sudo ./lmgrd
sudo: unable to execute ./lmgrd: No such file or directory
Why sudo when lmgrd is world executable?
westk[@]goshen.acu.edu]:/usr/local/Maple_Network_Tools/FLEXlm/11.7:> ldd
lmgrd
/usr/bin/ldd: line 117: ./lmgrd: No such file or directory
An LD_PATH issue?
--
Dissent is patriotic, remember?
Reply to: