Hi,
Iam trying to build crda agent module on a cross platform(ARM).
To build the same, one of the input module is m2crypto shared object file.
I have sucesfully cross compiled and m2crypto.so file has been generated.
when I give the make command, python script is called internally which should
take m2crypto.so module as input and should generate openssl(RSA) keys.
The problem Iam facing is the python script could'nt import any of the modules from the __m2crypto.so file.
the error iam getting is
-------------------------------
$ make
GEN keys-ssl.c
Trusted pubkeys: /home/tools/crda/pubkeys/linville.key.pu b.pem
Traceback (most recent call last):
File "./utils/key2pub.py", line 6, in ?
import m2crypto
ImportError: /usr/lib/python2.4/lib-dynload/m2crypto.so: cannot open shared object file: No such file or directory
make: *** [keys-ssl.c] Error 1
--------------------------------
where as, when I compile m2crypto for host machine(x86 platform) and try to build the crda for the same,
python is able to import the m2crypto.so file.
Any suggestions on how to build it successfully on the different platform(ARM).
Thanks in Advance,
Rams ch
3 2820 dwblas 626
Recognized Expert Contributor
ImportError: /usr/lib/python2.4/lib-dynload/m2crypto.so: cannot open shared object file: No such file or directory
Are you using Python2.4 on a 32 bit computer? If not, find the Python installation. Start with /usr/lib and /usr/local/lib, and then a symlink to /usr/lib/python2.4 would probably be the simplest solution.
Yes Iam using Python2.4 on a 32-bit machine.
I tried using symlink but of no avail.
My doubt is Should I build python for class platform(ARM)? so that it can read the .so file compiled for the same.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Douglass Turner |
last post by:
Hi,
Please release me from my own private hell.
Platform: SuSE 8.1
I'm installing python 2.3 tarball as follows:
../configure --enable-shared
make
|
by: Haro Panosyan |
last post by:
Suppose I have defined a templete function prototype in a header
file and the body in .cpp file and created executable without actually
calling the templete function.
Now let say from that executable I am loading a shared object and
executing(dlsym-ing) some f() function, which inside calls the templete
function.
(Of course the header file with templete prototype is included in
shared object source file, so it could be compiled.)
|
by: Bradley1234 |
last post by:
Cannot open a designer for the file because the class within it does not
inherit from a class that can be visually designed.
I had designed a new Form1, and got the code for the parallel port working,
then went to add another button? Red X, NO design view!
I took back all changes Id made, still wont allow the designer view, and
says there are errors, but there are 0, 1 warning, which is the one above...
I can rebuild all, run, etc...
|
by: gmax2006 |
last post by:
Hi,
I am using RedHat Linux 4. and I developed an oracle 10g based
application by using cx_Oracle (cx_Oracle-4.1-10g-py23-1.i386.rpm) and
Python 2.3.4.
When I run the application through direct console connection, It works
perfect.
But, when I schedule a crontab job to run the application, It logs this
|
by: AA Arens |
last post by:
We sg=hare an MDB database within a SOHO LAN. Since a few days I am
unable to open a base (via file double click), only ehen the other
users closes the MDB.
But when I open Access first and go to Open, then I can opoen the base
shared.
Bart
Acc 2003
| |
by: vasilip |
last post by:
root@Server:/opt/ibm/db2/V9.1/bin# ./db2adutl
../db2adutl: error while loading shared libraries: libApiDS.so: cannot
open shared object file: No such file or directory
I just installed db2 9.1 express-c for linux to give it a try since I
have been using the windows version..
it seems to be missing some libs.. I searched google for the .so file
and havnt' found much... since I'm not that much of a linux expert.
|
by: davidson1 |
last post by:
Hai friends i get the following error....
Visual Studio cannot open a designer for the file because the class within it does not inherit from a class that can be visually designed
when I open my project....
Any Idea for correction.........very urgent...what i have to do.....
Davidson
10 March 2008
|
by: Dog Walker |
last post by:
I need to call a function in a shared object with this signature:
init_dialog(FILE *input, FILE *output)
The FILE*'s are to stdin and stdout.
The call from python is libdialog.init_dialog( x, y)
I need to define x and y so that they will have the structure of
sys.stdin and sys.stdout; the called function (init_dialog) is using a
(std?) function fileno to extract the fileno from the FILE* describing
stdin and stdout.
How can I do this?
|
by: member thudfoo |
last post by:
On 11/8/08, Dog Walker <thudfoo@gmail.comwrote:
I should have said "stderr" rather than "stdout".
And the answer is:
from ctypes import *
from ctypes.util import find_library
libc = CDLL(find_library("c"))
libdialog = CDLL(find_library("dialog"))
|
by: Rhuddlan |
last post by:
Hi,
I am using RedHat EL 4 and I developed an oracle 10g based
application by using cx_Oracle (cx_Oracle-4.3.1-10g-py23-1.i386.rpm) and Python 2.3.4.
Running the application through direct console, when I try to import the cx_Oracle, I get the following error message:
ImportError: /usr/lib/python2.3/site-packages/cx_Oracle.so: cannot open shared object file: No such file or directory
And it seems there is no any shared library lost:
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |