[MacPorts] #23645: nco +netcdf4 fails to install

MacPorts noreply at macports.org
Mon Mar 1 06:55:34 PST 2010


#23645: nco +netcdf4 fails to install
--------------------------------------+-------------------------------------
 Reporter:  barry.j.mcinnes@…         |       Owner:  takeshi@…           
     Type:  defect                    |      Status:  new                 
 Priority:  Normal                    |   Milestone:                      
Component:  ports                     |     Version:  1.8.2               
 Keywords:                            |        Port:  nco                 
--------------------------------------+-------------------------------------

Comment(by takeshi@…):

 My guess that replacement of libnco.la by ${prefix}/lib ./.libs/libnco.a
 is a cause of duplicate name with the old library ${prefix}/lib
 seems to be wrong.

 Since ./.libs/libnco.a is specified in the full path and nothing else like
 -lnco,
 the former should be used. Thus it does not seem to be related with
 libtool.

 I still can't reproduce your problem (Leopard on PPC and Snow Leopard on
 Intel).
 I don't have the duplicate symbol between netcdf +netcdf4 and nco
 +netcdf4.
 {{{
 $ nm work/nco-4.0.0/src/nco/.libs/libnco.a | grep _nc_put_vara_ulonglong
                  U _nc_put_vara_ulonglong
 $ nm /opt/local/lib/libnetcdf.a | grep _nc_put_vara_ulonglong
 00000000000006e0 T _nc_put_vara_ulonglong
 nm: no name list
 0000000000005ae8 S _nc_put_vara_ulonglong.eh
 nm: no name list
 nm: no name list
 }}}
 Can I see the result of these commands?

-- 
Ticket URL: <http://trac.macports.org/ticket/23645#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list