Subject: mailing-list for TeXmacs Users
List archive
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
Hi,
My system is Archlinux and I use this for compiling:
https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/texmacs.
I have just tried to compile Texmacs today and had the same problem with the linker and "deflate".My system is Archlinux and I use this for compiling:
https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/texmacs.
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
- [TeXmacs] Compile error, Masaru Nomiya, 05/05/2015
- Re: [TeXmacs] Compile error, Alexandre Dezotti, 05/05/2015
- Re: [TeXmacs] Compile error, Masaru Nomiya, 05/05/2015
- Re: [TeXmacs] Compile error, Alexandre Dezotti, 05/05/2015
- Re: [TeXmacs] Compile error, Sam Liddicott, 05/05/2015
- Re: [TeXmacs] Compile error, Alexandre Dezotti, 05/05/2015
- Re: [TeXmacs] Compile error, Masaru Nomiya, 05/05/2015
- [TeXmacs] Solved! (Was Re: Compile error), Masaru Nomiya, 05/23/2015
- Re: [TeXmacs] Solved! (Was Re: Compile error), Alexandre Dezotti, 05/23/2015
- Re: [TeXmacs] Solved! (Was Re: Compile error), Kostas Oikonomou, 05/23/2015
- Re: [TeXmacs] Solved! (Was Re: Compile error), Masaru Nomiya, 05/24/2015
- Re: [TeXmacs] Solved! (Was Re: Compile error), Alexandre Dezotti, 05/23/2015
- Re: [TeXmacs] Compile error, kamaraju kusumanchi, 05/25/2015
- Re: [TeXmacs] Compile error, Miguel de Benito Delgado, 05/27/2015
- Re: [TeXmacs] Compile error, Alexandre Dezotti, 05/05/2015
Archive powered by MHonArc 2.6.19.