Commit d652d21
committed
fix: ship libquiche.so.0 into runtime image so curl -V works
libcurl.so.4 is dynamically linked against libquiche.so.0 (DT_SONAME), but
the runtime stage only copies /curl/usr/local/ and the embedded rpath pointed
at the builder-only path /opt/quiche-src/target/release. The result: the final
image was missing libquiche.so.0, so 'curl -V' died with
Error loading shared library libquiche.so.0: No such file or directory
Error relocating .../libcurl.so.4: quiche_* symbol not found
This went undetected because 'Test curl -V' is gated 'if: github.event_name
!= push', so push builds never ran it; the weekly schedule run is what first
exercised the broken image.
Install libquiche.so.0 (+ .so symlink) into /curl/usr/local/lib and repoint
the rpath at /usr/local/lib so the loader finds it in the final image.
Verified locally (native arm64): curl -V exits 0, reports quiche/0.29.0,
ldd resolves libquiche.so.0 => /usr/local/lib/libquiche.so.0.1 parent ef02cfc commit d652d21
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
0 commit comments