All interactions with cryfs yield a symbol lookup error
Any interaction with Cryfs yields the following, even a simple cli call to cryfs:
cryfs: symbol lookup error: cryfs: undefined symbol: _ZN6spdlog5sinks15basic_file_sinkISt5mutexEC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb
- CryFS Version: 0.11.2-1
- Operating System (incl. Version): Arch Linux 250 4-2, Linux Zen Kernel 5.17.1, running KDE Plasma 5.24.2.
Sounds like the spdlog library is missing or in the wrong version. How did you install cryfs?
On April 9, 2022 7:40:20 PM salperinlea @.***> wrote:
Any interaction with Cryfs yields the following, even a simple cli call to cryfs: cryfs: symbol lookup error: cryfs: undefined symbol: _ZN6spdlog5sinks15basic_file_sinkISt5mutexEC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb CryFS Version: 0.11.2-1 Operating System (incl. Version): Arch Linux 250 4-2, Linux Zen Kernel 5.17.1, running KDE Plasma 5.24.2. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Pacman. Spdlog is present and is latest version, 1.10.0-1
On Apr 9 2022, at 11:13 pm, Sebastian Meßmer @.***> wrote:
Sounds like the spdlog library is missing or in the wrong version. How did you install cryfs?
On April 9, 2022 7:40:20 PM salperinlea @.***> wrote:
Any interaction with Cryfs yields the following, even a simple cli call to cryfs: cryfs: symbol lookup error: cryfs: undefined symbol: _ZN6spdlog5sinks15basic_file_sinkISt5mutexEC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb CryFS Version: 0.11.2-1 Operating System (incl. Version): Arch Linux 250 4-2, Linux Zen Kernel 5.17.1, running KDE Plasma 5.24.2. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub (https://github.com/cryfs/cryfs/issues/423#issuecomment-1094166039), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AJXCRQ7HCAXAPIGTJG2N3HDVEJBMLANCNFSM5TAEMDCQ). You are receiving this because you authored the thread.
Can you file a bug with the pacman package maintainers?
I will, but I don't think the damage lies there -- the package was working yesterday in the morning; after a reboot, it became dysfunctional; no updates occurred in between.
On Apr 10 2022, at 1:12 am, Sebastian Meßmer @.***> wrote:
Can you file a bug with the pacman package maintainers? — Reply to this email directly, view it on GitHub (https://github.com/cryfs/cryfs/issues/423#issuecomment-1094178977), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AJXCRQ2TFWVEIDCTSVE6IDDVEJPNVANCNFSM5TAEMDCQ). You are receiving this because you authored the thread.
Maybe they just have to recompile the cryfs package?
I've reported this issue to Arch: https://bugs.archlinux.org/task/74438
These kind of errors are almost always due to a system misconfiguration, CryFS tries to look up the symbol from the spdlog library but the spdlog library doesn't have it. A common scenario for this to happen is when CryFS was compiled against one version of spdlog but then another version of spdlog is installed when it runs.
On April 10, 2022 7:02:10 AM salperinlea @.***> wrote:
I will, but I don't think the damage lies there -- the package was working yesterday in the morning; after a reboot, it became dysfunctional; no updates occurred in between.
On Apr 10 2022, at 1:12 am, Sebastian Meßmer @.***> wrote:
Can you file a bug with the pacman package maintainers? — Reply to this email directly, view it on GitHub (https://github.com/cryfs/cryfs/issues/423#issuecomment-1094178977), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AJXCRQ2TFWVEIDCTSVE6IDDVEJPNVANCNFSM5TAEMDCQ). You are receiving this because you authored the thread.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
Ran into this issue today after doing Arch updates. I had to roll back spdlog to version 1.9.2-3 to get it working again. Does this mean cryfs needs to be recompiled everytime a new spdlog version is available?
My apologies for the disbelief. It has been resolved by the Arch maintainers, as of this morning; this can be closed.
Cool, great to hear it was resolved :)