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.