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

Installation problem #52

Open
gabrieleghiotto opened this issue Jun 29, 2023 · 1 comment
Open

Installation problem #52

gabrieleghiotto opened this issue Jun 29, 2023 · 1 comment

Comments

@gabrieleghiotto
Copy link

When trying to install lorikeet I got this error at the step of launching the command "cargo run --release -- call -h".

target/release/lorikeet: error while loading shared libraries: libpython3.10.so.1.0: cannot open shared object file: No such file or directory

Can you give me any suggestion?

@rhysnewell
Copy link
Owner

Hey Gabriel,

Looks like your libpython that was used to compile lorikeet isn't currently in your LIBRARY_PATH. If you are using a conda environment then you'll need to set your LIBRARY_PATH variable appropriately. e.g. LIBRARY_PATH=/path/to/conda/lib/folder cargo run --release -- call -h

You can also try compiling with --no-default-features added to your cargo command. This will remove the Fst calculations that use Pyo3 and the required python libraries.

Additionally, do you still have this issue when you compile using cargo install --path .? Updating your cargo dependencies may also help remove this error, as will making sure you are using the most recent dev branch commit

Cheers,
Rhys

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