What happened?
Hello,
I downloaded the precompiled binary release package: drake-1.48.0-jammy.tar.gz. It compiles without issues, but during runtime, it encounters linking symbol errors with spdlog and fmt.
Initially, the error was due to the precompiled library depending on specific versions of libfmt.so.8 and libspdlog.so.1, resulting in missing dependencies.
$ ldd '/drake-1.48.0-jammy/drake/lib/libdrake.so'
linux-vdso.so.1 (0x00007ffcdf1e3000)
libfmt.so.8 =>
libspdlog.so.1 =>
I compiled and installed spdlog-1.15.3 and fmt-8.0.1 from source. However, the linking symbol issue still persists.
symbol lookup error: /lib/libdrake.so: undefined symbol: _ZN6spdlog6logger12err_handler_ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
I'm unsure which version of the dependency to choose, or perhaps there shouldn't be such strict version dependencies? I don't encounter this symbol issue while building from source codes. (But I want to use Snopt ...)
Thanks for your time!
Version
1.48.0 1b70614
What operating system are you using?
Ubuntu 22.04
What installation option are you using?
binary tar.gz download
Relevant log output
$ ldd '/drake-1.48.0-jammy/drake/lib/libdrake.so'
linux-vdso.so.1 (0x00007ffcdf1e3000)
libfmt.so.8 =>
libspdlog.so.1 =>
___
symbol lookup error: /lib/libdrake.so: undefined symbol: _ZN6spdlog6logger12err_handler_ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
What happened?
Hello,
I downloaded the precompiled binary release package: drake-1.48.0-jammy.tar.gz. It compiles without issues, but during runtime, it encounters linking symbol errors with spdlog and fmt.
Initially, the error was due to the precompiled library depending on specific versions of libfmt.so.8 and libspdlog.so.1, resulting in missing dependencies.
I compiled and installed spdlog-1.15.3 and fmt-8.0.1 from source. However, the linking symbol issue still persists.
I'm unsure which version of the dependency to choose, or perhaps there shouldn't be such strict version dependencies? I don't encounter this symbol issue while building from source codes. (But I want to use Snopt ...)
Thanks for your time!
Version
1.48.0 1b70614
What operating system are you using?
Ubuntu 22.04
What installation option are you using?
binary tar.gz download
Relevant log output