-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined symbol BrotliEncoderDestroyPreparedDictionary #1097
Comments
Will check soon. Thanks for the heads-up. |
The problem is that unless you really install |
Oh right, thanks! |
@eustas How can I "really install |
I get it now. To fix this undefined symbol error by "really" installing - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./installed ..
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local .. So when I run Brotli as follows, the error goes away. LD_LIBRARY_PATH=/usr/local/lib64 brotli --version Now I only need to figure out how to run Brotli without specifying Thanks anyway! Update: For others like me who just want to run Brotli without specifying BROTLI_VERSION="v1.1.0"
INSTALL_PREFIX="/usr/local"
INSTALL_LIBDIR="$INSTALL_PREFIX/lib64/brotli"
# build and install
cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DCMAKE_INSTALL_LIBDIR=$INSTALL_LIBDIR -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config Release --target install
# link the libraries that brotli needs at runtime
echo "$INSTALL_LIBDIR" > "/etc/ld.so.conf.d/brotli-$BROTLI_VERSION.conf"
chmod 644 "/etc/ld.so.conf.d/brotli-$BROTLI_VERSION.conf"
ldconfig Hope this helps. |
After fresh pull and cmake of
1.1.0
am seeing a symbol lookup error forBrotliEncoderDestroyPreparedDictionary
. Are there additional build args needed?OS: Amazon Linux 2023
Arch: x86
The text was updated successfully, but these errors were encountered: