[gecode-users] Error when loading library

Mikael Zayenz Lagerkvist zayenz at gmail.com
Fri Mar 28 10:35:40 CET 2008


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
<Dhananjay.Thiruvady at infotech.monash.edu.au> wrote:
> 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:
>
> /usr/bin/ld: cannot find -lgecodesearch
>
> 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
>



-- 
Mikael Zayenz Lagerkvist, http://www.ict.kth.se/~zayenz/




More information about the gecode-users mailing list