Changes between Initial Version and Version 1 of Ticket #29059


Ignore:
Timestamp:
Apr 7, 2011, 11:04:53 PM (13 years ago)
Author:
jmroot (Joshua Root)
Comment:

Please remember to cc the maintainer. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29059

    • Property Owner changed from macports-tickets@… to takeshi@…
    • Property Keywords netcdf removed
    • Property Priority changed from High to Normal
  • Ticket #29059 – Description

    initial v1  
    33I have installed gcc45 and netcdf +gcc45 on a mac running 10.5.8 and have tested the install on a simple fortran code which calls the netcdf library.  When I compile this code I get the error:
    44
    5 
     5{{{
    66[cassava:~] serra% gfortran -I/opt/local/include handle_err.f -o handle_err -L/opt/local/lib -lnetcdf
    77Undefined symbols:
     
    1212ld: symbol(s) not found
    1313collect2: ld returned 1 exit status
    14 
     14}}}
    1515I've had trouble before with macports netcdf libs not working with fortran and ended up creating my own Portfile.  But that installation will not work any more.  I think because I upgraded all my macports code and hdf5 is now hdf5-18.  I did try to fix the problem by installing hdf5-18 +gcc45 and then reinstalling netcdf but this did not fix the problem. 
    1616