[Snort-users] libmysqlclient.so.12

Dirk Geschke Dirk_Geschke at ...1344...
Thu Apr 8 08:35:01 EDT 2004


Hi Gary,

> 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 

yes, the dynamic library is not found on startup, the search
path does not contain /usr/local/mysql/lib/mysql.

Try to start it either with

LD_LIBRARY_PATH=/usr/local/mysql/lib/mysql  snort 

or add the path to the library to the ld.so.conf file
and invoke ldconfig.

Best regards

Dirk





More information about the Snort-users mailing list