Opened 3 years ago

Closed 3 years ago

#62865 closed defect (fixed)

molmol @2k.2.0: No rule to make target `/usr/lib/libz.dylib', needed by `molmol'. Stop.

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jwhowarth
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: molmol

Description

molmol does not build on macOS 11 or later:

https://build.macports.org/builders/ports-11_arm64-builder/builds/20187/steps/install-port/logs/stdio

make[4]: *** No rule to make target `/usr/lib/libz.dylib', needed by `molmol'.  Stop.

System libraries like /usr/lib/libz.dylib are not present in the filesystem anymore as of macOS 11. They are only in the dylib cache, so you can dlopen them, but you cannot do things like use them as depenencies in makefile rules anymore.

molmol shouldn't be using /usr/lib/libz.dylib anyway. It should use MacPorts zlib.

Change History (1)

comment:1 Changed 3 years ago by jwhowarth

Resolution: fixed
Status: assignedclosed

In 21f3ef5fa4aa2187c070c1d15428338dad2b5fee/macports-ports (master):

molmol: fix build on Big Sur

  • using MacPorts zlib and removing deprecated OpenGL framework linkage
  • modernize checksums
  • add license

Closes: #62865

Note: See TracTickets for help on using tickets.