Compiling The Unarchiver / libobjc.so.3 error

Problems with packages? Post here, using [tags] of the package name.

Compiling The Unarchiver / libobjc.so.3 error

Postby ebbix » Tue Sep 18, 2012 1:32 pm

Hello,
I am trying to compile The Unarchiver's command line tools unar and lsar (http://code.google.com/p/theunarchiver/) as these tools are completely free (LGPL2.1) alternatives to unrar. I took this PKGBUILD: https://aur.archlinux.org/packages.php?ID=47977 and added arm architecture.
However, it seems as there is a library problem. Looks like libobjc.so.3 is missing (which is true), but I don't know which package contains it. Google didn't find any hint for me, so I hope someone might know something.
Output:
$this->bbcode_second_pass_code('', '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 -lz
/usr/bin/ld: warning: libobjc.so.3, needed by /usr/lib/gcc/armv5tel-unknown-linux-gnueabi/4.7.1/../../../libgnustep-base.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/armv5tel-unknown-linux-gnueabi/4.7.1/../../../libgnustep-base.so: undefined reference to `sel_register_name'
/usr/lib/gcc/armv5tel-unknown-linux-gnueabi/4.7.1/../../../libgnustep-base.so: undefined reference to `sel_register_typed_name'
/usr/lib/gcc/armv5tel-unknown-linux-gnueabi/4.7.1/../../../libgnustep-base.so: undefined reference to `sel_get_any_typed_uid'
/usr/lib/gcc/armv5tel-unknown-linux-gnueabi/4.7.1/../../../libgnustep-base.so: undefined reference to `sel_get_typed_uid'
collect2: error: ld returned 1 exit status
make: *** [unar] Error 1
')
ebbix
 
Posts: 48
Joined: Fri Aug 10, 2012 1:55 pm

Re: Compiling The Unarchiver / libobjc.so.3 error

Postby WarheadsSE » Tue Sep 18, 2012 1:57 pm

Have you confirmed that all the necessary dependencies are installed?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Compiling The Unarchiver / libobjc.so.3 error

Postby ebbix » Tue Sep 18, 2012 2:44 pm

$this->bbcode_second_pass_code('', 'depends=('gnustep-base' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib')
makedepends=('gcc-objc')')
Everything is installed.
ebbix
 
Posts: 48
Joined: Fri Aug 10, 2012 1:55 pm

Re: Compiling The Unarchiver / libobjc.so.3 error

Postby WarheadsSE » Tue Sep 18, 2012 2:56 pm

$this->bbcode_second_pass_code('', 'pacman -Ql gcc-libs | grep objc
gcc-libs /usr/lib/libobjc.so
gcc-libs /usr/lib/libobjc.so.4
gcc-libs /usr/lib/libobjc.so.4.0.0
')

Looks like a version problem ;)

Also, you may, or may not, want to look at gcc-obj in the event that it needs it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Compiling The Unarchiver / libobjc.so.3 error

Postby ebbix » Tue Sep 18, 2012 3:06 pm

Okay, thanks. I don't know very much about ObjC, so I don't know if I'll find a solution.

UPDATE:
compiled and installed gnustep-base, now unarchiver compiled without linker error. (Didn't test binaries though :D)
ebbix
 
Posts: 48
Joined: Fri Aug 10, 2012 1:55 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 3 guests