[Snort-users] error: "mysql support is not compiled in this c opy"

Ed Kasky ed at ...3483...
Mon Aug 12 17:08:10 EDT 2002


At 07:27 PM Monday, 8/12/2002, you wrote -=>
>I ran into this same problem.  Try pointing the mysql to
>--with-mysql=/usr/local
>When you run configure, watch for "checking for mysql...yes"  is what should
>show up.

--with-mysql=/usr/local returned
"checking for mysql... no"

However, --with-mysql=/usr/local/mysql returned
"checking for mysql... yes"

And it appears to have compiled properly - finally!!!!!

So, I am making progress...

Only now I get the following:

"Starting snort: /usr/local/bin/snort: error while loading shared 
libraries: libmysqlclient.so.10: cannot open shared object file: No such 
file or directory"

It is there -

contents of /usr/local/mysql/lib/mysql/
drwxr-xr-x    2 root     mysql        4096 Aug 10 23:14 .
drwxr-xr-x    3 root     mysql        4096 Aug 10 23:14 ..
-rw-r--r--    1 root     mysql       12042 Aug 10 23:14 libdbug.a
-rw-r--r--    1 root     mysql       34314 Aug 10 23:14 libheap.a
-rw-r--r--    1 root     mysql       15004 Aug 10 23:14 libmerge.a
-rw-r--r--    1 root     mysql      243666 Aug 10 23:14 libmyisam.a
-rw-r--r--    1 root     mysql       22904 Aug 10 23:14 libmyisammrg.a
-rw-r--r--    1 root     mysql      195826 Aug 10 23:14 libmysqlclient.a
-rwxr-xr-x    1 root     mysql         721 Aug 10 23:14 libmysqlclient.la
lrwxrwxrwx    1 root     mysql          24 Aug 10 23:14 libmysqlclient.so 
-> libmysqlclient.so.10.0.0
lrwxrwxrwx    1 root     mysql          24 Aug 10 23:14 
libmysqlclient.so.10 -> libmysqlclient.so.10.0.0
-rwxr-xr-x    1 root     mysql      138392 Aug 10 23:14 
libmysqlclient.so.10.0.0
-rw-r--r--    1 root     mysql       31772 Aug 10 23:14 libmystrings.a
-rw-r--r--    1 root     mysql      203838 Aug 10 23:14 libmysys.a
-rw-r--r--    1 root     mysql      100556 Aug 10 23:14 libnisam.a

I didn't have nearly this much trouble on a RedHat 6.1 box a year or so ago...

Ed
~~

Ed Kasky
Los Angeles, CA
. . . . . . . .
I was in the supermarket the other day, and I met a lady in
the aisle where they keep the generic brands.  Her name was "woman".
        --Steven Wright





More information about the Snort-users mailing list