mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Solved! (Was Re: Compile error)


Chronological Thread 
  • From: Alexandre Dezotti <address@hidden>
  • Cc: "address@hidden" <address@hidden>
  • Subject: Re: [TeXmacs] Solved! (Was Re: Compile error)
  • Date: Sat, 23 May 2015 14:02:25 +0200

I have just tried to compile Texmacs today and had the same problem with the linker and "deflate".

Using the export command before the configure script did make the things work, that is, everything seems to compile fine.

Thank you for sharing your solution.

Doesn't it mean there is a problem with the configure/makefile ?

Best,
Alexandre.



2015-05-23 8:42 GMT+02:00 Masaru Nomiya <address@hidden>:
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

Execute

$ export LDFLAGS=-lz

before you run the configure script.

THanks,

---
  Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp




Archive powered by MHonArc 2.6.19.

Top of page