Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example.py; librtcdc.so: cannot open shared object file: No such file or directory #23

Closed
adamvoss opened this issue Jan 29, 2017 · 2 comments

Comments

@adamvoss
Copy link

I installed the dependences and all the compilation commands seemed to work fine.

However, when I try to run example.py, it fails on import pyrtcdc with the following:

ImportError: librtcdc.so: cannot open shared object file: No such file or directory

Here was my sequence of commands:

cd src
make
cd ../python
./compile.sh
./example.py

Any advice on what I have done wrong?


cc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Python 2.7.12
Cython version 0.23.4
Linux Mint 18.1 64-bit

@mo3rfan
Copy link

mo3rfan commented Feb 1, 2017

You need to specify the path to your shared libraries. In this case, the librtcdc.so file which would be at src directory after you build it.

In your shell from the ./python directory, set the env variable:
export LD_LIBRARY_PATH=../src/

@adamvoss
Copy link
Author

adamvoss commented Feb 1, 2017

@powerinside 👍 That did the trick, thanks!

Now I just face #19.

@adamvoss adamvoss closed this as completed Feb 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants