[CMake] No Such File or Directory

Marcel Loose marcel.loose at zonnet.nl
Sat Aug 16 19:11:39 EDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-08-14 om 22:02 schreef David Zemon:
> Hello,
> 
> After downloading the 3.0.1 binary Linux distribution of CMake, I
> am running into the following bash error:
> 
> *david at fresh-ubuntu:~/**PropWare/util$* cmake bash:
> /home/david/cmake-3.0.1-Linux-i386/bin/cmake: No such file or 
> directory *david at fresh-ubuntu:~/**PropWare/util$* which cmake 
> /home/david/cmake-3.0.1-Linux-i386/bin/cmake 
> *david at fresh-ubuntu:~/**PropWare/util$* 
> /home/david/cmake-3.0.1-Linux-i386/bin/cmake bash:
> /home/david/cmake-3.0.1-Linux-i386/bin/cmake: No such file or 
> directory *david at fresh-ubuntu:~/PropWare/util$*
> 
> Does anyone have any idea why? This problem seems to have existed
> for quite a long time as I am seeing evidence of it 
> <http://www.cfd-online.com/Forums/openfoam/64045-cmake-no-such-file-directory.html>
>
> 
as far back as 2009.
> 
> The system in question is a fresh installation of Ubuntu 14.04
> 64-bit running in VirtualBox. CMake has never been installed on the
> machine before. The only non-default packages installed are git,
> vim, make and VirtualBox Guest Additions.
> 
> Thanks, David
> 
> 
Hi David,

- From the directory name where your cmake resides, I gather this is a
32-bit version. If you have a 64-bit Ubuntu, then you must install the
32-bit libraries. Unfortunately, bash its error message is far from
clear in that respect :(

Usually, it boils down to installing the package ia32-libs, but I
heard some rumors that more recent Ubuntu's no longer support
multi-arch by default. In that case you might need to run the
following command:

	sudo dpkg --add-architecture i386

After that you will be able to install all 32-bit libraries at once
(package ia32-libs), or one at a time, by just specifying the
architecture of the package, e.g. libc6:i386.

Hope this helps,
Marcel Loose.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJT7+UrAAoJEEpMyb1AIWdYH8EH/2xcKu1vtXuoGvMDEzFZwkos
DRsR3BPjiU5MYyoGIaatIH7N4ioR6r0vniS4r+BP4qDqbt33Wuv/UHTMbGTN3iyf
4HCJI3xCEO6MCDpkhl59EciRyQb4GmFM9pi/NYDzTUaPvfQoLQ/ZldHaP0jkm72q
AEt51Y1bsc3p822Hv68AD2BFDwkf2VUsg+ooB1vhlo1qn0nlbyAqkmk0nSKs2thh
Zsi0gbfxuRNFILUBC8pvMw62QSmcqYZD6SaYViFGvCUMSn7If8nJvEwiVWKpcOr3
+agyi8a6adAiHGI/AMtzB0DJYB82olMwjhR19H9rIaaAcxdxefNRs6951b4J31k=
=No1X
-----END PGP SIGNATURE-----


More information about the CMake mailing list