there, and that it's executable. However, when I try to execute it,
bash is telling me that:
sprite@diaspora:~/dos/dosemu$ bin/dosemu.bin
-bash: bin/dosemu.bin: No such file or directory
there, and that it's executable. However, when I try to execute it,
bash is telling me that:
sprite@diaspora:~/dos/dosemu$ bin/dosemu.bin
-bash: bin/dosemu.bin: No such file or directory
what does "ls -la ~/dos/dosemu/bin" return?
also, which OS are you using? 64bit or 32bit?
i've seen similar rather misleading errors when the program is looking for 32bit stuff on a 64bit system that doesn't have the 32bit libs available... not sure what is causing your situation without more data...
Hello everybody.
Trying to get dosemu working here so that I can throw some doors online, but I'm having a problem I've not yet encountered. Not quite sure what to do with it.
I'm trying to use the DOSEMU/FreeDos ready-to-use binary distribution. I've unpacked both of the source tarballs into a directory, as it says in the README, and the contents seem to indicate that yes, both freedos (under drive_z) and dosemu's contents have ended up where they're supposed to be. However, when I try to execute $DOSEMUDIR/dosemu, I get the following error: ./dosemu: 277: exec: /home/sprite/dos/dosemu/drive_z/../bin/dosemu.bin: not found
In looking at this file, big surprise, it turns out to be a shell script. At that particular line it's trying to execute $COMMAND, which should be $DOSEMUDIR/bin/dosemu.bin. I've manually verified that this file is there, and that it's executable. However, when I try to execute it, bash is telling me that:
sprite@diaspora:~/dos/dosemu$ bin/dosemu.bin
-bash: bin/dosemu.bin: No such file or directory
Not sure what on earth else to do with this. My google hits aren't really looking like they're turning up much relevant. Anybody else ever had this issue before, or have any suggestions on what I might be able to do here? Anything would be appreciated!
what does "ls -la ~/dos/dosemu/bin" return?
Alright, here's what I've got for the full directory listing there. Be aware, I changed the 'dos' part of the path to 'mydos' when troubleshooting things, so that much is a little different.
When are are executing how your trying to execute it. Via an online door or manually. I see that the permissions are set to sprite:sprite are you logged on as sprite?
NOTE: i'm answering this from VERT since it seems that my post got lost somehow on the way from my system, sestar, to vert... i'm copy'n'pasta my reply that i wrote on sestar... hopefully this will work as desired...
that's fine and the output seems ok... what is the output of this command sequence, please...
echo ; \
uname -a ; \
echo ; \
file ~/mydos/dosemu/bin/dosemu.bin ; \
echo ; \
ldd ~/mydos/dosemu/dosemu.bin
uname -a ; \
echo ; \
file ~/mydos/dosemu/bin/dosemu.bin ; \
echo ; \
ldd ~/mydos/dosemu/dosemu.bin
sprite@diaspora:~/mydos/dosemu$ echo ; \
uname -a ; \
echo ; \
file ~/mydos/dosemu/bin/dosemu.bin ; \
echo ; \
ldd ~/mydos/dosemu/dosemu.bin
Linux diaspora 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux
/home/sprite/mydos/dosemu/bin/dosemu.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, stripped
ldd: /home/sprite/mydos/dosemu/dosemu.bin: No such file or directory sprite@diaspora:~/mydos/dosemu$
Any clues in how that looks?
oops... i made a typo in the above line... it should be
ldd ~/mydos/dosemu/bin/dosemu.bin
yeah, it looks like what i was talking about earlier when i was saying that 64bit systems that try to run 32bit programs can see this seemingly incorrect error message about an executable not existing when it plainly does in a directory listing...
i don't remember how debian does it but you need to install the 32bit libraries and stuff so that your system can run 32bit programs... right now your system appears to only run 64bit stuff... a quick talk with uncle google reminds me that debian based systems call it multiarch... the details of multiarch are in this link...
https://wiki.debian.org/Multiarch/HOWTO
but we're concerned with installing the capabilities... it appears that you're running debian stretch... is this right? if so, here's how you install 32bit capability for it...
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6-i386
BUT! the dosemu i'm using is a 64bit binary as shown in my example output in that previous message... it would probably be easier if you can locate a 64bit binary of dosemu for your system... if there isn't one, maybe find out if you can easily compile one on your system... if you can then maybe consider going that way...
configure: error: Sorry, you need glibc-2.1.3 or newer.
make: *** No rule to make target 'config.status', needed by 'default'. Stop.
sprite@diaspora:/usr/local/src/dosemu-1.4.0$
hummm... according to https://packages.debian.org/source/stretch/glibc stretch should have glibc v2.24-11 if i'm reading the page properly...
i'm not sure what you have there...
but i also found that debian stretch has dosemu as a package already... it is 1.4.0.7... heck, i'm running 1.4.0.8 on my ubuntu system...
https://packages.debian.org/stretch/dosemu
perhaps just try the repo version of dosemu?? i'd clean up everything you've already done, though... then
sudo apt-get install dosemu
and see how that goes... it should install the 64bit version, i think...
Thank you for all the help, I do appreciate the heck out of it.
Sysop: | altere |
---|---|
Location: | Houston, TX |
Users: | 66 |
Nodes: | 4 (0 / 4) |
Uptime: | 00:26:03 |
Calls: | 657 |
Files: | 7,638 |
Messages: | 293,100 |