Skip to content

Conversation

@ZedongPeng
Copy link
Collaborator

Fixes #13

Description:

Fix undefined symbol gzopen by explicitly linking zlib in the build.

Changes:

Added find_package(ZLIB REQUIRED) and linked ZLIB::ZLIB in CMakeLists.txt to ensure _cupdlpx_core.so properly links against libz.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds ZLIB as a dependency to the CMake build configuration. The changes enable the project to link against the ZLIB library.

  • Added find_package(ZLIB REQUIRED) to locate the ZLIB library during configuration
  • Added ZLIB::ZLIB to the target link libraries for cupdlpx_core

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ZedongPeng ZedongPeng merged commit 2100347 into main Nov 3, 2025
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.

Link error: undefined symbol gzopen when importing Python package

3 participants