Boost logo

Boost-Build :

Subject: [Boost-build] Static and dynamic linking linux/AIX
From: Meindert Oldenburger (meindert66_at_[hidden])
Date: 2011-09-08 07:32:44


I have a library libgen it could be build in two different ways: static and

Now i have another library called This library needs libgen,
and i like to link this statically.

The problem is that libgen.a could not link against because
the library is build as static lib and objects are NOT compiled with the
-fPIC flag.

.plan.o: relocation R_X86_64_32 against `a local symbol' can not be used
when making a shared object; recompile with -fPIC .plan.o: could not
read symbols: Bad value

Libgen is used in different tastes in ore source:
- libgen.a
- libgen.a and <cflags>-fpic

Is there a solution to use the objects of the for linking
against ?


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at