FreeBSD Port: snort-

jhell jhell at
Thu Oct 28 05:25:16 UTC 2010

On 10/27/2010 17:59, ignace peeters wrote:
> Hello,
> I'm trying to build and install snort,running into the following
> recuring error:
> /bin/sh /usr/local/bin/libtool --tag=CC    --mode=link cc  -O2 -pipe
> -fno-strict-aliasing -fvisibility=hidden -fno-strict-aliasing -Wall 
> -module -lssl -lcrypto -L/usr/local/lib -L/usr/local/lib

> -Wl,-R/usr/local/lib -lpcre -L -L/usr/local/lib -L/usr/local/lib -ldnet

The error seems to happen in here '-L' as stated by the error below
leads me to believe that something in your make.conf, make.conf.local
and possibly ports-mgmt/portconf and whatever config files it might use
if you use that might be causing it.

Can you double check those files and verify that there is no lines that
would affect the flags passed to the linker or configure to cause that
to appear ?

> -o -rpath /usr/local/lib/snort/dynamicpreprocessor
> smtp_config.lo smtp_log.lo  smtp_normalize.lo smtp_util.lo
> smtp_xlink2state.lo  snort_smtp.lo spp_smtp.lo ssl.lo 
> sf_dynamic_preproc_lib.lo  sfPolicyUserData.lo  -ldnet -lpq -lc -lpcre
> -lpcap -lm -lm  -lpq
> libtool: link: require no space between `-L' and `-L/usr/local/lib'
> The error occurs in multiple Makefiles. Can this be corrected in the
> ports collection.



More information about the freebsd-ports mailing list