zhanlangsir / Qtqq

使用qt开发的基于webqq3.0协议的qq!
198 stars 74 forks source link

64位arch编译失败 #6

Closed maplebeats closed 12 years ago

maplebeats commented 12 years ago

/usr/bin/ld: ../zhanlangsir-Qtqq-3446bee/.intermediate/obj/qqutility.o: undefined reference to symbol 'inflateInit2' /usr/bin/ld: note: 'inflateInit2' is defined in DSO /usr/lib/libz.so.1 so try adding it to the linker command line /usr/lib/libz.so.1: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make: *\ [qtqq] Error 1

zhanlangsir commented 12 years ago

需要安装zlib

maplebeats commented 12 years ago

^_^[maplebeats@otaku:~]$ pacman -Q zlib zlib 1.2.7-1 我检查了的,有libz.so文件。。。

zhanlangsir commented 12 years ago

把他link进项目看看,可以在qtqq.pro的

unix:LIBS += ./libs/libjson.so

一行中添加,

unix:LIBS += ./libs/libjson.so \ your_zlib_library_path