|
From: | puppy 06 |
Subject: | Re: Octave 3.4.2 Build error under CentOS 5.4 x86_64 |
Date: | Wed, 27 Jul 2011 09:16:21 +0800 |
On 25 July 2011 23:39, puppy 06 <address@hidden> wrote:Did you build a shared version of libfltk? If so, ld can't find it.
> /usr/bin/ld: /usr/local/lib/libfltk.a(Fl.o): relocation R_X86_64_32 against
> `a local symbol' can not be used when making a shared object; recompile with
> -fPIC
> /usr/local/lib/libfltk.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [DLD-FUNCTIONS/__fltk_uigetfile__.la] Error 1
> BTW, my FLTK is 1.3.0 built from source.
You either have to build a shared library of libfltk or put the one
you have next to the static library so that ld can find it.
HTH,
- Jordi G. H.
[Prev in Thread] | Current Thread | [Next in Thread] |