[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling on openbsd with gcc4.8, executables fail to run
From: |
Wolfgang Lux |
Subject: |
Re: Compiling on openbsd with gcc4.8, executables fail to run |
Date: |
Tue, 31 Dec 2013 12:01:46 +0100 |
Am 30.12.2013 um 20:23 schrieb Riccardo Mottola:
> my suspect is that 05b92000 25b9b000 rlib 0 1 0
> /usr/lib/libobjc.so.5.0
>
> is the wrong libobjc, it is the one of the default compiler. It should be:
>
> $ ls -l /usr/local/lib/libobjc.*
> -rw-r--r-- 1 root bin 544350 Jul 22 16:53 /usr/local/lib/libobjc.a
> -rwxr-xr-x 1 root bin 927 Jul 22 16:53 /usr/local/lib/libobjc.la
> -rwxr-xr-x 1 root bin 500970 Jul 22 16:53 /usr/local/lib/libobjc.so.5.0
>
>
> even if it is 5.0
>
> How may I fix this?
You'd fix this in one of the usual ways when your library search path is wrong.
You might try adding /usr/local/iib to (the end of) your LD_LIBRARY_PATH
environment variable. Or you might add -Wl,-R/usr/local/lib to LDFLAGS when
configuring gnustep-make.
Wolfgang