[Solved] Fedora 13 - makemkv_v1.5.6 compile problem

The place to discuss linux version of MakeMKV
Post Reply
MartinKG
Posts: 15
Joined: Wed May 26, 2010 4:58 pm

[Solved] Fedora 13 - makemkv_v1.5.6 compile problem

Post by MartinKG »

Hi,

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

Code: Select all

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 installed zlib is:
ll /lib64/libz.so.1*
lrwxrwxrwx. 1 root root 13 19. Nov 2009 /lib64/libz.so.1 -> libz.so.1.2.3
-rwxr-xr-x. 1 root root 85992 29. Jul 2009 /lib64/libz.so.1.2.3
[root@gecko makemkv_v1.5.6_beta_oss]# rpm -qf /lib64/libz.so.1
zlib-1.2.3-23.fc12.x86_64

I tried also with a newer version of zlib-1.2.5, the results are the same.

ll /lib64/libz.so.1*
lrwxrwxrwx 1 root root 13 26. Mai 18:45 /lib64/libz.so.1 -> libz.so.1.2.5
-rwxr-xr-x 1 root root 237548 26. Mai 18:40 /lib64/libz.so.1.2.5
Last edited by MartinKG on Sun May 30, 2010 9:25 am, edited 1 time in total.
skittle
Posts: 349
Joined: Thu Jan 14, 2010 4:23 am

Re: Fedora 13 - makemkv_v1.5.6 compile problem

Post by skittle »

Hi, did you make sure to install libz development files?

it compiles fine on debian testing (libz 1.2.3.4)
MartinKG
Posts: 15
Joined: Wed May 26, 2010 4:58 pm

Re: Fedora 13 - makemkv_v1.5.6 compile problem

Post by MartinKG »

the following packages are installed:

Code: Select all

# 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:

Code: Select all

# 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:

Code: Select all

# 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

Code: Select all

# 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)

Code: Select all

# 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)

i guess it's a distribution problem, can someone confirm this ?
MartinKG
Posts: 15
Joined: Wed May 26, 2010 4:58 pm

Solved: Fedora 13 - makemkv_v1.5.6 compile problem

Post by MartinKG »

Change line #56 in makefile.linux and add -lz
-lpthread -lrt -lz
fnj2002
Posts: 1
Joined: Sun Jul 11, 2010 9:23 am

Re: [Solved] Fedora 13 - makemkv_v1.5.6 compile problem

Post by fnj2002 »

Just wanted to say a big thank you and it worked for me as well. I have Fedora 13 x86_64 as well.

Made the difference for me to decide to purchase!
Post Reply