Skip to content

Instantly share code, notes, and snippets.

@ayjayt
Last active November 20, 2017 03:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayjayt/08b8701cc25ac372d7b384cb5a6bd45d to your computer and use it in GitHub Desktop.
Save ayjayt/08b8701cc25ac372d7b384cb5a6bd45d to your computer and use it in GitHub Desktop.
How to install Eagle 8.4.1 on Linux if you get OpenSSL errors

Special thanks to nate on #openssl and [R] on #linux on Freenode.

I downloaded Eagle 8.4.1 on my Gentoo box, and untar'ed it in my downloads folder. I went to run with ./eagle, but it gave me errors about OpenSSL!

Now, I don't like dumping proprietary software all over my hyper-secure ultima-fast uber-reliable system, so I want to keep Eagle 8.4.1 in it's own folder in ~/Downloads/eagle_-8.4.1/ and just create a shortcut to the binary in there.

Therefore, the full run command for Eagle is (replace $EAGLEHOME with your extracted directory or set EAGLEHOME equal to it):

LD_LIBRARY_PATH=$EAGLEHOME/lib/ $EAGLEHOME/eagle

This tells eagle to use the pre-compiled shared libraries the vendor supplied and NOT the ones installed on my system (if the vendor, Autodesk, supplied one).

But Autodesk supplied the wrong libssh.so.1.0.0, so we are going to fix that.

First, back theirs up:

mv $EAGLEHOME/lib/libssh.so.1.0.0 $EAGLEHOME/lib/libssh.so.1.0.0.old
mv $EAGLEHOME/lib/libcrypto.so.1.0.0 $EAGLEHOME/lib/libcrypto.so.1.0.0.old

Second, download the proper OpenSSL library:

git clone -b OpenSSL_1_0_2-stable https://github.com/openssl/openssl

Third, move into the directory and run the commands:

cd openssl
./config shared
make
make test

Fourth, copy the new files over:

cp libssl.so.1.0.0 $EAGLEHOME/lib/
cp libcrypto.so.1.0.0 $EAGLEHOME/lib/

and Bingo!

Run the proper run command, and it should work just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment