Opened 5 months ago
Closed 5 months ago
#73232 closed defect (fixed)
gdal: build fails due to undefined symbols
| Reported by: | news24lor | Owned by: | nilason (Nicklas Larsson) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.11.6 |
| Keywords: | Cc: | Veence (Vincent), Dave-Allured (Dave Allured) | |
| Port: | gdal |
Description (last modified by reneeotten (Renee Otten))
The latest version of the GDAL library, 3.12, available in Macports, cannot be compiled.
I am attaching the log.
:info:build Undefined symbols for architecture arm64: :info:build "_DeclareDeferredNetCDFPlugin", referenced from: :info:build _GDALAllRegister in gdalallregister.cpp.o :info:build ld: symbol(s) not found for architecture arm64 :info:build clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Attachments (1)
Change History (7)
Changed 5 months ago by news24lor
| Attachment: | main.log.zip added |
|---|
comment:1 Changed 5 months ago by reneeotten (Renee Otten)
| Cc: | Veence added |
|---|---|
| Description: | modified (diff) |
| Keywords: | gis gdal removed |
| Owner: | set to nilason |
| Port: | gdal added |
| Status: | new → assigned |
| Summary: | GDAL 3.12.0 - unable to build library → gdal: build fails due to undefined symbols |
comment:2 Changed 5 months ago by nilason (Nicklas Larsson)
comment:3 Changed 5 months ago by Dave-Allured (Dave Allured)
| Cc: | Dave-Allured added |
|---|
comment:4 Changed 5 months ago by nilason (Nicklas Larsson)
Fix is addressed with PR30078.
Watch out: there will be a new gdal-netcdf subport, replacing the variant.
comment:5 Changed 5 months ago by news24lor
Ok. I've seen the changes.
I'll wait for the gdal-netcdf subport to upgrade.
Thanks.
comment:6 Changed 5 months ago by nilason (Nicklas Larsson)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

It is the
netcdfvariant that fails, I'll look into it. Meanwhile, you should be able to build without the variant.