[MacPorts] #42414: netcdf-fortran @4.2_11 dyld failure
MacPorts
noreply at macports.org
Sun Feb 9 17:24:24 PST 2014
#42414: netcdf-fortran @4.2_11 dyld failure
-----------------------------+-----------------------
Reporter: lists@… | Owner: takeshi@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: netcdf-fortran |
-----------------------------+-----------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => takeshi@…
* port: => netcdf-fortran
Old description:
> A simple f90 file calling nf90_create results in the following error:
> {{{
> dyld: lazy symbol binding failed: Symbol not found: _nf_create_
> Referenced from: /opt/local/lib/libnetcdff.5.dylib
> Expected in: flat namespace
>
> dyld: Symbol not found: _nf_create_
> Referenced from: /opt/local/lib/libnetcdff.5.dylib
> Expected in: flat namespace
>
> Program received signal SIGTRAP: Trace/breakpoint trap.
>
> Backtrace for this error:
> #0 0x10e40de7d
> #1 0x10e40e38b
> #2 0x7fff85ab0909
> Trace/BPT trap: 5
> }}}
>
> The file was compiled with the command:
> {{{
> `nc-config --fc` `nc-config --fflags` -o essai essai.f90 `nc-config
> --flibs`
> }}}
>
> The result of nc-config appears to be ok:
>
> $ nc-config --fc
> /opt/local/bin/gfortran-mp-4.8
> $ nc-config --fflags
> -pipe -Os -I/opt/local/include
> $ nc-config --flibs
> -L/opt/local/lib -lnetcdff -L/opt/local/lib
> -Wl,-headerpad_max_install_names -lnetcdf -lnetcdf
>
> I have tried several gcc variants (gcc44, gcc46 and gcc48) but I get the
> same result each time on Mountain Lion with MacPorts 2.2.1.
> The same versions on Mavericks appears to work.
> Enclosed is an example simple source file grabbed from netcdf website,
> which reproduces the problem.
New description:
A simple f90 file calling nf90_create results in the following error:
{{{
dyld: lazy symbol binding failed: Symbol not found: _nf_create_
Referenced from: /opt/local/lib/libnetcdff.5.dylib
Expected in: flat namespace
dyld: Symbol not found: _nf_create_
Referenced from: /opt/local/lib/libnetcdff.5.dylib
Expected in: flat namespace
Program received signal SIGTRAP: Trace/breakpoint trap.
Backtrace for this error:
#0 0x10e40de7d
#1 0x10e40e38b
#2 0x7fff85ab0909
Trace/BPT trap: 5
}}}
The file was compiled with the command:
{{{
`nc-config --fc` `nc-config --fflags` -o essai essai.f90 `nc-config
--flibs`
}}}
The result of nc-config appears to be ok:
{{{
$ nc-config --fc
/opt/local/bin/gfortran-mp-4.8
$ nc-config --fflags
-pipe -Os -I/opt/local/include
$ nc-config --flibs
-L/opt/local/lib -lnetcdff -L/opt/local/lib
-Wl,-headerpad_max_install_names -lnetcdf -lnetcdf
}}}
I have tried several gcc variants (gcc44, gcc46 and gcc48) but I get the
same result each time on Mountain Lion with MacPorts 2.2.1.
The same versions on Mavericks appears to work.
Enclosed is an example simple source file grabbed from netcdf website,
which reproduces the problem.
--
--
Ticket URL: <https://trac.macports.org/ticket/42414#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list