On Wednesday 12 June 2013 08:56:01 Slava wrote:
On Tue, 11 Jun 2013 18:08:37 +0200, Stefan Schwarzer
wrote: Dear everybody,
we need to backport boost 1.49.0 to Redhat 5.2. b2 ; b2 install --prefix=/usr/local succeeds and installs libraries and
However, we have a problem even linking a mostly trivial example:
#include
int main () { copy_file(boost::filesystem::path("atest"),
boost::filesystem::path("btest"));
}
Hi Roald and Stefan.
pass --verbose to ld (using -Wl,-verbose with g++), maybe you'll see something unexpected
-- Slava
Thanks a lot! I turned out that there are some older versions of filesystem and system in /usr/lib which were used during link whereas the includes were taken from our new installation. What was confusing in the end were the rules according to which includes and libraries were searched by g++. Thanks again, Stefan. -- Dr. Stefan Schwarzer Fraunhofer-Institut für Physikalische Messtechnik IPM, Laser Scanning Heidenhofstr. 8, 79110 Freiburg, Germany Telefon: +49-(0)761-8857-366 / Mobil: +49-(0)172 6242286 stefan.schwarzer@ipm.fraunhofer.de http://www.ipm.fraunhofer.de