26 January 2015

Installing Eagle 7.2.0 on Fedora 20 x64

Recently I had a problem with installing Eagle PCB 7.2.0 on my Fedora 20. What I tried:

$ wget http://web.cadsoft.de/ftp/eagle/program/7.2/eagle-lin-7.2.0.run
$ chmod +x eagle-lin-7.2.0.run
$ ./eagle-lin-7.2.0.run
Ensure the following 32 bit libraries are available:
libXrandr.so.2 => not found
libssl.so.1.0.0 => not found
libcrypto.so.1.0.0 => not found
/tmp/eagle-setup.7965/eagle-7.2.0/bin/eagle: error while loading shared libraries: libXrandr.so.2: cannot open shared object file: No such file or directory
The first thing I searched for is libXrandr.
$ yum provides libXrandr
Loaded plugins: langpacks
libXrandr-1.4.1-2.fc20.i686 : X.Org X11 libXrandr runtime library
Repo : fedora

libXrandr-1.4.1-2.fc20.x86_64 : X.Org X11 libXrandr runtime library
Repo : fedora

As we can see, libXrandr is available in the libXrandr-1.4.1-2.fc20.i686 package. So, we install it:

$ sudo yum install libXrandr.i686

The other libraries (libssl and libcrypto) are a part of the opensssl-libs package. In my system that package is already installed, but in /lib I had that libraries:

$ ls -l lib*{ssl,crypto}*
lrwxrwxrwx. 1 root root      19 12-21 14:42 libcrypto.so.10 -> libcrypto.so.1.0.1e
-rwxr-xr-x. 1 root root 1875248 10-16 12:59 libcrypto.so.1.0.1e
lrwxrwxrwx. 1 root root      23 12-21 14:42 libgnutls-xssl.so.0 -> libgnutls-xssl.so.0.0.0
-rwxr-xr-x. 1 root root   85444 11-10 10:18 libgnutls-xssl.so.0.0.0
lrwxrwxrwx. 1 root root      18 12-21 14:42 libk5crypto.so.3 -> libk5crypto.so.3.1
-rwxr-xr-x. 1 root root  217604 08-08 02:19 libk5crypto.so.3.1
-rwxr-xr-x. 1 root root  250604 12-16 20:46 libssl3.so
lrwxrwxrwx. 1 root root      16 12-21 14:42 libssl.so.10 -> libssl.so.1.0.1e
-rwxr-xr-x. 1 root root  414920 10-16 12:59 libssl.so.1.0.1e

So, I need libssl.so.1.0.0 and libcrypto.so.1.0.0. The easiest way is to make a symbolic link for each of required library.

$ sudo ln -s libssl.so.1.0.1e libssl.so.1.0.0
$ sudo ln -s libcrypto.so.1.0.1e libcrypto.so.1.0.0

Finally we have proper libraries in /lib directory:

$ ls -l lib*{ssl,crypto}*
lrwxrwxrwx. 1 root root      19 12-21 14:42 libcrypto.so.10 -> libcrypto.so.1.0.1e
lrwxrwxrwx. 1 root root      19 01-20 17:52 libcrypto.so.1.0.0 -> libcrypto.so.1.0.1e
-rwxr-xr-x. 1 root root 1875248 10-16 12:59 libcrypto.so.1.0.1e
lrwxrwxrwx. 1 root root      23 12-21 14:42 libgnutls-xssl.so.0 -> libgnutls-xssl.so.0.0.0
-rwxr-xr-x. 1 root root   85444 11-10 10:18 libgnutls-xssl.so.0.0.0
lrwxrwxrwx. 1 root root      18 12-21 14:42 libk5crypto.so.3 -> libk5crypto.so.3.1
-rwxr-xr-x. 1 root root  217604 08-08 02:19 libk5crypto.so.3.1
-rwxr-xr-x. 1 root root  250604 12-16 20:46 libssl3.so
lrwxrwxrwx. 1 root root      16 12-21 14:42 libssl.so.10 -> libssl.so.1.0.1e
lrwxrwxrwx. 1 root root      16 01-20 17:51 libssl.so.1.0.0 -> libssl.so.1.0.1e
-rwxr-xr-x. 1 root root  414920 10-16 12:59 libssl.so.1.0.1e

No comments:

Post a Comment