https://github.com/njsmith/rpath-weirdness
https://github.com/njsmith/rpath-weirdness
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/njsmith/rpath-weirdness
- Owner: njsmith
- Created: 2016-03-30T08:07:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-01T08:05:25.000Z (about 9 years ago)
- Last Synced: 2025-01-19T09:41:52.580Z (5 months ago)
- Language: C
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simple example to demonstrate strange aspect of glibc library lookup
See: https://sourceware.org/bugzilla/show_bug.cgi?id=19884
Usage:
```
$ ./build.sh
$ LD_DEBUG=libs,scopes ./main
```To demonstrate a workaround using `patchelf`:
```
$ ./build.sh --workaround
$ LD_DEBUG=libs,scopes ./main
```