Compiling ht://Check on OS X
In case you’re trying to configure ht://Check on OS X and running into
dyld: lazy symbol binding failed: Symbol not found: _mysql_init Referenced from: /usr/local/htcheck/lib/htcheck/libhtmysql-1.2.4.dylib Expected in: flat namespace dyld: Symbol not found: _mysql_init Referenced from: /usr/local/htcheck/lib/htcheck/libhtmysql-1.2.4.dylib Expected in: flat namespace Trace/BPT trapor you’re getting this when you try to
make
/usr/bin/ld: Undefined symbols: _compress _uncompress collect2: ld returned 1 exit statusThen compile like this:
export EXTRA_LIBS='-lz' ./configure --prefix=/usr/local/htcheck --with-mysql=/usr/local/mysql --enable-static --disable-shared make sudo make install..and you’ll save yourself a few hours’ frustration.
