0

I have created a test.so file with a library linked with that (DijSDK.h)

The Flow is

test.so uses ---- DijSDK.h Which inturn calls ---- libsynthcam.so(plugin)file

Now I am importing that .so file in my python command prompt. Which is failing to link with libsynthcam library.

DijSDK.h will call this libsynthcam.so during runtime. DijSDK.h searches the current working directory for libsynthcam.so file.

I am importing the test.so file from the terminal - python editor. How to know the current working directory of this test.so file?

I tried placing the libsynthcam.so file in the following places

/usr/lib

/usr/local/lib

/usr/lib/i386-linu-gnu

/usr/local/lib/i386-linu-gnu

/usr/lib/python2.7/dist-packages

But still it is failing. I am new to Ubuntu with Python usage,Hoping for a good response

0

Placed the camera libraries under /usr/bin/ where the python.exe exists and it worked.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.