GNOME Bugzilla – Bug 644192
insufficient linking
Last modified: 2011-03-13 09:23:25 UTC
Created attachment 182814 [details] [review] patch Picky linkers complain about lack of -lX11 and -lz on the link line: /usr/bin/ld: server/libvncserver/vino_server-zlib.o: undefined reference to symbol 'deflate' /usr/bin/ld: note: 'deflate' 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
Comment on attachment 182814 [details] [review] patch I pushed a different fix as commit 008deb23cf4de6c7d8b9e1ebb78f638938aa5e84. Out of interest, which ld version is this? I am using binutils 2.20.1 and it would be nice to be able to reproduce the underlinking behaviour.
binutils-2.21.51.0.6 I forgot to mention earlier, -lgcrypt is also missing.
Thanks, I'll look into getting an updated binutils package installed. The gcrypt issue should be fixed with commit bf4f3d0bdaf54c1aac6301015e162120206c922b.
*** Bug 644621 has been marked as a duplicate of this bug. ***