discuss-gnustep
[Top][All Lists]
Advanced

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

Re: libobjc issue


From: Andreas Höschler
Subject: Re: libobjc issue
Date: Sun, 4 Jan 2009 00:25:57 +0100

Hi all,

I have machine A with gcc installed like so (at least as far as I remember)

        cd /usr/src
        gunzip gcc-3.4.4.tar.gz
        tar xvf gcc-3.4.4.tar
        cd gcc-3.4.4
        mkdir objdir
        cd objdir
../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c++,objc
        make bootstrap

        make install

and a working GNUstep installation. I have machine B with gcc installed like above. I have rsynced /opt/GNUstep from machine A to machine B since I don't have access to the sources on machine B. When I start any GNustep application/tool on machine B I get

        fatal: libobjc.so.2: open failed: No such file or directory

I searched for libobjc on both machines. On machine A I get

        find /usr/local/lib -name "libobjc*"

/usr/local/lib/libobjc.so.2.0.0
/usr/local/lib/libobjc.la
/usr/local/lib/libobjc.so
/usr/local/lib/amd64/libobjc.so.2.0.0
/usr/local/lib/amd64/libobjc.so
/usr/local/lib/amd64/libobjc.a
/usr/local/lib/amd64/libobjc.so.2
/usr/local/lib/amd64/libobjc.la
/usr/local/lib/libobjc.so.2
/usr/local/lib/libobjc.a

On machine B I get

        find /usr/local/lib -name "libobjc*"

/usr/local/lib/libobjc.la
/usr/local/lib/libobjc.a

OK, what am I missing? I guess libobjc is part of the gcc build!? But why does machine A has it in libobjc.so.2.0.0 form and machine B not? I have rebuilt gcc on machine B multiple times, but no avail. Any idea what went wrong?

I brought GNUstep sources to machine B. GNUstep built fine, but when I try to build Terminal, I get

Compiling file autokeyviewchain.m ...
<command line>:9:9: warning: ISO C requires whitespace after the macro name
 Compiling file Label.m ...
<command line>:9:9: warning: ISO C requires whitespace after the macro name
 Linking app Terminal ...
ld: warning: file libobjc.so.2: required by /opt/GNUstep/System/Library/Libraries/libgnustep-base.so, not found ld: warning: file libgcc_s.so.1: required by /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.4/../../../libtiff.so.3, not found
 Creating Terminal.app/Resources...
 Creating Terminal.app/Resources/Info-gnustep.plist...
ld.so.1: plmerge: fatal: libobjc.so.2: open failed: No such file or directory
Killed
make[1]: [Terminal.app/Resources/Info-gnustep.plist] Error 137 (ignored)
 Creating Terminal.app/Resources/Terminal.desktop...
ld.so.1: pl2link: fatal: libobjc.so.2: open failed: No such file or directory
Killed
make[1]: *** [Terminal.app/Resources/Terminal.desktop] Error 137
make: *** [Terminal.all.app.variables] Error 2

I do not have any libobjc.so.2!?

find /usr/local/lib -name "libobjc*"

/usr/local/lib/libobjc.la
/usr/local/lib/libobjc.a

What am I missing (must be plain simply, but I don't get it)?

Thanks,

  Andreas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]