Author Topic: /usr/lib/x86_64-linux-gnu/libtiff.so.5: undefined reference to `lzma_  (Read 10417 times)

masuch

  • Guest
Hi,

I have tried to compile codeblock on ubuntu 12.10 but got error:

libtool: link: g++ -O2 -ffast-math -DCB_AUTOCONF -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -o .libs/codeblocks app.o appglobals.o backtracedlg.o breakpointsdlg.o compilersettingsdlg.o cpuregistersdlg.o crashhandler.o debugger_interface_creator.o debuggermenu.o debuggersettingscommonpanel.o debuggersettingsdlg.o debuggersettingspanel.o disassemblydlg.o dlgabout.o dlgaboutplugin.o environmentsettingsdlg.o examinememorydlg.o infopane.o main.o notebookstyles.o prefix.o printdlg.o scriptconsole.o scriptingsettingsdlg.o splashscreen.o startherepage.o switcherdlg.o threadsdlg.o watchesdlg.o -pthread  -L../sdk /media/DATA/_dev/codeblock.SVN.be/src/sdk/.libs/libcodeblocks.so -L/usr/lib/x86_64-linux-gnu -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib/x86_64-linux-gnu/libcairo.so -lpango-1.0 /usr/lib/x86_64-linux-gnu/libfreetype.so -lfontconfig -lgobject-2.0 -lglib-2.0 -lpthread -ldl -pthread -Wl,-rpath -Wl,/opt/codeblock.svn/lib
/usr/lib/x86_64-linux-gnu/libtiff.so.5: undefined reference to `lzma_stream_decoder@XZ_5.0'
/usr/lib/x86_64-linux-gnu/libtiff.so.5: undefined reference to `lzma_code@XZ_5.0'
/usr/lib/x86_64-linux-gnu/libtiff.so.5: undefined reference to `lzma_stream_encoder@XZ_5.0'
/usr/lib/x86_64-linux-gnu/libtiff.so.5: undefined reference to `lzma_lzma_preset@XZ_5.0'
/usr/lib/x86_64-linux-gnu/libtiff.so.5: undefined reference to `lzma_end@XZ_5.0'
/usr/lib/x86_64-linux-gnu/libtiff.so.5: undefined reference to `lzma_memusage@XZ_5.0'
collect2: error: ld returned 1 exit status
make[3]: *** [codeblocks] Error 1
make[3]: Leaving directory `/media/DATA/_dev/codeblock.SVN.be/src/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/media/DATA/_dev/codeblock.SVN.be/src/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/media/DATA/_dev/codeblock.SVN.be/src'
make: *** [install-recursive] Error 1

Do you know what version libtiff should I somewhere else is problem ?

thank you very much for any clue.
kind regards,
M.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: /usr/lib/x86_64-linux-gnu/libtiff.so.5: undefined reference to `lzma_
« Reply #1 on: October 16, 2012, 12:11:00 am »
Every new ubuntu version brings up new isuues  :-[ .

This looks like an issue with the wxWidgets version in ubuntu 12.10, C::B does not use libtiff directly as far as I know, but wxWidgets is normally linked against it.

If that is the case it's up to the wxWidgets maintainers of ubuntu to fix it.
Or do you us a self-compiled wxWidgets ?