Skip to content

Relocation error when app is run from terminal, but works correctly from VS Code debug session #63418

@mystiquewolf

Description

@mystiquewolf

Description

When i run an app from the terminal with comand "./Quotes Converter" i get the following error:

./Quotes Converter: relocation error: /usr/lib/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference

This is with both Debug and Release compiled app. Works fine with VS Code Debug session.

Reproduction Steps

Not sure if i should share repo or compiled app, but this happens for two different dotnet console apps.

Expected behavior

App runs correctly when initiated from terminal.

Actual behavior

App shows the following error:

./Quotes Converter: relocation error: /usr/lib/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference

Regression?

No response

Known Workarounds

No response

Configuration

  • .NET 6.0.1 Snap from Snapcraft
  • Arch Linux up-to-date as of 6th January 2022
  • amd64 x86-64
  • This used to work on Ubuntu 21.04, but was using the .deb package from the MS repo. .NET .deb package is not compatible with Arch and i much prefer the Snap package compared to some packages from AUR.

Other information

This bug report contains log files related to this bug: tmds/Tmds.DBus#115

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions