News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

code block not detecting shared libraries.

Started by avanindra, January 22, 2009, 08:51:34 PM

Previous topic - Next topic

avanindra

Hi All,

I have installed codeblock on fedora10. I made a console c++ project. I included all required headers and linked the libraries. When I build the project, it was successfully built. But when I run the code I get an error like:

Error while loading shared libraries: libCGAL.so.2 : can not open shared object file : no such file or directory.

When I checked,  I found that I have linked this library.

One more point I would like to add, when I was including the libraries, the .so.2 extension was not detected as usual library, so I included as All files while adding the this library.

Please do provide solution if any exists for it.

Thanks
avanindra

avanindra

Any way I figured it out what was wrong. It was not problem with code block, Unix has particular way of finding shared libs.