Opened 13 years ago

Last modified 13 years ago

#31415 closed defect

netcdf 4.1.3 Error ld: library not found for -lsz — at Initial Version

Reported by: ryan.manger@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: netcdf

Description

OS version - Lion 10.7.1
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 &&\

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
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
ld: library not found for -lsz
collect2: ld returned 1 exit status
make[4]: * [cfcheck] Error 1
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'
make[3]:
* [all-recursive] Error 1
make[3]: 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'
make[2]: * [all] Error 2
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'
make[1]:
* [all-recursive] Error 1
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'
make: * [all] Error 2
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'
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
Error: Target org.macports.build returned: shell command failed (see log for details)
DEBUG: Backtrace: shell command failed (see log for details)

while executing

"command_exec build"

(procedure "portbuild::build_main" line 8)
invoked from within

"$procedure $targetname"
Warning: the following items did not execute (for netcdf): org.macports.activate org.macports.build org.macports.destroot org.macports.install
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
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (1)

Changed 13 years ago by ryan.manger@…

Attachment: main.log added

Log File for netcdf install

Note: See TracTickets for help on using tickets.