[Snort-users] postgresql support for snort

Demetri Mouratis dmourati at ...3877...
Sat Oct 20 21:55:14 EDT 2001


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 at ...3878...





More information about the Snort-users mailing list