#24582: nco compile fails --------------------------------+------------------------------------------- Reporter: ohtinsel@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: nco --------------------------------+------------------------------------------- Changes (by jmr@…): * keywords: nco => * owner: macports-tickets@… => takeshi@… Old description:
I'm having problems installing NCO. The basic issue is some sort of duplicate symbol problem with netcdf4:
ld: warning: directory '/lib' following -L not found ld: duplicate symbol _nc_get_vara_string in /opt/local/lib/netcdf- devel/lib/libnetcdf.a(nc4var.o) and ./.libs/libnco.a(nco_netcdf.o) collect2: ld returned 1 exit status
I've successfully installed other (non macport) software using the netcdf-devel library so that seems fine. I have not installed the basic netcdf port.
I have attached the debug of the build.
Mike
New description: I'm having problems installing NCO. The basic issue is some sort of duplicate symbol problem with netcdf4: {{{ ld: warning: directory '/lib' following -L not found ld: duplicate symbol _nc_get_vara_string in /opt/local/lib/netcdf- devel/lib/libnetcdf.a(nc4var.o) and ./.libs/libnco.a(nco_netcdf.o) collect2: ld returned 1 exit status }}} I've successfully installed other (non macport) software using the netcdf- devel library so that seems fine. I have not installed the basic netcdf port. I have attached the debug of the build. Mike -- Comment: Please remember to cc the maintainer. -- Ticket URL: <http://trac.macports.org/ticket/24582#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS