在[libxml2.so]中找不到函数'xsltParseStylesheetDoc' [英] Function 'xsltParseStylesheetDoc' not found in [libxml2.so]
问题描述
此错误在Redhat Enterprise Linux Server 5.4-64位中出现.
Linux rhl-64-tibbr5 2.6.18-164.el5#1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
堆栈跟踪中也存在此错误.
未初始化的常量Nokogiri :: VERSION_INFO
更多版本详细信息:
jruby-1.4.0RC1 ruby/gems/1.8/gems/activesupport-2.3.4
有什么主意吗?
在将Nokogiri与JRuby 1.4.0(及更高版本)结合使用时,我遇到了类似的错误.原来的问题是该机器是64位的,但JRuby最终使用的JRE是32位的.确保在64位计算机上使用64位JRE运行JRuby可以为我解决问题.
此博客文章中的一些具体说明.. >
This error comes up in Redhat Enterprise Linux Server 5.4 - 64 bit.
Linux rhl-64-tibbr5 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
There is also this error in the stack trace.
uninitialized constant Nokogiri::VERSION_INFO
More version details:
jruby-1.4.0RC1 ruby/gems/1.8/gems/activesupport-2.3.4
Any idea?
I faced similar errors when using Nokogiri with JRuby 1.4.0 (and higher). What turned out to be the problem was that the machine was 64-bit but the JRE that JRuby ended up using was 32-bit. Ensuring that JRuby was run using a 64-bit JRE on a 64-bit machine solved the issues for me.
Some specifics in this blog post.
这篇关于在[libxml2.so]中找不到函数'xsltParseStylesheetDoc'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!