Verification of qvm and quilc on Ubuntu 20.04 fails due to libffi.so.6 no longer used
See original GitHub issuePre-Report Checklist
- [ X] I am running the latest versions of pyQuil and the Forest SDK
- [ X] I checked to make sure that this bug has not already been reported
Issue Description
I have tried to verify that qvm and quilc work correctly in Ubuntu 20.04, however I get en error
qvm --version
Unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
{10005C04F3}>:
Error opening shared object "libffi.so.6":
libffi.so.6: cannot open shared object file: No such file or directory.
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10005C04F3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
~A." {1000E05543}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
~A." {1000E05543}>)
2: (INVOKE-DEBUGGER #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
~A." {1000E05543}>)
3: (ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
~A." "libffi.so.6" "libffi.so.6: cannot open shared object file: No such file or directory")
4: (SB-SYS:DLOPEN-OR-LOSE #S(SB-ALIEN::SHARED-OBJECT :PATHNAME #P"libffi.so.6" :NAMESTRING "libffi.so.6" :HANDLE NIL :DONT-SAVE NIL))
5: (SB-ALIEN::TRY-REOPEN-SHARED-OBJECT #S(SB-ALIEN::SHARED-OBJECT :PATHNAME #P"libffi.so.6" :NAMESTRING "libffi.so.6" :HANDLE NIL :DONT-SAVE NIL))
6: (SB-SYS:REOPEN-SHARED-OBJECTS)
7: (SB-IMPL::FOREIGN-REINIT)
8: (SB-IMPL::REINIT)
9: ((FLET SB-UNIX::BODY :IN SAVE-LISP-AND-DIE))
10: ((FLET "WITHOUT-INTERRUPTS-BODY-14" :IN SAVE-LISP-AND-DIE))
11: ((LABELS SB-IMPL::RESTART-LISP :IN SAVE-LISP-AND-DIE))
unhandled condition in --disable-debugger mode, quitting
Insert a short description of the bug here, along with what you expected the behavior to be.
Thanks for helping us improve pyQuil! 🙂
How to Reproduce
If useful, provide a numbered list of the steps that result in the error.
Otherwise, just fill out the “Code Snippet” and “Error Output” sections below.
Code Snippet
Include a snippet of the pyQuil code that produces the error here.
Error Output
Additionally, please copy and paste the output of the above code here.
Environment Context
Operating System: Ubuntu 20.04
Python Version (python -V
): Python 3.9.7
Quilc Version (quilc --version
):
QVM Version (qvm --version
):
forest-sdk-2.23.0-linux-deb
Python Environment Details (pip freeze
or conda list
):
Copy and paste the output of `pip freeze` or `conda list` here.
Issue Analytics
- State:
- Created a year ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Ubuntu 20.04 upgrade, Python missing libffi.so.6
Create a simlink named libffi.so.6 that points to libffi.so.7 : ... I am using Xubuntu 20.04 and recompiling the python version 3.7 did...
Read more >Libffi.so.6 error on ubuntu-latest · Discussion #24949 - GitHub
I started to see errors this morning on: ... Googling, it looks similar to Ubuntu 20.04 upgrade, Python missing libffi.so.6 - Stack Overflow...
Read more >LoadError: libffi.so.8: cannot open shared object file: No such ...
I am using ASDF for ruby version management. I tried many solutions like uninstalling and installing the gem, running gem pristine and some ......
Read more >Diff - third_party/harfbuzz - fuchsia Git repositories
-Again, on Ubuntu / Debian: +Linux packagers are advised to at least use ... -512,6 +503,14 @@ AC_MSG_NOTICE([ +Autotools is no longer our...
Read more >EPEL 7 for x86_64 - RPMFind
x86_64-redhat-linux-gnu-api-v49+ · netcdf-1.0.6 · x86_64-redhat-linux-gnu-api-v49+ · signal-1.3.0 · x86_64-redhat-linux-gnu-api-v49+.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dbanty ftw!
@dbanty Brilliant!! I just did this, and BOOM – works.
Thanks for the swift feedback.