mysql is in my USE variables, and when doing an "emerge net-misc/snort", mysql support does not get compiled in. z portage # ldd /usr/bin/snort libpcap.so.0 => /usr/lib/libpcap.so.0 (0x40023000) libm.so.6 => /lib/libm.so.6 (0x40043000) libnsl.so.1 => /lib/libnsl.so.1 (0x40065000) libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x4007b000) libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x400a9000) libc.so.6 => /lib/libc.so.6 (0x4016b000) libdl.so.2 => /lib/libdl.so.2 (0x40298000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) z portage # When the build executes, it should pass the --with-mysql=<path to mysql> option to the ./configure script.
dupe. this works fine here with --with-mysql.