[pyngl-talk] Problem when building PyNGL (version 1.4) on Mac Os X (10.6)

Mary Haley haley at ucar.edu
Tue Jul 26 13:52:08 MDT 2016


Nicolas,

You are using an older gcc compiler.  I haven't built PyNGL or NCL using
gcc 4.2 for a number of years now.  I think these older compilers had more
difficulty with duplicate names.

If possible, I would recommend upgrading your compiler. What version of
MacOS are you running? The oldest compilers they have at
hpc.sourceforget.net are at 4.7.

I would also highly recommend that you try our conda version. For more
information, see:

http://www.pyngl.ucar.edu/Download/

--Mary


On Mon, Jul 25, 2016 at 12:51 AM, Nicolas Barrier <barrier at otmed.fr> wrote:

> Hello everyone
>
> I have the same problem as  Mostafa (message of Mon Jun 14 2010 - 13:26:22
> MDT): when I try to build PyNGL, I have the following error:
>
> *gcc-4.2 -bundle -undefined dynamic_lookup -L/opt/local/lib
> -Wl,-headerpad_max_install_names -L/opt/local/lib/db48
> build/temp.macosx-10.6-x86_64-2.7/Helper.o
> build/temp.macosx-10.6-x86_64-2.7/hlu_wrap.o
> build/temp.macosx-10.6-x86_64-2.7/gsun.o
> -L/Users/Nicolas/Desktop/Ncl6.0/lib -L/usr/X11R6/lib -L/opt/local/lib/
> -lnfpfort -lhlu -lncarg -lncarg_gks -lncarg_c -lngmath -lX11 -lgfortran -o
> build/lib.macosx-10.6-x86_64-2.7/PyNGL/_hlu.so*
> *ld: duplicate symbol _pcmp04_ in
> /Users/Nicolas/Desktop/Ncl6.0/lib/libncarg.a(pcblda.o) and
> build/temp.macosx-10.6-x86_64-2.7/hlu_wrap.o*
> *collect2: ld returned 1 exit status*
> *error: command 'gcc-4.2' failed with exit status 1*
>
> I am building PyNGL-1.4 and I have NCL-6.0 installed.
>
> Has anyone encountered the same error? Do you know a way to fix it?
>
> Thanks a lot.
>
> Nicolas Barrier
>
>
>
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20160726/240ba245/attachment.html 


More information about the pyngl-talk mailing list