From: John Maddock (dr_john_maddock_at_[hidden])
Date: 2003-09-27 06:30:02
> I'm porting the regression test system to Boost.Build V2 and
> causes some problems. The test does not run, because it can find shared
> library. This happens on Linux.
> It works with V1 because it set LD_LIBRARY_PATH before running the test.
> In V2, there's a choice. First alternative would be to use the same logic
> V1 uses. But on gcc, it's possible to use new <hardcode-dll-paths>
> which will append necessary -rpath options to compiler. In that case, the
> binary would run ok even if no environment variable is set.
> The question is: will adding -rpath options be ok? I actually don't
> what the test does so can't judge myself.
The test simply verifies that dll building and linking work OK, it doesn't
really matter how the dll is found at runtime.
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk