lxml 在 Solaris 10 上构建

发布于 2024-10-03 01:56:59 字数 997 浏览 0 评论 0原文

请您就 python 2.6.6 和 lxml Solaris 10 构建问题提供帮助和建议吗?

安装说明: www.sunfreeware.com/download.html

文件直接链接: http://www .sunfreeware.com/ftp/pub/freeware/sparc/10/lxml-2.2.8-sol10-sparc-local.gz

[rainier]/usr/apps/openet/bmsystest/relAuto/RAP_SW> python
Python 2.6.6 (r266:84292, Oct 12 2010, 15:25:47) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import lxml
>>> from lxml import etree
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/python/site-packages/lxml-2.2.8-py2.6-solaris-2.10-sun4u.egg/lxml/etree.so: symbol xsltDocDefaultLoader: referenced symbol not found
>>>

谢谢


版本不匹配:这与我独立获得的建议相同,我只能将其传递给安装程序,因为我是开发人员并且没有 root 权限。 感谢您如此快速的回复!

Please can you help and advise with a problem with python 2.6.6 and lxml Solaris 10 build?

Installation instructions:
www.sunfreeware.com/download.html

direct link to the file:
http://www.sunfreeware.com/ftp/pub/freeware/sparc/10/lxml-2.2.8-sol10-sparc-local.gz

[rainier]/usr/apps/openet/bmsystest/relAuto/RAP_SW> python
Python 2.6.6 (r266:84292, Oct 12 2010, 15:25:47) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import lxml
>>> from lxml import etree
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/python/site-packages/lxml-2.2.8-py2.6-solaris-2.10-sun4u.egg/lxml/etree.so: symbol xsltDocDefaultLoader: referenced symbol not found
>>>

Thanks


Mismatch of version: this is identical to the advise I got independently and I can only pass it onto the installer as I am developer and do not have root privilege.
Thanks for such a quick response!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

星星的軌跡 2024-10-10 01:56:59

我以前见过这个。认为这是由于两个 python 版本不匹配造成的。
我认为 python 正在调用 /usr/local/bin/python,但 lxml 已针对不同版本的 python 进行编译(在 /bin/python 或类似的东西中找到)

I've seen this before. Think it was due to a mismatch between two versions of python.
I think it was that python was calling /usr/local/bin/python, but lxml had compiled against a different version of python (found in /bin/python or something like that)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文