compiled code runs from shell, but not kdevelop

Nikolisin, Harald harald.nikolisin at sofistik.de
Thu Jul 24 09:26:15 BST 2003


Hi

if you use gideon you can also set environment variables for the project:

Project->Project Options->Run Options->Environment Variables

there you can set LD_LIBRARY_PATH

regards
  harald

PS: can somebody spent at the run/make environment variables a "Edit" button? 
(sure, I can do it by myself but I'm not familiar at all with the CVS 
stuff..)


Am Donnerstag, 24. Juli 2003 10:04 schrieb Edward Moyse:
> Hi,
>
> I have a project which makes extensive use of external libraries. I've
> managed to get it compiling, but clicking on "run" from within kdevelop
> gives the following error:
> ./root: error while loading shared libraries: libCore.so: cannot open
> shared object file: No such file or directory
>
> whilst going to the directory and running ./root in a shell works fine.
>
> I'm guessing that it's because I have $LD_LIBRARY_PATH =
> /data/moyse/kde3.1.2/lib:/afs/cern.ch/sw/root/v3.05.05/rh73_gcc296/root/lib
>:/data/moyse//kde3.1.2/lib
>
> and kdevelop uses a different shell from me (I normally use zsh). Is there
> a simple way around the problem?
>
> Thanks,
>
> Ed
>
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body: unsubscribe
> »your-email-address«

-- 
Mit freundlichen Grüßen / With kind regards

Dipl.-Ing. Harald Nikolisin
SOFiSTiK AG (Entwicklung)

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list