Author Topic: how to export LD_LIBRARY_PATH  (Read 6942 times)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
how to export LD_LIBRARY_PATH
« on: December 29, 2005, 12:59:14 pm »
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
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
instead of only using
Code
./executable_name
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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: how to export LD_LIBRARY_PATH
« Reply #1 on: December 29, 2005, 04:05:32 pm »
LD_LIBRARY_PATH issue: Fixed in revision 1614.
Be patient!
This bug will be fixed soon...

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: how to export LD_LIBRARY_PATH
« Reply #2 on: December 29, 2005, 04:20:43 pm »
LD_LIBRARY_PATH issue: Fixed in revision 1614.

hey man  -  that was a quick-fix !

thx