Ticket #24000 (closed defect: worksforme)
zlib doesn't provide libz.dylib
| Reported by: | jamie@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | Cc: | ||
| Port: | zlib |
Description (last modified by jmr@…) (diff)
I originally tried to install without apple developer tools. I add them and then I get.
James-Bellancas-MacBook-Pro:~ jamiebellanca$ sudo port -d install mysql5-server
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/mysql5-server
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/mysql5-server
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: not using configure, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port mysql5-server.
DEBUG: Requested variant i386 is not provided by port mysql5-server.
DEBUG: Requested variant macosx is not provided by port mysql5-server.
---> Computing dependencies for mysql5-server
DEBUG: Searching for dependency: mysql5
DEBUG: Didn't find receipt, going to depspec regex for: mysql5
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/mysql5
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/mysql5
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port mysql5.
DEBUG: Requested variant i386 is not provided by port mysql5.
DEBUG: Requested variant macosx is not provided by port mysql5.
DEBUG: Checking for conflicts against mysql5
DEBUG: Searching for dependency: mysql5-devel
DEBUG: Didn't find receipt, going to depspec regex for: mysql5-devel
DEBUG: Searching for dependency: mysql4
DEBUG: Didn't find receipt, going to depspec regex for: mysql4
DEBUG: Searching for dependency: zlib
DEBUG: Found Dependency: receipt exists for zlib
DEBUG: Searching for dependency: openssl
DEBUG: Found Dependency: receipt exists for openssl
DEBUG: Searching for dependency: readline
DEBUG: Found Dependency: receipt exists for readline
DEBUG: Executing org.macports.main (mysql5)
DEBUG: Skipping completed org.macports.fetch (mysql5)
DEBUG: Skipping completed org.macports.checksum (mysql5)
DEBUG: Skipping completed org.macports.extract (mysql5)
DEBUG: Skipping completed org.macports.patch (mysql5)
---> Configuring mysql5
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: Executing proc-pre-org.macports.configure-configure-0
Error: The file /opt/local/lib/libz.dylib does not exist, though it was
Error: expected to have been provided by one of mysql5's dependencies. Try
Error: rebuilding the port that should have provided that file by running
Error:
Error: sudo port -n upgrade --force <portname>
Error:
Error: Target org.macports.configure returned: missing required file
DEBUG: Backtrace: missing required file
while executing
"$pre $targetname"
Warning: the following items did not execute (for mysql5): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: The following dependencies failed to build: mysql5
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
Change History
comment:1 Changed 3 years ago by jmr@…
- Owner changed from macports-tickets@… to ryandesign@…
- Port set to mysql5-server
- Description modified (diff)
comment:2 Changed 3 years ago by ryandesign@…
- Port changed from mysql5-server to zlib
- Summary changed from Can't install mysql5-server port to zlib doesn't provide libz.dylib
And what happens when you do what the error message says, e.g.
sudo port -n upgrade --force zlib
comment:3 Changed 3 years ago by jamie@…
I was able to resolve this by forcing ssl, zlib, then sql5.
Thansk
Jamei
comment:4 Changed 3 years ago by ryandesign@…
- Status changed from new to closed
- Resolution set to worksforme
Ok, great. If you ever figure out why the expected libraries weren't provided by those ports in the first place, please let me know; it's been reported a few times before and continues to baffle me.
Note: See
TracTickets for help on using
tickets.


Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.