<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/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>Raymond Law: Tag osx</title>
    <link>http://blog.rayvinly.com/articles/tag/osx</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Installing Sphinx on Mac OS X Leopard</title>
      <description>&lt;p&gt;Download the latest release from http://www.sphinxsearch.com/downloads.html&lt;/p&gt;


	&lt;p&gt;The usual&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;./configure
make
make install&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;gives me an error:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;g++  -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG   -o indexer  indexer.o libsphinx.a  -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -lmysqlclient -L/opt/local/lib -lz -lm  -L/opt/local/lib -lssl -lcrypto  -liconv -lexpat  -L/usr/local/lib
Undefined symbols:
  &amp;quot;_iconv_close&amp;quot;, referenced from:
      xmlUnknownEncoding(void*, char const*, XML_Encoding*)in libsphinx.a(sphinx.o)
  &amp;quot;_iconv&amp;quot;, referenced from:
      xmlUnknownEncoding(void*, char const*, XML_Encoding*)in libsphinx.a(sphinx.o)
  &amp;quot;_iconv_open&amp;quot;, referenced from:
      xmlUnknownEncoding(void*, char const*, XML_Encoding*)in libsphinx.a(sphinx.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [indexer] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;These two articles detail how you can resolve the error:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://www.viget.com/extend/installing-sphinx-on-os-x-leopard/"&gt;Installing Sphinx on &lt;span class="caps"&gt;OS X&lt;/span&gt; Leopard&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://blogwi.se/post/35063599/compiling-sphinx-on-leopard-with-macports-libraries"&gt;Compiling Sphinx on Leopard with MacPorts libraries&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;</description>
      <pubDate>Tue, 10 Jun 2008 13:28:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:45d61ef5-d3d1-4a50-92ec-460756e90a13</guid>
      <author>Raymond Law</author>
      <link>http://blog.rayvinly.com/articles/2008/06/10/installing-sphinx-on-mac-os-x-leopard</link>
      <category>Mac</category>
      <category>sphinx</category>
      <category>mac</category>
      <category>osx</category>
      <category>macosx</category>
      <category>leopard</category>
      <trackback:ping>http://blog.rayvinly.com/articles/trackback/64</trackback:ping>
    </item>
  </channel>
</rss>
