Incomplete EXTRA LIBS for LINUX64 target

From NWChem

You are viewing a single post from the thread title above
Jump to: navigation, search

Click here for full thread
Gets Around
Threads 24
Posts 86
Compiling nwchem with python support requires linking with library "-lz".
It happens if target is LINUX CYGNUS CYGWIN INTERIX, but if target is LINUX64 there is no "-lz" in EXTRA_LIBS, so linking fails with error.

I provide the patch that fixes this issue in latest Development snapshot June 09, 2014 Nwchem-dev.revision25716-src.2014-06-09

src/config/makefile_orig.h	2014-06-05 06:13:46.000000000 +0700
+++ src/config/makefile.h	2014-07-13 09:43:18.147836024 +0700
@@ -2101,7 +2101,7 @@
      ifeq ($(BUILDING_PYTHON),python)
 #   EXTRA_LIBS += -ltk -ltcl -L/usr/X11R6/lib -lX11 -ldl
-     EXTRA_LIBS +=    -lnwcutil  -lpthread -lutil -ldl
+     EXTRA_LIBS += -lz -lnwcutil  -lpthread -lutil -ldl
   LDOPTIONS = -Wl,--export-dynamic 
Edited On 9:05:33 PM PDT - Sat, Jul 12th 2014 by Vladimir

Who's here now Members 0 Guests 0 Bots/Crawler 0

AWC's: 2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC