[Snort-users] Snort with Mysql

Marcone Luis Theisen marcone at ...6675...
Fri Aug 23 08:55:06 EDT 2002


Ok, I'm create a link for libmysql

 ln -s /usr/local/mysql/lib/mysql/libmysqlclient.so.10 
/usr/lib/libmysqlclient.so.10

ldd /usr/local/bin/snort
    libz.so.1 => /usr/lib/libz.so.1 (0x40020000)
    libm.so.6 => /lib/libm.so.6 (0x4002f000)
    libnsl.so.1 => /lib/libnsl.so.1 (0x40051000)
    libmysqlclient.so.10 => /usr/lib/libmysqlclient.so.10 (0x40066000)
    libc.so.6 => /lib/libc.so.6 (0x40083000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x40194000)
    /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Thank's.

Marcone Theisen
CPD - Univates
Brazil


Jim Burwell wrote:

> You can also try doing an 'ldd' on snort to see which libs it's missing.
>
> - Jim
>
>
> Matt Kettler wrote:
>
>> Hmm... do you have any shared libs in /usr/lib, or are they *all* in 
>> /usr/local/lib?
>>
>> I ask because it looks like /usr/lib was replaced with 
>> /usr/local/lib, but you might want both.
>>
>> try using strace snort and see what shared lib it tries to open 
>> before bombing..
>>
>> At 05:52 PM 8/22/2002 -0300, Marcone Luis Theisen wrote:
>>
>>> Hello list,
>>>
>>> I compile the snort with option --with-mysql=/usr/local/mysql..:
>>>
>>> ./configure --with-mysql=/usr/local/mysql
>>> make
>>> make install
>>>
>>> but a receive this message:
>>>
>>> # snort
>>> snort: error while loading shared libraries: cannot open shared
>>> object file: cannot load shared object file: No such file or directory
>>>
>>>
>>> My /etc/ld.so.conf
>>>
>>> /usr/local/lib
>>> /usr/X11R6/lib
>>> /usr/i386-slackware-linux/lib
>>> /opt/gnome/lib
>>> /usr/openwin/lib
>>> /usr/local/mysql/lib/mysql
>>>
>>> #ldconfig
>>>
>>> My /etc/profile
>>>
>>> # Set the default system $PATH:
>>> PATH="/usr/local/src/java/j2sdk1.4.0_01/bin/:/usr/local/pgsql/bin:/usr/local/mysql/bin/: 
>>>
>>> /sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games"
>>>
>>> My file libmysqlclient.so.10 is in /usr/local/mysql/lib/mysql/
>>>
>>> Any ideas ?
>>>
>>> I'm use Slackware 8.0
>>>
>>> Thank's.
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> This sf.net email is sponsored by: OSDN - Tired of that same old
>>> cell phone?  Get a new here for FREE!
>>> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>>> _______________________________________________
>>> 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
>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> This sf.net email is sponsored by: OSDN - Tired of that same old
>> cell phone?  Get a new here for FREE!
>> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>> _______________________________________________
>> 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
>
>
>







More information about the Snort-users mailing list