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






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


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

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

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