Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » error while loading shared libraries
error while loading shared libraries [message #189505] Tue, 17 April 2007 12:06 Go to next message
Eclipse UserFriend
Originally posted by: franklyn.gmx.net

hi all,

i just started with programming c++ under eclipse and everything works
fine while compiling and linking. all libraries and headers are found.
when i try to run the program from eclipse with the "Run" button it says
"error while loading shared libraries: libcxcore.so.1: cannot open shared
object file: No such file or directory". this is the same error when i am
starting the program from console and the environment variable
$LD_LIBRARY_PATH is not set correctly to include the directories where
these shared objects are.

1. i tried to set the variable in eclipse under Run->Environment it says
"<terminated>..."and does nothing

2. and i tried to set the variable under Window -> Preferences -> C/C++ ->
Managed Build -> User Variables. it says "rror while loading shared
libraries: libcxcore.so.1: cannot open shared object file: No such file or
directory".

it seems that the runtime libraries are not found.

did anyone face the same problem?
frank
Re: error while loading shared libraries [message #189554 is a reply to message #189505] Tue, 17 April 2007 20:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dschaefer.qnx.com

franklyn wrote:
> hi all,
>
> i just started with programming c++ under eclipse and everything works
> fine while compiling and linking. all libraries and headers are found.
> when i try to run the program from eclipse with the "Run" button it says
> "error while loading shared libraries: libcxcore.so.1: cannot open
> shared object file: No such file or directory". this is the same error
> when i am starting the program from console and the environment variable
> $LD_LIBRARY_PATH is not set correctly to include the directories where
> these shared objects are.
> 1. i tried to set the variable in eclipse under Run->Environment it says
> "<terminated>..."and does nothing
>
> 2. and i tried to set the variable under Window -> Preferences -> C/C++
> -> Managed Build -> User Variables. it says "rror while loading shared
> libraries: libcxcore.so.1: cannot open shared object file: No such file
> or directory".
>
> it seems that the runtime libraries are not found.
>
> did anyone face the same problem?
> frank
>

Did you try entering the LD_LIBRARY_PATH in the Environment tab on your
launch configuration? This works on Windows (with the PATH variable),
but I haven't tried it on Linux.

Doug.
Re: error while loading shared libraries [message #189696 is a reply to message #189554] Wed, 18 April 2007 16:42 Go to previous message
Eclipse UserFriend
Originally posted by: franklyn.gmx.net

hi doug,

it worked! Thanks!
frank
Previous Topic:Unable to Compile
Next Topic:NewManagedCProjectWizard
Goto Forum:
  


Current Time: Thu Mar 28 18:40:53 GMT 2024

Powered by FUDForum. Page generated in 0.02286 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top