Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Compile error

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Compile error


Chronological Thread 
  • From: Miguel de Benito Delgado <address@hidden>
  • To: "address@hidden" <address@hidden>
  • Subject: Re: [TeXmacs] Compile error
  • Date: Wed, 27 May 2015 09:26:06 +0200

Yes, this is a real pain in the ass. It's started happening just recently. Under MacOS one also has to explictly add -lz to the linker flags, so this is some general mis-configure-ation.
We should look into it...
--
Miguel de  Benito.

On Mon, May 25, 2015 at 6:04 PM, kamaraju kusumanchi <address@hidden> wrote:
On Mon, May 4, 2015 at 10:14 PM, Masaru Nomiya <address@hidden> wrote:
> Hello,
>
> I got the source from the web, and from svn repository.
> With both souces, I got errors;
>
> [...]
> ,-rpath, -L/usr/lib64 -lQtGui -L/usr/lib64 -L/usr/X11R6/lib -lQtCore -lpthread -liconv -lguile -lgmp -lcrypt -lm -lltdl -lfreetype -ldl -o Objects/texmacs-shared.bin
> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: Objects/OutputFlateEncodeStream.o: undefined reference to symbol 'deflate'
> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: note: 'deflate' is defined in DSO /lib64/libz.so.1 so try adding it to the linker command line
> /lib64/libz.so.1: could not read symbols: Invalid operation
> collect2: error: ld returned 1 exit status
> make[1]: *** [Objects/texmacs-shared.bin] Error 1
> make[1]: Leaving directory `/tmp/tes/src/src'
> make: *** [TEXMACS] Error 2
>
> Any hint?
>

Basically it is not able to find libz.so.1 or any other library that
could provide the 'deflate' symbol. Try installing a package that
provides this library. The exact command and the package name for this
would depend on your OS. On Debian systems, I think this package is
called zlib1g.

% apt-file search libz.so.1 | grep -v 32 | grep -v dbg
zlib1g: /lib/x86_64-linux-gnu/libz.so.1
zlib1g: /lib/x86_64-linux-gnu/libz.so.1.2.7
zlib1g: /lib/x86_64-linux-gnu/libz.so.1.2.8


hth
raju
--
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog




Archive powered by MHonArc 2.6.19.

Top of Page