Hello everyone, have exhausted all other options to this point. Plenty of people having similar problems on the 'net, but no answers.
I am running Mandrake 9.2 and trying to do a snort-php-mysql install. Couldn't get Mysql to run as advertised so I ended up installing it from the Mandrake CD's. Its version is 4.0.15-1. Got that running, and everything else until I got to starting Snort. It would not start, checking the syslog revealed I did not compile mysql support into snort, oops. Problem was, the RPM placed MYSQL in a different directory than what the Snort compile was asking for.
So back I go to recompile snort with MYSQL support. I run the following command: ./configure --with-mysql
I get an error saying can't find mysql header files. OKAY, it seems I did not install the sql-devel package which has the header files. Mind you, these ar enot listed anywhere on the Mandrake CD's. I end up finding those files on the Mysql site for 4.0.15-0 and installed them.
Now, I got compile and it includes Mysql support: YES and compiles fine. BUT, when I do the Make command I get the following error:
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
can't find MySQL client?? huh?? I used it earlier to verify my databases are working, at least I thought.
LibMySQlclient.so.12.0.0 exists in /usr/lib
Perhaps me entries in lib.so.conf are wrong?
Please help, and let me know if you need additional info,