Bug 238121

Summary: astro/cfitsio: Unresolved symbols in the shared library: deflate, deflateEnd, inflate, etc
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me CC: ota
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer freebsd_triage 2019-05-25 20:05:27 UTC
Testcase: the port science/healpix fails to build because of missing symbols in lib/libcfitsio.so:
ld: error: /usr/local/lib/libcfitsio.so: undefined reference to deflate
ld: error: /usr/local/lib/libcfitsio.so: undefined reference to deflateEnd
ld: error: /usr/local/lib/libcfitsio.so: undefined reference to deflateInit2_
ld: error: /usr/local/lib/libcfitsio.so: undefined reference to inflate
ld: error: /usr/local/lib/libcfitsio.so: undefined reference to inflateEnd
ld: error: /usr/local/lib/libcfitsio.so: undefined reference to inflateInit2_
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 1 ota 2019-08-26 14:10:17 UTC
-lz is missing.
zlib provides these symbols.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-08-31 22:00:12 UTC
A commit references this bug:

Author: sunpoet
Date: Sat Aug 31 22:00:03 UTC 2019
New revision: 510465
URL: https://svnweb.freebsd.org/changeset/ports/510465

Log:
  Use bundled zlib

  - Bump PORTREVISION for package change

  PR:		238121
  Reported by:	yuri

Changes:
  head/astro/cfitsio/Makefile
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-08-31 22:04:05 UTC
Committed. Thanks!