User forums > Using Code::Blocks
how to export LD_LIBRARY_PATH
(1/1)
tiwag:
i have build the latest SVN rev 1610 on Ubuntu 5.10 using wxGTK-2.6.1-unicode with the autotools
--- Code: ---./bootstrap
./configure
make
sudo make install
--- End code ---
without problems.
then i wanted to test some patches and opened therefore the CodeBlocks-unix.cbp project file.
- built /devel/CodeBlocks from within CB,
- run ./update
now i can start the new development version with the ./run.sh script
up to this point - no problems !!
but when i want to start the /devel/codeblocks from within CB the
LD_LIBRARY_PATH is not set so that the /devel/libcodeblocks.so can't be found
and the /devel/codeblocks doesn't start.
is there any (already existing) way to modify the run and debug commandline of a gui-application,
to something like
--- Code: ---LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./executable_name
--- End code ---
instead of only using
--- Code: ---./executable_name
--- End code ---
this way it wouldn't be necessary to make the LD_LIBRARY_PATH permanent
(which sometimes could make some troubles with multiple shared libs of the same name but different builds)
but at the same time the debuggee "executable_name" could find his shared libs if needed.
there is another issue too:
all source code files located in the
/src/sdk/as/source directory are not shown in the editor,
only a single empty line line is shown if any of these files is opened.
anyone knows why and how to resolve ?
thank you guys
cheers
mandrav:
LD_LIBRARY_PATH issue: Fixed in revision 1614.
tiwag:
--- Quote from: mandrav on December 29, 2005, 04:05:32 pm ---LD_LIBRARY_PATH issue: Fixed in revision 1614.
--- End quote ---
hey man - that was a quick-fix !
thx
Navigation
[0] Message Index
Go to full version