Author Topic: code block not detecting shared libraries.  (Read 3592 times)

avanindra

  • Guest
code block not detecting shared libraries.
« on: January 22, 2009, 08:51:34 pm »
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

  • Guest
Re: code block not detecting shared libraries.
« Reply #1 on: January 26, 2009, 09:29:55 am »
Any way I figured it out what was wrong. It was not problem with code block, Unix has particular way of finding shared libs.