mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
undefined symbol BrotliEncoderDestroyPreparedDictionary #488
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0x-2a on GitHub (Nov 1, 2023).
After fresh pull and cmake of
1.1.0am seeing a symbol lookup error forBrotliEncoderDestroyPreparedDictionary. Are there additional build args needed?OS: Amazon Linux 2023
Arch: x86
@eustas commented on GitHub (Nov 3, 2023):
Will check soon. Thanks for the heads-up.
@eustas commented on GitHub (Nov 3, 2023):
The problem is that unless you really install
brotli, you have to specifyLD_LIBRARY_PATHto point to./installed/lib. Otherwise linked searches and finds system library does not contain mentioned symbol.@0x-2a commented on GitHub (Nov 3, 2023):
Oh right, thanks!
@C-Collamar commented on GitHub (Feb 15, 2024):
@eustas How can I "really install
brotli"? Sorry, I'm new to this.@C-Collamar commented on GitHub (Feb 15, 2024):
I get it now. To fix this undefined symbol error by "really" installing
brotli, I have to set-DCMAKE_INSTALL_PREFIXto a path where the system usually looks into.So when I run Brotli as follows, the error goes away.
Now I only need to figure out how to run Brotli without specifying
LD_LIBRARY_PATHevery time.Thanks anyway!
Update:
For others like me who just want to run Brotli without specifying
LD_LIBRARY_PATHevery time, here's the solution I ended up with.Hope this helps.