View previous topic :: View next topic |
Author |
Message |
Nitro_146 Apprentice
Joined: 02 Mar 2005 Posts: 221 Location: Digne les bains, France
|
Posted: Wed Jun 04, 2014 8:56 pm Post subject: [SOLVED] Panini emerge fails : libz.so.1 |
|
|
Hello,
I am trying to emerge media-gfx/panini-0.71.104, but the build fails.
Here are the last lines of emerge output :
Code: | x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/usr/X11R6/include -Ibuild -Ibuild -o build/qrc_PaniniIcon.o qrc_PaniniIcon.cpp
In file included from build/../src/GLwindow.h:25:0,
from build/moc_GLwindow.cpp:9:
build/../src/pvQtPic.h:294:18: warning: unused parameter ‘url’ [-Wunused-parameter]
build/../src/pvQtPic.h:294:18: warning: unused parameter ‘dims’ [-Wunused-parameter]
build/../src/pvQtPic.h:297:22: warning: unused parameter ‘url’ [-Wunused-parameter]
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -o Panini build/main.o build/pvQtPic.o build/pvQtView.o build/MainWindow.o build/GLwindow.o build/pvQt_QTVR.o build/picTypeDialog.o build/pictureTypes.o build/panosurface.o build/panosphere.o build/panocylinder.o build/TurnDialog.o build/About.o build/moc_pvQtPic.o build/moc_CubeLimit_dialog.o build/moc_pvQtView.o build/moc_MainWindow.o build/moc_GLwindow.o build/moc_picTypeDialog.o build/moc_About.o build/moc_pvQtMouseModes.o build/moc_TurnDialog.o build/qrc_PaniniIcon.o -L/usr/lib64/qt4 -L/usr/lib64 -lGLU -lQtOpenGL -L/usr/lib64 -L/usr/lib64/qt4 -L/usr/X11R6/lib -lQtGui -lQtCore -lgthread-2.0 -lrt -lglib-2.0 -lGL -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: build/pvQt_QTVR.o: undefined reference to symbol 'inflateEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'inflateEnd' 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: *** [Panini] Error 1
* ERROR: media-gfx/panini-0.71.104::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-gfx/panini-0.71.104::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-gfx/panini-0.71.104::gentoo'`.
* The complete build log is located at '/var/log/portage/media-gfx:panini-0.71.104:20140604-202731.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/panini-0.71.104/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/panini-0.71.104/temp/environment'.
* Working directory: '/var/tmp/portage/media-gfx/panini-0.71.104/work/Panini-0.71.104-src'
* S: '/var/tmp/portage/media-gfx/panini-0.71.104/work/Panini-0.71.104-src'
>>> Failed to emerge media-gfx/panini-0.71.104, Log file:
>>> '/var/log/portage/media-gfx:panini-0.71.104:20140604-202731.log'
|
I have tried to re-emerge zlib but it did not solve the problem. _________________ Linux, cause booting is for adding new hardware
Last edited by Nitro_146 on Sun Jun 08, 2014 11:37 am; edited 1 time in total |
|
Back to top |
|
|
Nitro_146 Apprentice
Joined: 02 Mar 2005 Posts: 221 Location: Digne les bains, France
|
Posted: Sun Jun 08, 2014 11:30 am Post subject: |
|
|
I answer myself, in case it could help anyone facing the problem.
I have found a workaround in this thread : https://groups.google.com/forum/#!msg/hugin-ptx/6wdLOt2TPEg/7Y8O6PqLgY8J
It works when compiling from the source package (not from portage).
Quote: | To fix it, open the panini.pro file and add
LIBS += -lGLU -lz
Preferably somewhere in the beginning |
_________________ Linux, cause booting is for adding new hardware |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|