[PR #623] Fix missing symbols errors in libbrotlienc and dec #1271

Closed
opened 2026-01-29 20:53:16 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/google/brotli/pull/623

State: closed
Merged: Yes


When using autotools to build the binary and libraries, the resulting libraries don't link brotlicommon or m.
This was detected when building cURL 7.57.0 which has now has brotli support. During configure it was failing

checking run-time libs availability... failed
configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lbrotlidec -lz -L/usr/local/lib

inspection of config.log showed missing symbols from libbrotlicommon as the cause.

This patch results in the encryption and decryption libs to be properly linked against libbrotlicommon and libm.
See also https://bugs.freebsd.org/223966

**Original Pull Request:** https://github.com/google/brotli/pull/623 **State:** closed **Merged:** Yes --- When using autotools to build the binary and libraries, the resulting libraries don't link `brotlicommon` or `m`. This was detected when building cURL 7.57.0 which has now has brotli support. During configure it was failing ``` checking run-time libs availability... failed configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lbrotlidec -lz -L/usr/local/lib ``` inspection of config.log showed missing symbols from libbrotlicommon as the cause. This patch results in the encryption and decryption libs to be properly linked against libbrotlicommon and libm. See also https://bugs.freebsd.org/223966
claunia added the pull-request label 2026-01-29 20:53:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1271