Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#4885 closed defect (fixed)

macOS build fails: proj not found

Reported by: rjhb Owned by: pramsey
Priority: medium Milestone: PostGIS 3.1.4
Component: postgis Version: 3.1.x
Keywords: macOS proj Cc:

Description

with proj 8.0.0, the postgis build process on macOS doesn't find it although the configure option --with-projdir was used. config.log reveals that the proj shared library is expected to define _pj_get_release, which it doesn't:

% nm /opt/bb/210311/lib/libproj.dylib | grep release
0000000000207220 T __Z14pj_get_releasev
0000000000207da0 t __Z15pj_release_lockv
                 U __ZNSt3__119__shared_weak_count14__release_weakEv
                 U ___cxa_guard_release
0000000000284e30 S _pj_release

Earlier proj versions did so:

% nm /opt/bb/201106/lib/libproj.dylib | grep release
                 U __ZNSt3__119__shared_weak_count14__release_weakEv
                 U ___cxa_guard_release
00000000001f4850 T _pj_get_release
0000000000272ae0 S _pj_release
00000000001f8710 T _pj_release_lock

Change History (5)

comment:1 by pramsey, 3 years ago

Milestone: PostGIS 3.1.23.1.3

comment:2 by pramsey, 3 years ago

Milestone: 3.1.3PostGIS 3.1.3

Milestone renamed

comment:3 by robe, 3 years ago

Milestone: PostGIS 3.1.3PostGIS 3.1.4

In prep for 3.1.3 release

comment:4 by pramsey, 3 years ago

Resolution: fixed
Status: newclosed

Pretty sure this has been fixed, at least there's a version switched check for this in configure.ac, and I can build on MacOS just fine with both old and new proj versions.

comment:5 by rjhb, 3 years ago

Yes, postgis 3.1.3 builds with proj 8.1.0.

Note: See TracTickets for help on using tickets.