On Tue, Jan 28, 2020 at 2:10 PM Michael Barnes <barnmich...@gmail.com> wrote:
> > On Tue, Jan 28, 2020 at 2:02 PM wes <p...@the-wes.com> wrote: > >> There is not actually an asterisk at the end of this file name; the -F >> flag >> to ls presents this to help identify executable files. >> >> The "No such file" error likely originates from a shared library this >> particular binary is trying to call. >> >> try ldd linbpq >> >> -wes >> >> >> > Looks like Wes may be on to something here. > > michael@Desk4:~/ham_stuff/linbpq$ ldd linbpq > not a dynamic executable > > Not sure I understand what that means. Here is the part of the install > script that created this file: > > mkdir linbpq > cd linbpq > wget -nv http://www.cantab.net/users/john.wiseman/Downloads/Beta/$LINBPQ > -O linbpq > chmod +x linbpq > > For "everyone else" , this "just works". Once the script runs that > installs this file and associated config files, they say to run > ./linbpq > and the app runs, period. > > For me, not so much. > > Michael > > > Thanks to Wes, I Googled "not a dynamic executable" which led me to run michael@Desk4:~/ham_stuff/linbpq$ file ./linbpq ./linbpq: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 2.6.32, BuildID[sha1]=449e4c74b8b576fc06a041f5ee6aa1880384ccff, with debug_info, not stripped Which indicated I was trying to run a 32-bit app on a 64-bit machine. It was suggested I run sudo apt-get install lib32z1 lib32ncurses5 libstdc++5:i386 after which the file now runs as advertised. Thanks, Michael _______________________________________________ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug