Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:1
-
Team:Architecture
Description
When building mariadbclient, cmake identifies libz from a separate python installation than the one setup to run the stack. I have an anaconda installation on the disk, and a miniconda installation set up specifically for the lsst stack. During the building process CMake for some reason finds the alternate libz associated with that python installation.
I think we have to bite the bullet and just stop mariadb from looking for an external libz and use the bundled version. I would guess this problem can hit on Linux as well.
ARGS+=('-DWITH_ZLIB=bundled')
An alternative is to sanitize the PATH before calling cmake.