<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Jason's Weblog: Compiling ht://Check on OS X</title>
    <link>http://www.jasongarber.com/articles/2007/06/01/compiling-ht-check-on-os-x</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Compiling ht://Check on OS X</title>
      <description>In case you&amp;#8217;re trying to configure ht://Check on &lt;span class="caps"&gt;OS X&lt;/span&gt; and running into 
&lt;pre&gt;
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 trap
&lt;/pre&gt;

or you&amp;#8217;re getting this when you try to &lt;code&gt;make&lt;/code&gt;
&lt;pre&gt;
/usr/bin/ld: Undefined symbols:
_compress
_uncompress
collect2: ld returned 1 exit status
&lt;/pre&gt;

Then compile like this:
&lt;pre&gt;
export EXTRA_LIBS='-lz'
./configure --prefix=/usr/local/htcheck --with-mysql=/usr/local/mysql --enable-static --disable-shared
make
sudo make install
&lt;/pre&gt;
..and you&amp;#8217;ll save yourself a few hours&amp;#8217; frustration.</description>
      <pubDate>Fri, 01 Jun 2007 11:56:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:73d14a49-9ed4-4534-9a81-bb4b6a8a50ee</guid>
      <author>Jason Garber</author>
      <link>http://www.jasongarber.com/articles/2007/06/01/compiling-ht-check-on-os-x</link>
      <category>OS X</category>
    </item>
  </channel>
</rss>
