Snort mailing list archives

Re: error: "mysql support is not compiled in this c opy"


From: "Moyer, Shawn" <smoyer () rgare com>
Date: Mon, 12 Aug 2002 23:15:59 -0500


Your shell doesn't know where the MySQL libraries are.

Try this from the commandline and then add to your script;

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mysql/libl;export LD_LIBRARY_PATH

In the long run, you need need to add /usr/local/lib/mysql to /etc/ld.so.conf and re-run ldconfig; 'man ldconfig' for more details.




--shawn



Ed Kasky wrote:
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



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
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


--
Shawn Moyer
Project Lead - Information Security
Reinsurance Group of America, Inc.
1370 Timberlake Manor Pkwy.
Chesterfield, MO 63017
office: 636.736.7375
mobile: 314.276.7169



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
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: