Skip to content

Instantly share code, notes, and snippets.

@piroux
Created November 26, 2019 12:00
Show Gist options
  • Save piroux/0440601ad376f8b7fa7a187df6e8af0a to your computer and use it in GitHub Desktop.
Save piroux/0440601ad376f8b7fa7a187df6e8af0a to your computer and use it in GitHub Desktop.
alpine-proj-community-bug
$ docker run -ti alpine:3.9 sh
/ # echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
/ # apk update
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
v3.9.4-227-g285bed6156 [http://dl-cdn.alpinelinux.org/alpine/v3.9/main]
v3.9.4-214-g3d7cbd0eda [http://dl-cdn.alpinelinux.org/alpine/v3.9/community]
v20191114-742-g11273ae5ae [http://dl-cdn.alpinelinux.org/alpine/edge/community]
OK: 15437 distinct packages available
/ # apk add proj-util
(1/6) Installing libgcc (8.3.0-r0)
(2/6) Installing proj-datumgrid (6.2.1-r0)
(3/6) Installing sqlite-libs (3.28.0-r1)
(4/6) Installing libstdc++ (8.3.0-r0)
(5/6) Installing proj (6.2.1-r0)
(6/6) Installing proj-util (6.2.1-r0)
Executing busybox-1.29.3-r10.trigger
OK: 23 MiB in 20 packages
/ # proj
Error relocating /usr/lib/libproj.so.15: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
/ # ldd /usr/bin/proj
/lib/ld-musl-x86_64.so.1 (0x7feda2ab5000)
libproj.so.15 => /usr/lib/libproj.so.15 (0x7feda2891000)
libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7feda2ab5000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x7feda27b0000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7feda265b000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7feda2647000)
Error relocating /usr/lib/libproj.so.15: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment