Snort mailing list archives
Re: postgresql support for snort
From: roman () danyliw com
Date: Sun, 21 Oct 2001 10:25:46 US/Eastern
Snort is not able to find the postgresql shared library at load time. Add the directory with the libpg library (/usr/local/pgsql/lib) to the LD_LIBRARY_PATH enviroment variable (or to /etc/ld.so.conf if your OS supports it). Roman On Sat, 20 Oct 2001, Demetri Mouratis wrote:
Greetings, For some reason I'm having trouble compiling postgresql support into snort. I'm following insturctions to set up an Acid system ala: http://www.andrew.cmu.edu/~rdanyliw/snort/acid_config.html. Here's the snort ./configure line I'm using: # ./configure --with-libpq-includes=/usr/local/pgsql/include --with-libpq-libraries=/usr/local/pgsql/lib And the error when I run snort: # snort: error while loading shared libraries: libpq.so.2: cannot open shared object file: No such file or directory And the contents of /usr/local/pgsql/lib: # ls -la /usr/local/pgsql/lib total 340 drwxr-xr-x 2 postgres root 4096 Oct 18 18:21 . drwxr-xr-x 9 postgres root 4096 Oct 19 00:16 .. -rw-r--r-- 1 postgres root 45450 Oct 18 18:21 libecpg.a lrwxrwxrwx 1 postgres root 16 Oct 18 18:21 libecpg.so -> libecpg.so.3.2.0 lrwxrwxrwx 1 postgres root 16 Oct 18 18:21 libecpg.so.3 -> libecpg.so.3.2.0 -rwxr-xr-x 1 postgres root 39163 Oct 18 18:21 libecpg.so.3.2.0 -rw-r--r-- 1 postgres root 6548 Oct 18 18:21 libpgeasy.a lrwxrwxrwx 1 postgres root 16 Oct 18 18:21 libpgeasy.so -> libpgeasy.so.2.1 lrwxrwxrwx 1 postgres root 16 Oct 18 18:21 libpgeasy.so.2 -> libpgeasy.so.2.1 -rwxr-xr-x 1 postgres root 11007 Oct 18 18:21 libpgeasy.so.2.1 -rw-r--r-- 1 postgres root 67168 Oct 18 18:21 libpq.a lrwxrwxrwx 1 postgres root 12 Oct 18 18:21 libpq.so -> libpq.so.2.1 lrwxrwxrwx 1 postgres root 12 Oct 18 18:21 libpq.so.2 -> libpq.so.2.1 -rwxr-xr-x 1 postgres root 63202 Oct 18 18:21 libpq.so.2.1 -rwxr-xr-x 1 postgres root 80655 Oct 18 18:21 plpgsql.so Any help is greatly appreciated. Thanks. --------------------------------------------------------------------- Demetri Mouratis
dmourati () linfactory com --------------------------------------------- This message was sent using Voicenet WebMail. http://www.voicenet.com/webmail/ _______________________________________________ Snort-users mailing list Snort-users () 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
Current thread:
- postgresql support for snort Demetri Mouratis (Oct 20)
- <Possible follow-ups>
- Re: postgresql support for snort roman (Oct 21)