Boost Users :
Subject: Re: [Boost-users] [Ubuntu 8.04] Linking Problem in Eclipse with Boost 1.41 Libraries
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-12-01 14:00:20
Brooks Garrison wrote:
>> Ok, and are you sure this file has any effect? Couple weeks ago, when I was still on 8.04,
>> it had something called 'dash' as default shell.
> The default shell I'm using is Terminal 2.22.1.
>>What does echo $LD_LIBRARY_PATH in the terminal say?
> bgarrison_at_STK:~$ echo $LD_LIBRARY_PATH
>> What does:
>> LD_LIBRARY_PATH=/home/bgarrison/local/lib:$LD_LIBRARY_PATH your_program
> The program executes as expected if I do this, but it also works if I
> execute it through the terminal by doing ./<program> so it seems that
> I -am- linking to the correct libraries. The problem seems to be that
> the debugger is trying to link with libraries it cannot find. I'd
> really hate to have to debug through printfs but that may be my only
> alternative if I cannot figure out how to set up the debugger
> correctly in Eclipse CDT.
It could be that CDT is unwilling to pass that variable to your program. Does
setting LD_LIBRARY_PATH to /home/bgarrison/local/lib in the "Environment"
tab of the debugger configurations dialog in CDT improves anything?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net