<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>Tried that but it didn't work - same problem.</div><div><br></div><div>I checked and /opt/local/lib/libiconv.dylib is i386 and x86_64</div><div><br></div><div>Any other ideas?</div><div><br></div><div>Kind regards,</div><div>Samuel</div><div><br><div><div>On 6/07/2011, at 1:45 PM, Dan Colish wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div><div>Making all in .</div><div>/bin/sh ./libtool &nbsp;--tag=CXX &nbsp; --mode=link g++ -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Wshadow -Wstrict-null-sentinel -Wstrict-overflow=1 -fvisibility=hidden -Werror -I/Users/samuel/Documents/Programming/Internet/xapian/xapian-core/include -g -O2 &nbsp; &nbsp;-o omega omega.o query.o cgiparam.o utils.o configfile.o date.o cdb_init.o cdb_find.o cdb_hash.o cdb_unpack.o loadfile.o utf8convert.o datematchdecider.o weight.o str.o unixperm.o urlencode.o /Users/samuel/Documents/Programming/Internet/xapian/xapian-core/<a href="http://libxapian.la/" target="_blank">libxapian.la</a> <a href="http://libtransform.la/" target="_blank">libtransform.la</a> -liconv&nbsp;</div>

<div>libtool: link: g++ -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Wshadow -Wstrict-null-sentinel -Wstrict-overflow=1 -fvisibility=hidden -Werror -I/Users/samuel/Documents/Programming/Internet/xapian/xapian-core/include -g -O2 -o .libs/omega omega.o query.o cgiparam.o utils.o configfile.o date.o cdb_init.o cdb_find.o cdb_hash.o cdb_unpack.o loadfile.o utf8convert.o datematchdecider.o weight.o str.o unixperm.o urlencode.o -Wl,-bind_at_load &nbsp;/Users/samuel/Documents/Programming/Internet/xapian/xapian-core/.libs/libxapian.dylib -lz ./.libs/libtransform.a -L/opt/local/lib /opt/local/lib/libpcre.dylib /opt/local/lib/libiconv.dylib</div>

<div><b>Undefined symbols for architecture x86_64:</b></div><div><b>&nbsp;&nbsp;"_iconv_open", referenced from:</b></div><div><b>&nbsp;&nbsp; &nbsp; &nbsp;convert_to_utf8(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;)in utf8convert.o</b></div>

<div><b>&nbsp;&nbsp;"_iconv", referenced from:</b></div><div><b>&nbsp;&nbsp; &nbsp; &nbsp;convert_to_utf8(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;)in utf8convert.o</b></div>

<div><b>&nbsp;&nbsp;"_iconv_close", referenced from:</b></div><div><b>&nbsp;&nbsp; &nbsp; &nbsp;convert_to_utf8(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;)in utf8convert.o</b></div>

<div><b>ld: symbol(s) not found for architecture x86_64</b></div><div><b>collect2: ld returned 1 exit status</b></div></div><div><br></div><div>Any ideas what is going wrong?</div></div></blockquote><div><br></div><div><br>

</div><div>It looks like you're not using the libiconv from ports. Try setting your DYLD_LIBRARY_PATH to /opt/local/lib and you should be good to go.&nbsp;</div><div><br></div><div>--Dan</div><div><br></div></div>
</blockquote></div><br></div></body></html>