# Nokogiri problem on Mac OS X

**URL:** <https://www.ruby-forum.com/t/nokogiri-problem-on-mac-os-x/153841>\
**Category:** Ruby\
**Created:** [November 21, 2008, 6:57pm UTC](https://www.ruby-forum.com/t/nokogiri-problem-on-mac-os-x/153841 "2008-11-21T18:57:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diogo\_Terror](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@Diogo\_Terror](https://www.ruby-forum.com/u/Diogo_Terror)\
**Post date:** [November 21, 2008, 6:57pm UTC](https://www.ruby-forum.com/t/nokogiri-problem-on-mac-os-x/153841/1 "2008-11-21T18:57:30Z")

</div>

I’m trying to install Merb, first thing I got was an issue with  
sqlite3, but I fixed that by re-installing both the sqlite3 and  
datamapper.  
Now I’m having an issue with nokogiri. Here’s the problem:

dyld: NSLinkModule() error  
dyld: Symbol not found: \_xmlTextReaderConstXmlVersion

I’m on Mac OS X 10.4 Ruby 1.8.6 and yes, I’ve got libxml, libxml2,  
libxslt and their respective -devs

Any clues?

---

<div class="post-metadata">

**Author:** ![Diogo\_Terror](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@Diogo\_Terror](https://www.ruby-forum.com/u/Diogo_Terror)\
**Post date:** [November 22, 2008, 4:19am UTC](https://www.ruby-forum.com/t/nokogiri-problem-on-mac-os-x/153841/2 "2008-11-22T04:19:36Z")

</div>

On Sat, Nov 22, 2008 at 02:52:48AM +0900, Diogo Terror wrote:

> Any clues?  
> Did you install via ports? Do you know what version of libxml2 you have  
> installed?

Do you mind filing a ticket?

[http://nokogiri.lighthouseapp.com/projects/19607-nokogiri/tickets](http://nokogiri.lighthouseapp.com/projects/19607-nokogiri/tickets)

---

<div class="post-metadata">

**Author:** ![Diogo\_Terror](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@Diogo\_Terror](https://www.ruby-forum.com/u/Diogo_Terror)\
**Post date:** [November 24, 2008, 1:47am UTC](https://www.ruby-forum.com/t/nokogiri-problem-on-mac-os-x/153841/3 "2008-11-24T01:47:09Z")

</div>

On Nov 21, 2008, at 15:52 , Diogo Terror wrote:

> Any clues?

libxml2 2.6.30-1001

Sure, I’ll do that. I’ll also investigate further to try and solve it.

---

<div class="post-metadata">

**Author:** ![Diogo\_Terror](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@Diogo\_Terror](https://www.ruby-forum.com/u/Diogo_Terror)\
**Post date:** [November 25, 2008, 2:38pm UTC](https://www.ruby-forum.com/t/nokogiri-problem-on-mac-os-x/153841/4 "2008-11-25T14:38:43Z")

</div>

Just for the record (literaly) this issue was solved. It was caused  
because Mac OS X 10.4 libxml2 is ‘slightly’ broken. All you need to  
do is to get a new one, through macports, fink ou building your own.

Thanks a lot to Aaron P. for helping me out.
