aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-06-05 18:29:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-05 18:32:53 +0000
commitd4a7955cc72b9395779c20755df88f983763c43b (patch)
tree4feca4cdc6a1196b0f66b8bc4e9aaa30ef691d29 /testing
parent1aeea0352fb5c89587af061a5c4248d8cfff285e (diff)
downloadaports-d4a7955c.tar.bz2
aports-d4a7955c.tar.xz
main/musl: fix ldd when used with libraries
From Bernhard Ehlers: > BTW: The ldd program (in all alpine versions) creates invalid output > in case you use it on a library, here an example: > > ~ # ldd /lib/libssl.so.1.1 > ldd (0x7ffb49916000) > libcrypto.so.1.1 => /lib/libcrypto.so.1.1 (0x7ffb49618000) > libc.musl-x86_64.so.1 => ldd (0x7ffb49916000) > > The loader ld-musl-x86_64.so.1 and libc.musl-x86_64.so.1 point to > "ldd", what's totally wrong. That's why you have to copy the ldd > binary to your current directory before using cx_freeze. > > Here my alternative ldd, it works much better with cx_freeze (and > pyinstaller): > #!!/bin/sh > exec /lib/ld-musl-* --list -- "$@" > > Here an example, with more reasonable results: > ~ # ldd.new /lib/libssl.so.1.1 > /lib/ld-musl-x86_64.so.1 (0x7fa671495000) > libcrypto.so.1.1 => /lib/libcrypto.so.1.1 (0x7fa671197000) > libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 > (0x7fa671495000) http://lists.alpinelinux.org/alpine-devel/6694.html
Diffstat (limited to 'testing')
0 files changed, 0 insertions, 0 deletions