On 06/27/15 09:12, Wong Peter wrote:
> Dear All,
> 
> I had installed Snort but cannot run it.
> 
> Error Message: Can't load library liblzma.s0.2.0
> 
> What need to install? I had install the lzlib but still cannot solved it.
> Which packages need to install or how to tell snort to look up the shared
> library?
> 
try xz, it should have been installed with snort, current version does
include the dependency.
For 5.7 the dependency is missing.


$ pkg_info -Sq snort
snort-2.9.7.3,@daq-2.0.5,@libdnet-1.12p10,@pcre-8.37p0,@xz-5.2.1,c.80.0,crypto.34.0,daq.2.1,dnet.1.0,lzma.2.1,m.9.0,pcap.8.0,pcre.3.0,pthread.19.0,z.5.0
$ pkg_info -f xz | grep lzma.so
@lib lib/liblzma.so.2.1

The pkglocatedb package should help to find any missing packages...

$ pkg_locate lzma.so.2
xz-5.2.1:archivers/xz:/usr/local/lib/liblzma.so.2.1

Reply via email to