English 中文(简体)
联合国文件都用英文大写字母附加数字编号。 1. 进口M2Crypto-0.20时,根据开放式0.9.8x或1.0.0x汇编
原标题:Symbol not found: _PEM_read_bio_EC_PUBKEY Importing M2Crypto-0.20.2 when compiled against openssl 0.9.8x or 1.0.0x

进口M2Crypto 0.2 版本,载于python 2.6.5,但M2Crypto根据最近公开版本(0.9.8x或以上)汇编成MACOS X 104.1:

即使这些公开版本的汇编工作,M2Crypto仍未能进口,因为一个缺失的编号:_PEM_read_bio_EC_PUBKEY

Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import M2Crypto Traceback (most recent call last): File "", line 1, in File "M2Crypto/init.py", line 22, in import _m2crypto ImportError: dlopen(M2Crypto/_m2crypto.so, 2): Symbol not found: _PEM_read_bio_EC_PUBKEY Referenced from: M2Crypto/__m2crypto.so Expected in: dynamic lookup

如果我把M2Crypto编成开放式版本0.9.7l或0.9.7m,那就算是罚款。

任何建议?

问题回答

我没有10.4.11,但我确实有10.5.8和2.6.5和开放式特别安全局0.9.8,一切都毫无问题。 请提供最新的M2Crypto。 如果这项工作不可行,则尝试收集并汇编开放式特别安全卫星,并配置M2Crypto加以利用。 也许与你目前的开放式特别安全局不相干。





相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签