Re: [gecode-users] Error when loading library

2008-03-28 Thread Dhananjay Thiruvady
Thanks Guido, Mikael, Guido Tack <[EMAIL PROTECTED]> wrote:> > Dhananjay Thiruvady wrote: >> I've got the following problem when I try to execute programs: >> >> error when loading libraries: libgecodesearch.so.12: cannot open >> shared object file: No such file or directory > > You have to add

Re: [gecode-users] Error when loading library

2008-03-28 Thread Juan Carlos
I have a related problem, I`ve installed the last version of gecode in 2 different machines and tried to use it in a project that I`ve been developing on gecode 2.0 some months ago. In the first machine it works fine, in the second one I get a lot of "undefined references" trying to use element, a

Re: [gecode-users] Error when loading library

2008-03-28 Thread Mikael Zayenz Lagerkvist
You must set your paths correctly. For linking against shared libraries, this means setting LD_LIBRARY_PATH. See also http://www.gecode.org/gecode-doc-latest/PageUsage.html Cheers, Mikael On Fri, Mar 28, 2008 at 9:07 AM, Dhananjay Thiruvady <[EMAIL PROTECTED]> wrote: > Hi all, > > I've got the f

Re: [gecode-users] Error when loading library

2008-03-28 Thread Guido Tack
Dhananjay Thiruvady wrote: > I've got the following problem when I try to execute programs: > > error when loading libraries: libgecodesearch.so.12: cannot open > shared object file: No such file or directory You have to add the directory that contains the .so files to the LD_LIBRARY_PATH, or

[gecode-users] Error when loading library

2008-03-28 Thread Dhananjay Thiruvady
Hi all, I've got the following problem when I try to execute programs: error when loading libraries: libgecodesearch.so.12: cannot open shared object file: No such file or directory This also happens with the examples. When linking libraries statically, I get the following error when I compile