[gecode-users] Error when loading library
Guido Tack
tack at ps.uni-sb.de
Fri Mar 28 10:30:58 CET 2008
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
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users
More information about the gecode-users
mailing list