[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Error when building on gentoo x86_64: boost... recompile
From: |
Robin Atwood |
Subject: |
Re: [Gnash-dev] Error when building on gentoo x86_64: boost... recompile with -fPIC |
Date: |
Fri, 19 Jun 2009 21:50:58 +0700 |
User-agent: |
KMail/1.11.4 (Linux/2.6.28-gentoo-r1; KDE/4.2.4; x86_64; ; ) |
On Friday 19 June 2009, Benjamin Wolsey wrote:
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bi
> >n/ld: /usr/lib64/libboost_thread-mt-s.a(thread.o): relocation R_X86_64_32
> > against `a local symbol' can not be used when making a shared object;
> > recompile with - fPIC
> > /usr/lib64/libboost_thread-mt-s.a: could not read symbols: Bad value
> > collect2: ld returned 1 exit status
> > make[2]: *** [libgnashbase.la] Error 1
>
> It looks like you're trying to link a shared object against the static
> versions of boost libraries. Possibly your modifications to the
> configure script aren't quite right, or you need to do more to make sure
> it links against libboost_thread-mt.so, not libboost_thread-mt-s.a.
The problem was that on my system I have the libraries:
$ ll /usr/lib64/libboost_thread*
lrwxrwxrwx 1 root root 20 2009-05-02 22:27 /usr/lib64/libboost_thread.a ->
libboost_thread-mt.a
-rw-r--r-- 1 root root 124426 2009-05-02 22:26 /usr/lib64/libboost_thread-mt.a
-rw-r--r-- 1 root root 124426 2009-05-02 22:26 /usr/lib64/libboost_thread-mt-
s.a
-rwxr-xr-x 1 root root 74864 2009-05-02 22:26 /usr/lib64/libboost_thread-
mt.so
lrwxrwxrwx 1 root root 21 2009-05-02 22:27 /usr/lib64/libboost_thread.so -
> libboost_thread-mt.so
and the configure script was finding libboost_thread-mt-s, which is the wrong
one.
Now it's not finding all the Qt4 include libraries...
HTH
-Robin
--
----------------------------------------------------------------------
Robin Atwood.
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------