Snort mailing list archives

Re: libmysqlclient.so.12


From: Nicholas Brawn <ncb () feralmonkey com>
Date: Sat, 10 Apr 2004 00:20:55 +1000

Quick and dirty solution:

root# ln -s /usr/local/mysql/lib/libmysqlclient.so.12 /usr/lib/libmysqlclient.so.12

Alternatively, depending on your platform you need to edit the ld.so.conf file, so your operating system knows where to look for libraries.

In linux this is /etc/ld.so.conf, in the BSD's it's usually in /etc/rc.conf (or /etc/defaults/rc.conf), not sure what it is on solaris off the top of my head.

I usually use the symlink trick when I run into that issue, solves the problem quickly.

Cheers,
Nick

On 08/04/2004, at 11:52 PM, Gary Borgeson wrote:

Trying to start snort, I get this:

snort: error while loading shared libraries: libmysqlclient.so.12:
cannot open shared object file: No such file or directory

I compiled mysql 4.0.18 by ./configure --prefix=/usr/local/mysql
--with-zlib

And snort with ./configure --with-mysql=/usr/local/mysql

Both ./configure/make/make install's produced no errors.

Got a clue?, G



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
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



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
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: