CadSoft Eagle 6.2 in Fedora 17 x86_64

I've been using CadSoft Eagle in Linux for years. But it's been a little while since I've had a chance to tinker with my robotics projects. Turns out the installatin isn't quite as simple as it once was. Here is how I got Eagle running in 64-bit Fedora 17.

CadSoft Eagle PCB Design running in Fedora 17

CadSoft Eagle is pre-compiled proprietary software. It's also compiled against some libraries that are a bit outdated. In a nutshell, to run the Eagle installer you need the following files, compiled for a 32-bit architecture, located in /usr/lib.

  • libssl.so.1.0.0
  • libcrypto.so.1.0.0
  • libpng14.so.14
  • libjpeg.so.8

Being that these 4 files are a bit outdated and 32-bit, Fedora 17 x86_64 users are not going to have them readily available. Apparantly, CadSoft will email these files to you if you contact them at support@cadsoftusa.com. I've also seen some forums where users have posted these files (use at your own risk!), however, the few links I tried were not working. But if you get your hands on these files you can simply drop them into /usr/lib and you should be good to go.

Me on the other hand... I'm not afraid of building software from source.

Install libssl.so.1.0.0 and libcrypto.so.1.0.0

The libssl.so.1.0.0 and libcrypto.so.1.0.0 files are actually provided by the openssl package. You just need to install the 32-bit package and create symlinks to them as the name Eagle is expecting to find.

su
yum install openssl.i686 
ln -s /usr/lib/libssl.so.1.0.0j /usr/lib/libssl.so.1.0.0
ln -s /usr/lib/libcrypto.so.1.0.0j /usr/lib/libcrypto.so.1.0.0

Install libpng14.so.14

libpng14.so.14 is a little more tricky. Fedora (and many other modern Linux distros) jumped from libpng 1.2 to 1.5. There are not officially maintained packages for 1.4. But it's actually relatively simple to compile libpng from source.

A couple of 32-bit dependencies are needed to build these libraries.

yum install glibc-devel.i686 zlib-devel.i686

A few arguments to the configure script specify that the library should be built for a 32-bit architecture and installed to /usr rather than /usr/local.

wget ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.4.12.tar.gz
tar -xzf libpng-1.4.12.tar.gz
cd libpng-1.4.12
./configure --prefix=/usr --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
make
su
make install

Install libjpeg.so.8

Newer versions of Fedora use libjpeg-turbo, a fork of the original libjpeg. But, the same process used for libpng can be repeated to build libjpeg.so.8.

wget http://www.ijg.org/files/jpegsrc.v8d.tar.gz
tar -xzf jpegsrc.v8d.tar.gz
cd jpeg-8d/
./configure --prefix=/usr --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
make
su
make install

Install CadSoft Eagle

With those 4 libraries in /usr/lib the Eagle installer should run without any issues.

  wget ftp://ftp.cadsoft.de/eagle/program/6.2/eagle-lin-6.2.0.run
  chmod a+x eagle-lin-6.2.0.run
  ./eagle-lin-6.2.0.run

Create a Desktop Entry (Menu Launcher)

To easily launch Eagle like any other application you can install a "Desktop Entry" file to ~/.local/share/applicaions. Assuming you installed Eagle in your home directory:

/home/YOUR_USER_NAME/.local/share/applications/eagle.desktop

[Desktop Entry]
Icon=/home/YOUR_USER_NAME/eagle-6.2.0/bin/eagleicon50.png
Type=Application
Name=Eagle
Exec=/home/YOUR_USER_NAME/eagle-6.2.0/bin/eagle

CadSoft Eagle Schematic Editor running in Fedora 17

Did you enjoy CadSoft Eagle 6.2 in Fedora 17 x86_64? If you would like to help support my work, A donation of a buck or two would be very much appreciated.
blog comments powered by Disqus
Linux Servers on the Cloud IN MINUTES