[Snort-users] Snort with postgresql support

Roman Danyliw roman at ...438...
Wed Sep 4 06:40:05 EDT 2002


Try adding "-lcrypt" to the LIBS variable in the Makefile.

Roman

On Fri, 30 Aug 2002 11:31:47 -0500, "Segree, Gareth"
<Gareth.Segree at ...6763...> wrote :

> I did the following in configuring snort for postgresql support.
> 
> [postgresql 7.2.2] # ./configure --prefix=/usr --sysconfdir=/etc
> --localstatedir=/var/lib/pgsql --mandir=/usr/share/man --disable-shared
> --enable-syslog
> # gmake
> # gmake install
> 
> I am able to query the postgresql db.
> 
> Compiling snort
> ----------------------
> # tar xvzf snort-1.8.7.tar.gz
> # cd snort-1.8.7
> # CFLAGS="-O3 -static -march=i586 -mcpu=i586 -funroll-loops
> -fomit-frame-pointer" ./configure --prefix=/usr --sysconfdir=/etc
> --mandir=/usr/share/man --with-postgresql=/usr/bin
> # make
> 
> I am getting the following error during the make
> /usr/lib/libpq.a(fe-auth.o): In function `pg_password_sendauth':
> fe-auth.o(.text+0xef): undefined reference to `crypt'
> collect2: ld returned 1 exit status
> make[2]: *** [snort] Error 1
> make[2]: Leaving directory `/var/tmp/snort-1.8.7'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/snort-1.8.7'
> make: *** [all-recursive-am] Error 2
> 
> What could be the problem?
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Snort-users mailing list
> Snort-users at lists.sourceforge.net
> Go to this URL to change user options or unsubscribe:
> https://lists.sourceforge.net/lists/listinfo/snort-users
> Snort-users list archive:
> http://www.geocrawler.com/redir-sf.php3?list=snort-users
> 
> 
> 
> 




More information about the Snort-users mailing list