[Snort-users] Snort on OpenBSD -- finding mysqlclient library

Jeff Nathan jeff at ...950...
Thu Dec 4 10:44:08 EST 2003

Hash: SHA1

OpenBSD allows you to easily specify "extra" directories to search for  
libraries when it builds the "run time library cache" (usually at boot  

To specify the extra directories, edit the /etc/rc.conf file and locate  
the line that begins with shlib_dirs.

You can specify multiple directories by separating them with a space.   
For example:

shlib_dirs="/usr/local/mysql /usr/local/pgsql"

Because this is interpreted as a shell script, you can also achieve the  
same result by using this syntax:


I looked through the OpenBSD FAQ and I didn't come across a section  
describing this.  However I did find it on one of their mailing lists.   
(Their FAQ is a work in progress that's always improving).

Take a look at:


- -Jeff

On Dec 4, 2003, at 11:34 AM, dlbox at ...5068... wrote:

> I know is may be slightly off-topic, but the OpenBSD people are NOT  
> newbie friendly. First let me state, I am an OpenBSD newbie, but I've  
> got a book and have been doing plenty of research online (newgroups,  
> archived MLs)
> I can get snort to complile and install just fine. However, snort  
> cannot find libmysqlclient.so.12.0 on its own. I have to do this:
> # ldconfig -m /usr/local/mysql/lib/mysql
> Then snort will run and log to mysql just fine.
> My question is: "Is this normal behavior to expect, or am I missing  
> something?"
> Here is my setup:
> OpenBSD 3.4 i386
> MySQL 4.0.16 (./configure --prefix=/usr/local/mysql  
> --localstatedir=/var/mysql)
> Snort 2.0.5 (./configure --with-mysql=/usr/local/mysql)
> HW:
> Intel Pentium 4 3.06GHz
> 80B HD
> Quad NIC (dc0-dc3)
> -joe
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for  
> IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys  
> admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Snort-users mailing list
> Snort-users at 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

- --
Custom packets with little to no money down.
Version: GnuPG v1.2.3 (Darwin)


More information about the Snort-users mailing list