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 install gecode in a location that is already on  
the LD_LIBRARY_PATH.

> This also happens with the examples. When linking libraries  
> statically, I get the following error when I compile:
>
> /usr/bin/ld: cannot find -lgecodesearch

Hm, this might also be a path issue.  Make sure that libgecodesearch.a  
is found in one of the directories mentioned in the -L compiler  
switches.

Cheers,
        Guido

>
>
> I am running gcc 4.1.3 on ubuntu 7.10 and gecode-2.1.1. Any tips on  
> how I can sort this out will be great. Thanks.
>
> Dhananjay
>
> _______________________________________________
> Gecode users mailing list
> [EMAIL PROTECTED]
> https://www.gecode.org/mailman/listinfo/gecode-users


_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to