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

Document the issue with libffi versioning. #52

Open
notmgsk opened this issue Nov 27, 2023 · 1 comment
Open

Document the issue with libffi versioning. #52

notmgsk opened this issue Nov 27, 2023 · 1 comment

Comments

@notmgsk
Copy link
Contributor

notmgsk commented Nov 27, 2023

TBD

@jselig-rigetti
Copy link

For context, after the following installation step, trying to use libquil sometimes fails with an error like missing libffi.so.7.

apt install -y libblas-dev libffi-dev libffi8 liblapack-dev libz-dev

So far, workarounds similar to the following seem to work

# libquil expects libffi7 to be installed, even though it is forward-compatible with libffi8.
# Linking libffi.so.7 to libffi.so.8 is acceptable from a compatibility perspective.
ln -s /usr/lib/x86_64-linux-gnu/libffi.so.8 /usr/lib/x86_64-linux-gnu/libffi.so.7

# pick up the "new" lib
ldconfig

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