Category: Eagle Cadsoft

Install Cadsoft Eagle 6.0.0/6.1.0/6.2.0 on 64bit GNU/Linux

This tutorial will show how to install Eagle 6.1.0 on your Linux x64 machine based on Ubuntu. The following procedure have been tested on Linux Mint 13 Mate edition x64.

 

Download the binary directly from Cadsoft website

In my case I have eagle-lin-6.1.0.run downloaded in /home/cesare/downloads/

The Cadsoft Eagle FAQs explain the necessity to install some i386 libraries because Eagle is basically a 32bit application.

Enter the installation folder and try to run the installer

cd /home/cesare/downloads
sh eagle-lin-6.1.0.run
eagle-lin-6.1.0.run: 108: eagle-lin-6.1.0.run: /tmp/eagle-setup.1859/eagle-6.1.0/bin/eagle: not found

Fix the error installing the missing 32bit packages

sudo apt-get install lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6-i386 ia32-libs

Install Eagle in your default development folder

sh eagle-lin-6.1.0.run /home/cesare/development/

EAGLE has been installed to '/home/cesare/development/eagle-6.1.0'.
To run EAGLE, call '/home/cesare/development/eagle-6.1.0/bin/eagle'.

If we try to launch the application we get another error:

./development/eagle-6.1.0/bin/eagle
./development/eagle-6.1.0/bin/eagle: error while loading shared libraries: libpng14.so.14: cannot open shared object file: No such file or directory

Unfortunately the libpng14.so library isn’t contained in any packages available in the official Ubuntu repository.

Doesn’t matter, download the sources and compile it in /tmp

sudo apt-get install build-essential gcc-multilib lib32z1-dev lib32z1-dev
wget http://www.sourceforge.net/projects/libpng/files/libpng14/older-releases/1.4.11/libpng-1.4.11.tar.gz
tar zxf libpng-1.4.11.tar.gz
cd libpng-1.4.11
./configure --prefix=/tmp CFLAGS=-m32
make check
make install
cd

Now move the .so library to /usr/local/lib/

sudo cp /tmp/lib/libpng14.so.14.11.0 /usr/local/lib/

Create a specific symbolic link

sudo ln -s -t /usr/lib/i386-linux-gnu/ /usr/local/lib/libpng14.so.14.11.0
sudo mv /usr/lib/i386-linux-gnu/libpng14.so.14.11.0 /usr/lib/i386-linux-gnu/libpng14.so.14

We still have some stuff in /tmp but it is not necessary to clean it up because it will be flushed at the next boot.

Before launching Eagle check the libraries dependencies:

ldd ./development/eagle-6.1.0/bin/eagle
 linux-gate.so.1 =>  (0xf772e000)
 libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf7705000)
 libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xf76fc000)
 libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xf76f0000)
 libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf7656000)
 libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xf7622000)
 libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf7610000)
 libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf74dc000)
 libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf74d6000)
 libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xf74c6000)
 libpng14.so.14 => /usr/lib/i386-linux-gnu/libpng14.so.14 (0xf7496000)
 libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf747b000)
 librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7472000)
 libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0xf741b000)
 libcrypto.so.1.0.0 => /lib/i386-linux-gnu/libcrypto.so.1.0.0 (0xf7270000)
 libjpeg.so.8 => /usr/lib/i386-linux-gnu/libjpeg.so.8 (0xf7219000)
 libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7134000)
 libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7108000)
 libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf70e9000)
 libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf6f3f000)
 libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf6f29000)
 libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf6f23000)
 libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xf6ef9000)
 libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf6ed7000)
 /lib/ld-linux.so.2 (0xf772f000)
 libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf6ed3000)
 libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf6ecc000)

Seems everything fine now. Enjoy Eagle.

./development/eagle-6.1.0/bin/eagle

 

WordPress Themes