I'm trying to build libxml-ruby-0.9.1 on Mac OS X 10.5.5 but am
encountering a duplicate symbol error.  Specific error is:
ld: duplicate symbol _INPUT_ATTR in ruby_xml_parser.o and ruby_xml_html_parser.o
collect2: ld returned 1 exit status
make: *** [libxml_ruby.bundle] Error 1

The command that I ran was (note that I'm building against
libxml2-2.7.2 rev1 from MacPorts):
sudo env ARCHFLAGS="-arch i386" gem install libxml-ruby --
--with-xml2-include=/opt/local/include/libxml2
--with-xml2-lib=/opt/local/lib

Output can be found here:
http://pastie.org/318853

How can I get around this?  Thanks.
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to