Skip to content. | Skip to navigation

Sections
You are here: Home Support Knowledge Base Ubuntu 'No such file or directory' error

Ubuntu 'No such file or directory' error

Whenever I try to run a Xilinx or PetaLinux tool on Ubuntu 11.04 or 11.10, 64-bit, I get an error 'bash: No such file or directory'

Problem Description

Attempting to run the mb-gcc compiler tools, or petalinux-* tools in a recent Ubuntu 64-bit installation, gives a 'No such file or directory' error.

Background

The PetaLinux tools, and many of the Xilinx tools, are compiled in a 32-bit environment.  To run 32-bit applications on a 64-bit Linux distribution, the 32-bit compatibility libraries must first be installed.

Resolution

To resolve this issue you must install the 32-bit compatibility libraries from the standard Ubuntu repositories.  The steps required are shown below.  You will require root access on your machine to do this - if in doubt please check with your local system administrator before proceeding.

$ sudo apt-get install ia32-libs
Document Actions
Quick Contact
Our users say

Meanwhile, we have been working with the PetaLinux SDK and are excited.  This makes it really easy to build genuine SOCs. 

Oliver Punk
Merseburg University of Applied Sciences

 
Site by:
Personal tools