[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#619602: unarchiver patch to run on testing

For what it's worth, this patch makes TheUnarchiver2.7.1_src.zip build
and run for me on wheezy. It just removes -lobjc from the link command.
I also have to add -lz, which is already done by a patch in

Without removing -lobjc, the programs compile but enter an infinite loop
when run. They also show this warning:

gcc -Wl,--whole-archive -fexceptions -fgnu-runtime -o unar unar.o CSCommandLineParser.o CommandLineCommon.o NSStringPrinting.o libXADMaster.a ../UniversalDetector/libUniversalDetector.a -Wl,--no-whole-archive -lgnustep-base -lcrypto -lbz2 -licuuc -lobjc -lstdc++ -lm
/usr/bin/ld: warning: libobjc.so.2, needed by /usr/lib64/libgnustep-base.so, may conflict with libobjc.so.3

The relevant packages I have installed are

gobjc-4.6 4.6.1-4
libobjc2 4.5.3-5
libobjc3 4.6.1-4
libgnustep-base-dev 1.20.2-2

David Fifield
>From cb943fbf510612592a7ddbf90fb16cae0eaa36fb Mon Sep 17 00:00:00 2001
From: David Fifield <david@bamsoftware.com>
Date: Thu, 1 Sep 2011 13:08:34 -0700
Subject: [PATCH 1/2] Remove -objc from linker command line.

This resolves a conflict with linking with libobjc2 and libobjc3.
 XADMaster/Makefile.linux |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/XADMaster/Makefile.linux b/XADMaster/Makefile.linux
index 2b3d55c..99d5703 100644
--- a/XADMaster/Makefile.linux
+++ b/XADMaster/Makefile.linux
@@ -49,7 +49,6 @@ LIBS =	-Wl,--no-whole-archive \
 	-lcrypto \
 	-lbz2 \
 	-licuuc \
-	-lobjc \
 	-lstdc++ \

Reply to: