Skip to content

Dependency version issues in the binary release package #23989

Description

@dogged1021

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions