Closed raviolli closed 4 years ago
Smells like you compiled with an older boost, upgraded boost, and now it's missing the version the binary was compiled with. Recompile.
Hi Ken, thanks for helping me out with this... I recompiled it and it just can't seem to locate the library. Are how you search for the library.. is there a default path or something I should know of?
_./lmplz: error while loading shared libraries: libboost_programoptions.so.1.72.0: cannot open shared object file: No such file or directory
How is boost installed? If I had to guess, it's in your home directory or something. In which case, you need to set LD_LIBRARY_PATH to the directory that file is found.
Thanks,
I have it installed in the lower level of the File system and have soft links to it through my environment.
Thanks it was the LD_LIBRARY_PATH.
I set the PATH but it didn't work..
I'm getting this error when using kenlm. I have it working on other systems.
_error while loading shared libraries: libboost_programoptions.so.1.58.0
I also installed this:
sudo apt-get install build-essential libboost-all-dev cmake zlib1g-dev libbz2-dev liblzma-dev
Is there some weird issue with dependency at compile time for kenlm?