falconpl/falcon

libfalcon_engine.so.1: cannot open shared object file: No such file or directory

ZianElijahSmith opened this issue · 2 comments

This might possibly be an issue on my part.

I downloaded a copy of the source code directly from this Github.
I was able to compile it (which is nice, the source code from the website does not compile).

After running:
sudo make install
sudo make

I found the falcon binary. After trying to run the falcon binary, I receive the following message.

~/FalconPL/Falcon1/falcon-master/build/bin$ falcon
falcon: error while loading shared libraries: libfalcon_engine.so.1: cannot open shared object file: No such file or directory

Is this an issue where I made a mistake? Or is this an issue where something in the source code needs to be updated?
For reference, I compiled on Debian 10. I have used terminal commands to trying to find libfalcon_engine.so.1, but can't find it.

You can fix by adding the lib directory where you installed Falcon to the cache of shared libraries:

echo "/INSTALL_PREFIX/lib" | sudo tee /etc/ld.so.conf.d/falcon.conf > /dev/null
sudo ldconfig

Silly me.

falcon

Thank you very much, the issue is fixed and I have falcon running. Thanks again!