octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48407] libinterp fails to link to libz


From: Rik
Subject: [Octave-bug-tracker] [bug #48407] libinterp fails to link to libz
Date: Tue, 5 Jul 2016 22:16:20 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #4, bug #48407 (project octave):

As Mike said, Octave 4.2.0 is set for release in two months and it is more
interesting whether we need to change anything for that release.  I know when
I build on Linux I have '-lz' inserted automatically.

The code on the development branch is in configure.ac which becomes
configure.


if test $ENABLE_DYNAMIC_LINKING = yes; then
  LIBOCTINTERP_LINK_DEPS=""
else
  LIBOCTINTERP_LINK_DEPS="$DLDFCN_LIBS"
fi

LIBOCTINTERP_LINK_DEPS="$LIBOCTINTERP_LINK_DEPS $FT2_LIBS $HDF5_LIBS
$MAGICK_LIBS $Z_LIBS $FFTW_XLIBS $OPENGL_LIBS $FONTCONFIG_LIBS $FREETYPE_LIBS
$X11_LIBS $CARBON_LIBS $GL2PS_LIBS $LLVM_LIBS $JAVA_LIBS $LAPACK_LIBS"


As long as you have dynamic linking you should have Z_LIBS in your linking.


For stable, you can try the attached diff.  But you will need to have all the
development tools as it will need to rebuild the configure script.  If you
have it, then apply with


patch -p1 < Z_LIB.diff




(file #37727)
    _______________________________________________________

Additional Item Attachment:

File name: Z_LIB.diff                     Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48407>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]