On Sat, Oct 22, 2016 at 11:18 AM, Hiep Pham <hieppso194(a)gmail.com> wrote:
Hi sir
After gcc my c file and run, i found this error "libhs.so.4: cannot open
shared object file: No such file or directory". How i can solve it?. Thank
you.
Best regrads,
Hiep
You linked your program with Hyperscan as with dynamic library (file
libhs.so.4). You should either install hyperscan with `sudo make
install` (or `sudo checkinstall` if you want it to look like Debian
package and remove it later with `dpkg -r`) to put this library to
/usr/lib. Or you can add path to current location of this file to
LD_LIBRARY_PATH environment variable. Another option is to link
statically by adding -static flag to gcc options.
--
Best regards,
Boris Nagaev