在[libxml2.so]中找不到函数'xsltParseStylesheetDoc' [英] Function 'xsltParseStylesheetDoc' not found in [libxml2.so]

查看:131
本文介绍了在[libxml2.so]中找不到函数'xsltParseStylesheetDoc'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此错误在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆