Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: executable not found



On 2019-10-06 12:10 p.m., Danh Doan wrote:

I think that executable's interpreter couldn't be found.
In case of native executable (i.e not a script), its linked libc couldn't be found. Please check with `ldd'
7 /aWorking/C/Movemouse 2 $ ldd movemouse
    linux-vdso.so.1 (0x00007ffd64a93000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f6de3f0f000)     libXtst.so.6 => /usr/lib/x86_64-linux-gnu/libXtst.so.6 (0x00007f6de3d09000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6de396a000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f6de3742000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6de353e000)
    libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f6de332c000)
    libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f6de311c000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f6de4452000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f6de2f18000)     libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f6de2d12000)
    libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f6de2afc000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6de28f4000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6de26d7000)

7 /aWorking/C/Movemouse 2 $ ldd movemouse,1
    not a dynamic executable

... so that seems like a downer, even tho it is described as an executable binary.  So zsh 'found' it but couldn't execute it? Makes me think that the message should reflect that:

zsh: command found but not executable: movemouse,1

Thanks Dahn



Messages sorted by: Reverse Date, Date, Thread, Author