Skip to content

code-server terminal sets LD_LIBRARY_PATH variable. which breaks other tools #1757

Closed
@Merith-TK

Description

@Merith-TK
  • Web Browser: Firefox
  • Local OS: Windows
  • Remote OS: Arch
  • Remote Architecture: X86_64
  • code-server --version: 3.4 (latest AUR)

the problem is that code-server sets this variable in the terminal LD_LIBRARY_PATH=/usr/lib/code-server/bin/../lib which causes programs such as ffmpeg to fail

ffmpeg: /usr/lib/code-server/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/lib/libvmaf.so)
ffmpeg: /usr/lib/code-server/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libvmaf.so)
ffmpeg: /usr/lib/code-server/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libmfx.so.1)
ffmpeg: /usr/lib/code-server/bin/../lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/libmodplug.so.1)
ffmpeg: /usr/lib/code-server/bin/../lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/libsrt.so.1)
ffmpeg: /usr/lib/code-server/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libsrt.so.1)
ffmpeg: /usr/lib/code-server/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libx265.so.188)

when i ssh and run the conversion tool i wrote (converting some mp4s to run on my DSi using homebrew)
it runs with out issue and LD_LIBRARY_PATH var is not set
image

the rest of the terminal is normal ffmpeg output

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