(JoeRee)

No such file or directory

Recommended Posts

On Ubuntu 16.04 the server worked perfectly.
On Ubuntu 18.04, when you run the command "./cod4x18_dedrun +map mp_killhouse" a message is displayed:
bash: ./cod4x18_dedrun: No such file or directory

Is there a problem?

Share this post


Link to post
Share on other sites
9 hours ago, (JoeRee) said:

On Ubuntu 16.04 the server worked perfectly.
On Ubuntu 18.04, when you run the command "./cod4x18_dedrun +map mp_killhouse" a message is displayed:
bash: ./cod4x18_dedrun: No such file or directory

Is there a problem?

Have you made the dedrun executable?

chmod +x cod4x18_dedrun

Share this post


Link to post
Share on other sites
3 hours ago, Koaja said:

Have you made the dedrun executable?

chmod +x cod4x18_dedrun

Oh, sure.

Moreover, the file cod4x18_dedrun_dbg behaves the same way... Is there something missing in Linux?

Share this post


Link to post
Share on other sites

if the file exists and is readable there is a 3rd possibibility. cod4x18_dedrun is a 32bit executable, if you are using it on a 64bit os the 32bit runtime needs to be installed. on ubuntu specifically:

sudo dpkg --add-architecture i386
sudo apt-get update

Share this post


Link to post
Share on other sites
Posted (edited)
5 hours ago, dpj said:

if the file exists and is readable there is a 3rd possibibility. cod4x18_dedrun is a 32bit executable, if you are using it on a 64bit os the 32bit runtime needs to be installed. on ubuntu specifically:


sudo dpkg --add-architecture i386
sudo apt-get update

This commands didn't work.

Helped the next instruction (here) :

Quote

sudo apt install -y libcurl4:i386 libasound2-plugins:i386 libnghttp2-14:i386 libpsl5:i386 librtmp1:i386 libspeexdsp1:i386 libssl1.0.0:i386 libgtk2.0-0:i386 libnss3:i386 libtcmalloc-minimal4:i386 lib32z1 libsm6:i386 lib32ncurses5 lib32gcc1 lib32stdc++6 libvulkan1 libvulkan1:i386 libvulkan-dev libvulkan-dev:i386 mesa-vulkan-drivers mesa-vulkan-drivers:i386 vulkan-utils aria2 p7zip p7zip-full cabextract curl icoutils libcurl4 libmspack0 libcapi20-3 libcapi20-3:i386 libexif12:i386 libgd3:i386 libglu1-mesa:i386 libgphoto2-6:i386 libgphoto2-port12:i386 libgpm2:i386 libgsm1:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhx509-5-heimdal:i386 libicu60:i386 libieee1284-3:i386 libkrb5-26-heimdal:i386 liblcms2-2:i386 libldap-2.4-2:i386 libmpg123-0:i386 libncurses5:i386 libodbc1 libodbc1:i386 libopenal1:i386 libosmesa6 libosmesa6:i386 libpcap0.8:i386 libsane1:i386 libsasl2-2:i386 libsqlite3-0:i386 libssl1.1:i386 libusb-1.0-0:i386 libv4l-0:i386 libv4lconvert0:i386 libwind0-heimdal:i386 libxml2:i386 libxpm4:i386 libxslt1.1:i386 libgd-tools:i386 gphoto2:i386 gpm:i386 odbc-postgresql tdsodbc odbc-postgresql:i386 tdsodbc:i386 libportaudio2:i386 winbind dosbox libcapi20-3 libcapi20-3:i386 libexif12:i386 libgd3:i386 libglu1-mesa:i386 libgphoto2-6:i386 libgphoto2-port12:i386 libgpm2:i386 libgsm1:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhx509-5-heimdal:i386 libicu60:i386 libieee1284-3:i386 libkrb5-26-heimdal:i386 liblcms2-2:i386 libldap-2.4-2:i386 libsdl2-2.0-0:i386 libsdl2-image-2.0-0:i386 arj p7zip-rar rar unace xterm xfonts-cronyx-cp1251-100dpi libjpeg62 libjpeg62:i386 gstreamer1.0-plugins-base:i386 libcap2:i386 libcdparanoia0:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libopus0:i386 liborc-0.4-0:i386 libtheora0:i386 libvisual-0.4-0:i386 libwxgtk3.0-gtk3-0v5 ocl-icd-libopencl1 ocl-icd-libopencl1:i386 mesa-opencl-icd mesa-opencl-icd:i386 unrar ttf-mscorefonts-installer

But anyway, thanks - helped.

Edited by (JoeRee)

Share this post


Link to post
Share on other sites
1 hour ago, (JoeRee) said:

This commands didn't work.

Helped the next instruction (here) :

But anyway, thanks - helped.

all you need is the c standard library. all that crap isn't required. but i'm glad it worked out for you^^

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.