|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-10-14 11:31:39
Alkis Evlogimenos <alkis_at_[hidden]> writes:
> It seems that these lines in gcc-stlport-tools.jam:
>
> flags gcc-stlport FINDLIBS <runtime-link>static/<runtime-build>debug :
> stlport_$(GCC_STLPORT_LIB_ID)_stldebug ;
> flags gcc-stlport FINDLIBS <runtime-link>static/<runtime-build>release :
> stlport_$(GCC_STLPORT_LIB_ID) ;
> flags gcc-stlport FINDLIBS <runtime-link>dynamic/<runtime-build>debug :
> stlport_$(GCC_STLPORT_LIB_ID)_stldebug ;
> flags gcc-stlport FINDLIBS <runtime-link>dynamic/<runtime-build>release :
> stlport_$(GCC_STLPORT_LIB_ID) ;
>
> need to be changed to:
>
> flags gcc-stlport FINDLIBS <runtime-link>static/<runtime-build>debug :
> stlport_$(GCC_STLPORT_LIB_ID)_stldebug pthread ;
> flags gcc-stlport FINDLIBS <runtime-link>static/<runtime-build>release :
> stlport_$(GCC_STLPORT_LIB_ID) pthread ;
> flags gcc-stlport FINDLIBS <runtime-link>dynamic/<runtime-build>debug :
> stlport_$(GCC_STLPORT_LIB_ID)_stldebug pthread ;
> flags gcc-stlport FINDLIBS <runtime-link>dynamic/<runtime-build>release :
> stlport_$(GCC_STLPORT_LIB_ID) pthread ;
I juste applied this patch.
> Indeed after this change the executables link properly:
> But unfortunately they don't run:
>
> export PATH
>
> export LD_LIBRARY_PATH
...
> Any ideas on how to fix this one (besides defining LD_LIBRARY_PATH before
> running bjam)?
I think I fixed that one too, by adding:
# Make sure that STLPort libraries get added to the LD_LIBRARY_PATH
GCC_STDLIB_DIRECTORY += $(STLPORT_ROOT)$(SLASH)$(STLPORT_LIB_DIRECTORY) ;
Please try it and let me know how it goes,
Dave
-- David Abrahams * Boost Consulting dave_at_[hidden] * http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk