[MacPorts] #31415: netcdf 4.1.3 Error ld: library not found for -lsz

MacPorts noreply at macports.org
Mon Sep 26 12:23:16 PDT 2011


#31415: netcdf 4.1.3 Error ld: library not found for -lsz
-----------------------------------+----------------------------------------
 Reporter:  ryan.manger@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  2.0.3                                
 Keywords:                         |        Port:                                       
-----------------------------------+----------------------------------------
 OS version - Lion 10.7.1[[BR]]
 XCode version 4.1 (4B110)

 make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_netcdf/netcdf/work/netcdf-4.1.3/libcf/cfcheck'
 depbase=`echo cfcheck.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I. -I..  -I../src
 -I../.. -I../../include -I../../liblib -I/opt/local/include -DNDEBUG
 -pipe -O2 -fno-common -arch x86_64 -MT cfcheck.o -MD -MP -MF $depbase.Tpo
 -c -o cfcheck.o cfcheck.c &&\[[BR]]

         mv -f $depbase.Tpo $depbase.Po
 /bin/sh ../libtool --tag=CC   --mode=link /Developer/usr/bin/llvm-gcc-4.2
 -pipe -O2 -fno-common -arch x86_64  ../../liblib/libnetcdf.la
 -L/opt/local/lib -lhdf5_hl -lhdf5 -lz -L/opt/local/lib -lsz -lm
 -L/opt/local/lib -arch x86_64 -L/opt/local/lib -o cfcheck cfcheck.o
 [[BR]]
 libtool: link: /Developer/usr/bin/llvm-gcc-4.2 -pipe -O2 -fno-common -arch
 x86_64 -arch x86_64 -o .libs/cfcheck cfcheck.o
 ../../liblib/.libs/libnetcdf.dylib -L/opt/local/lib
 /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib
 /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl
 -lcrypto /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib -lz
 -lsz -lm[[BR]]
 ld: library not found for -lsz[[BR]]
 collect2: ld returned 1 exit status[[BR]]
 make[4]: *** [cfcheck] Error 1[[BR]]
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_netcdf/netcdf/work/netcdf-4.1.3/libcf/cfcheck'[[BR]]
 make[3]: *** [all-recursive] Error 1[[BR]]
 make[3]: Leaving directory [[BR]]
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_netcdf/netcdf/work/netcdf-4.1.3/libcf'[[BR]]
 make[2]: *** [all] Error 2[[BR]]
 make[2]: Leaving
 directory`/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_netcdf/netcdf/work/netcdf-4.1.3/libcf'[[BR]]
 make[1]: *** [all-recursive] Error 1[[BR]]
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_netcdf/netcdf/work/netcdf-4.1.3'[[BR]]
 make: *** [all] Error 2[[BR]]
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_netcdf/netcdf/work/netcdf-4.1.3'[[BR]]
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_netcdf/netcdf/work/netcdf-4.1.3"
 && /usr/bin/make -j4 -w all " returned error 2[[BR]]
 Error: Target org.macports.build returned: shell command failed (see log
 for details)[[BR]]
 DEBUG: Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)[[BR]]
     invoked from within
 "$procedure $targetname"[[BR]]
 Warning: the following items did not execute (for netcdf):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install[[BR]]
 Log for netcdf is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_netcdf/netcdf/main.log[[BR]]
 Error: Status 1 encountered during processing.[[BR]]
 To report a bug, see <http://guide.macports.org/#project.tickets>

-- 
Ticket URL: <https://trac.macports.org/ticket/31415>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list