Skip to content

zlib not found after install with --features ssl #5157

Closed

Description

@artificerchris

Summary

Really excited to see this project and start testing it, but I found an issue with trying to follow the directions to get the ssl version enabled with pip installed, the install runs fine and says everything completed, but when running the install-pip command, I get an error about being unable to find libz.1.dylib

I'm running on macOS 14.2.1

Expected

The rustpython --install-pip command completes successfully.

Actual

dyld[97911]: Library not loaded: libz.1.dylib
  Referenced from: <CDB543DA-940A-3651-BEB5-FABA8624EC5C> /Users/username/.cargo/bin/rustpython
  Reason: tried: 'libz.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibz.1.dylib' (no such file), 'libz.1.dylib' (no such file), '/Users/username/Projects/project/libz.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/username/Projects/project/libz.1.dylib' (no such file), '/Users/username/Projects/project/libz.1.dylib' (no such file)
[1]    97911 abort      rustpython --install-pip

Python Documentation

N/A

Activity

  1. youknowone commented on Mar 31, 2025

    @youknowone
    Member

    This is more like a shared library problem than a bug.
    I have n oidea what was the exact cause for your case, but #5562 fixed this permanently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions