PDA

View Full Version : Fedora 13 - makemkv_v1.5.6 compile problem



TheBigRed
28th May 2010, 06:12 PM
Hi,

i tried to compile makemkv_v1.5.6 on Fedora 13, but this fails with the following error message:

gcc -O3 -D_linux_ -oout/makemkv.full -Imakemkvgui/inc -Ilibmakemkv/inc -Isstring/inc -Ilibdriveio/inc \
makemkvgui/src/aboutbox.cpp makemkvgui/src/client.cpp makemkvgui/src/dirselectbox.cpp makemkvgui/src/logic.cpp makemkvgui/src/logtext.cpp makemkvgui/src/main.cpp makemkvgui/src/nativefiledialog.cpp makemkvgui/src/mainwnd.cpp makemkvgui/src/marshall.cpp makemkvgui/src/progress.cpp makemkvgui/src/scsiinfo.cpp makemkvgui/src/settingdlg.cpp makemkvgui/src/uisync.cpp makemkvgui/src/viteminfo.cpp makemkvgui/src/backupdlg.cpp makemkvgui/src/lstring.cpp makemkvgui/src/notify.cpp makemkvgui/src/str/en_utf16.cpp makemkvgui/src/api_posix.cpp makemkvgui/src/api_linux.cpp makemkvgui/src/logic_posix.cpp makemkvgui/src/notify_none.cpp tmp/qt_rsrc.cpp tmp/moc_mainwnd.cpp tmp/moc_logtext.cpp tmp/moc_dirselectbox.cpp tmp/moc_aboutbox.cpp tmp/moc_settingdlg.cpp tmp/moc_backupdlg.cpp sstring/src/sstring.cpp libdriveio/src/srlist.cpp \
-DHAVE_BUILDINFO_H -Itmp \
-I/usr/include/qt4 -I/usr/lib/qt4/include -L/usr/lib/qt4 -L/usr/lib/qt4/lib -lc -lstdc++ -lQtGui -lQtCore \
-lpthread -lrt
/usr/bin/ld: /tmp/ccITlzxq.o: undefined reference to symbol 'uncompress'
/usr/bin/ld: note: 'uncompress' 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: ld returned 1 exit status
make: *** [out/makemkv.full] Error 1

the following packages are installed:

# rpm -qa |grep zlib
zlib-devel-1.2.3-23.fc12.x86_64
zlib-1.2.3-23.fc12.x86_64
zlib-1.2.3-23.fc12.i686

contens of zlib-devel:

# rpm -ql zlib-devel
/usr/include/zconf.h
/usr/include/zlib.h
/usr/lib64/libz.so
/usr/share/doc/zlib-devel-1.2.3
/usr/share/doc/zlib-devel-1.2.3/README
/usr/share/doc/zlib-devel-1.2.3/algorithm.txt
/usr/share/doc/zlib-devel-1.2.3/example.c
/usr/share/doc/zlib-devel-1.2.3/minigzip.c
/usr/share/man/man3/zlib.3.gz

zlib devel:

# ll /usr/lib64/libz.so
lrwxrwxrwx 1 root root 25 26. Mai 20:04 /usr/lib64/libz.so -> ../../lib64/libz.so.1.2.3

shared libraries dependencies


# ldd /lib64/libz.so.1.2.3
linux-vdso.so.1 => (0x00007fff137ff000)
libc.so.6 => /lib64/libc.so.6 (0x00007f28e6ed5000)
/lib64/ld-linux-x86-64.so.2 (0x00007f28e74a0000)


# ll /lib64/libc.so.6
lrwxrwxrwx 1 root root 12 7. Mai 23:58 /lib64/libc.so.6 -> libc-2.12.so
# ll /lib64/ld-linux-x86-64.so.2
lrwxrwxrwx 1 root root 10 7. Mai 23:58 /lib64/ld-linux-x86-64.so.2 -> ld-2.12.so

the linux-vdso.so.1 shared library is not available !
(Linux Virtual Dynamic Shared Object)

---------- Post added at 07:12 PM CDT ---------- Previous post was at 08:43 AM CDT ----------

can someone confirm the problem on fc13 32bit/64bit ?
The software is available on:
http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224

YogiBare
29th May 2010, 07:17 AM
hey TBR,

I'm having the same issue over here.

Same exact error message. Same packages, libraries and dependencies.
Fedora 13 (2.6.33.4-95.fc13.x86_64)
Were you able to install makeMKV on fedora 12 (64)?



Hope someone can help :cool:

leigh123linux
29th May 2010, 09:42 AM
Find line #56 in makefile.linux and add -lz


i.e


out/makemkv.full: $(MAKEMKVGUI_GEN) tmp/gen_buildinfo.h
mkdir -p out
$(GCC) -D_linux_ -o$@ $(MAKEMKVGUI_INC) $(LIBMAKEMKV_INC) $(SSTRING_INC) $(LIBDRIVEIO_INC) \
$(MAKEMKVGUI_SRC) $(MAKEMKVGUI_SRC_LINUX) $(MAKEMKVGUI_GEN) $(SSTRING_SRC) $(LIBDRIVEIO_SRC_PUB) \
-DHAVE_BUILDINFO_H -Itmp \
-I/usr/include/qt4 -I/usr/lib/qt4/include -L/usr/lib/qt4 -L/usr/lib/qt4/lib -lc -lstdc++ -lQtGui -lQtCore \
-lpthread -lrt -lz

https://fedoraproject.org/wiki/UnderstandingDSOLinkChange

leigh123linux
29th May 2010, 10:57 AM
Moved to General Support (http://forums.fedoraforum.org/forumdisplay.php?f=7) as it isn't a 64 bit issue.

TheBigRed
29th May 2010, 01:27 PM
@leigh123linux
great, thanks for the solution

YogiBare
30th May 2010, 12:20 AM
@leigh123Linux

WOW!!

Once again you solved my issue with ease and grace!!

Thanks a million!! :D