Skip to content

Conversation

@onehouwong
Copy link
Contributor

When building xquic with BoringSSL by following the QuickStart Guide, the cmake script fails to locate the static libraries of the boringssl and crypto static libraries. See the error log below:

~/xquic/build$ cmake -DGCOV=on -DCMAKE_BUILD_TYPE=Debug -DXQC_ENABLE_TESTING=1 -DXQC_SUPPORT_SENDMMSG_BUILD=1 -DXQC_ENABLE_EVENT_LOG=1 -DXQC_ENABLE_BBR2=1 -DXQC_ENABLE_RENO=1 -DSSL_TYPE=${SSL_TYPE_STR} -DSSL_PATH=${SSL_PATH_STR} ..
-- The C compiler identification is GNU 9.5.0
-- The CXX compiler identification is GNU 9.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find SSL (missing: SSL_LIBRARY_STATIC CRYPTO_LIBRARY_STATIC)
CMake Error at CMakeLists.txt:69 (message):
  ssl module not found


-- Configuring incomplete, errors occurred!

This patch is to fix the search paths in cmake/FindSSL.cmake so that it can find the corresponding modules.

@CLAassistant
Copy link

CLAassistant commented Nov 21, 2025

CLA assistant check
All committers have signed the CLA.

@Sy0307
Copy link
Collaborator

Sy0307 commented Dec 12, 2025

Hi, after tests we decide to merge it. Please pull the latest changes for us to merge this PR. Thanks.

@onehouwong
Copy link
Contributor Author

Hi @Sy0307, I've pulled the latest changes

Copy link
Collaborator

@Yanmei-Liu Yanmei-Liu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@Yanmei-Liu Yanmei-Liu merged commit 1a7530c into alibaba:main Dec 17, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants