Rpath, or why lld doesn’t work on NixOS

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • patchelf

    A small utility to modify the dynamic linker and RPATH of ELF executables

  • How does an article on NixOS talk about the `rpath` issue without also mentioning the `patchelf` utility that NixOS developers created to solve this issue? It's a small tool that lets you modify ELF executables and binaries. It's also the recommended way for NixOS users to modify binaries to work properly.

    https://github.com/NixOS/patchelf

  • libtree

    ldd as a tree

  • Depends on your libc.

    Search order:

    glibc: rpath > LD_LIBRARY_PATH > runpath > ld.so.cache > default paths.

    musl: LD_LIBRARY_PATH > rpath=runpath > default paths.

    Search path inheritance:

    glibc: rpaths are inherited: When exe depends on libx depends on liby, then liby first considers its own rpaths, then libx's rpaths, then exe's rpaths. HOWEVER if liby specifies runpath, it will not consider rpaths from parents.

    musl: rpaths and runpaths are the same and always inherited.

    I verified the glibc/musl sources when writing https://github.com/haampie/libtree

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • The File Filesystem

    7 projects | news.ycombinator.com | 30 Apr 2024
  • ESpeak-ng: speech synthesizer with more than one hundred languages and accents

    1 project | news.ycombinator.com | 1 May 2024
  • Ubuntu 24.04 LTS is so buggy you can't install the OS [video]

    1 project | news.ycombinator.com | 1 May 2024
  • Semi-Scripted Conversational Applications

    1 project | dev.to | 1 May 2024
  • Dune 3D 1.1.0 Released

    2 projects | news.ycombinator.com | 1 May 2024