cryfs icon indicating copy to clipboard operation
cryfs copied to clipboard

All interactions with cryfs yield a symbol lookup error

Open salperinlea opened this issue 4 years ago • 9 comments

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.

salperinlea avatar Apr 10 '22 02:04 salperinlea

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: @.***>

smessmer avatar Apr 10 '22 03:04 smessmer

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.

salperinlea avatar Apr 10 '22 03:04 salperinlea

Can you file a bug with the pacman package maintainers?

smessmer avatar Apr 10 '22 05:04 smessmer

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.

salperinlea avatar Apr 10 '22 14:04 salperinlea

Maybe they just have to recompile the cryfs package? I've reported this issue to Arch: https://bugs.archlinux.org/task/74438

physkets avatar Apr 10 '22 15:04 physkets

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: @.***>

smessmer avatar Apr 10 '22 15:04 smessmer

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?

rjabugan avatar Apr 10 '22 15:04 rjabugan

My apologies for the disbelief. It has been resolved by the Arch maintainers, as of this morning; this can be closed.

salperinlea avatar Apr 11 '22 18:04 salperinlea

Cool, great to hear it was resolved :)

smessmer avatar Apr 11 '22 18:04 smessmer