Snort mailing list archives

RE: Snort Startup Erro - "libmysqlclient.so.12 not found"


From: "O'Flynn, Derek" <DOFlyn () lsuhsc edu>
Date: Thu, 16 Oct 2003 20:05:44 -0500

I will check on that, however, the libs are installed, and the client is
installed as well, it compiled all the src.  I found the libs installed in
/usr/local/mysql/lib/mysql, however, I tried using that with the
--with-mysql compile, but then it doesn't find mysql.  I did find some
documentation on adding the library path to the dynamic linker, but need to
look around at where I put the path to look at.

Derek

-----Original Message-----
From: Erek Adams [mailto:erek () snort org] 
Sent: Thursday, October 16, 2003 7:53 PM
To: O'Flynn, Derek
Cc: 'snort-users () lists sourceforge net'
Subject: Re: [Snort-users] Snort Startup Erro - "libmysqlclient.so.12 not
found"

On Thu, 16 Oct 2003, O'Flynn, Derek wrote:

I compiled all from source.

I compiled mysql with -prefix=/usr/local/mysql
I compiled snort with --with-mysql=/usr/local/mysql --enable-flexresp

# snort -v
/usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.12" not found

I'm running on FreeBSD 5.1

Any hints.  I have setup snort on Redhat 7.3 and FreeBSD 4.3 and don't
recall seeing this error before.

It means that you don't have the mysql client installed.  Make sure that
you have the mysql and mysql-devel packages installed on the box.

If you have that installed, then change the  --with-mysql=/usr/local/mysql
path to /usr/local instead and see if that makes a difference.

Cheers!

-----
Erek Adams

   "When things get weird, the weird turn pro."   H.S. Thompson

Current thread: