Friday, January 24, 2014

Linux Eagle 6.5.0 missing libssl.so.1.0.0 and libcrypto.so.1.0.0 How to

So excited to know the popular Eagle CAD an Electronic Design Automation tool is available
in Linux
. So got it download from cadsoftusa freeware. I am running Fedora 19 64bit
Kernel is 3.11.10-200.fc19.x86_64.

The eagle CAD is pre-compiled, so executed with
$ ~/eagle-6.5.0/bin/eagle
It throw error that libssl.so.1.0.0 not found.

I have made sure that OpenSSL is installed. Why it could not found the shared library.
$ locate libssl
/usr/lib/.libssl.so.1.0.1e.hmac
/usr/lib/.libssl.so.10.hmac
/usr/lib/libssl.so.1.0.1e
/usr/lib/libssl.so.10
/usr/lib64/.libssl.so.1.0.1e.hmac
/usr/lib64/.libssl.so.10.hmac
/usr/lib64/libssl.so.1.0.1e
/usr/lib64/libssl.so.10

Ahah! The solution is simple, just create a new symlink foreach lib and lib64:
# cd /usr/lib
# ln -s /usr/lib/libssl.so.10 /usr/lib/libssl.so.1.0.0
# ln -s /usr/lib/libcrypto.so.10 /usr/lib/libcrypto.so.1.0.0
# cd /usr/lib64
# ln -s /usr/lib/libssl.so.10 /usr/lib/libssl.so.1.0.0
# ln -s /usr/lib/libcrypto.so.10 /usr/lib/libcrypto.so.1.0.0
**) notice that i use '#' to denote creating the symlink using root

I found out that the Eagle CAD needs the libcrypto.so.1.0.0 too.
Now it runs smoothly. Have fun!

No comments: