On Fri, Feb 11, 2011 at 10:48 AM, Yared Berhanu <yar...@gmail.com> wrote:
>
> greetings,
>
> now I have a working cfengine. But when I try to check a conf file it
> outputs
>
> cf-promises: error while loading shared libraries: libpromises.so.1: cannot
> open shared object file:
>
> I don't know , please help me.

Hi, Yared.  I had the same error.  I found libpromises.so.1 was in
/usr/local/lib
which was not in my shared library path list.   I handled it with:

LD_LIBRARY_PATH=/usr/local/lib; export LD_LIBRARY_PATH

I opened a bug ticket, as building shared libraries by default and then
not putting those shared libraries under /var/cfengine where cfengine can find
them conflicts with Cfengine's design of keeping the local cache in
case /usr/local
is a (remote) shared filesystem.

https://cfengine.com/bugtracker/view.php?id=402

Building cf-engine with --disable-shared is a deeper solution; I'll
try to remember
it next time I build cf-engine.

I'd love to know why the change from --disable-shared to --enable-shared in the
default configuration.

Best,
-at
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to