Any binaries, documentation, manual, shared libraries, etc. are not put anywhere unless you do "make install" (and never has been). To have "make install" put everything under /var/cfengine, just add "--prefix=/var/cfengine" to your configure options.
As discussed a couple of times on the list now, the main reason for using shared libraries is efficiency (80% reduction of memory/disk size - which also leads to faster execution). So the question is then if one should try to give these improvements to everyone or just those that know about it (which doesn't seem to be many given the amount of times this has been brought up)... --Eystein On 02/12/2011 03:40 AM, Aleksey Tsalolikhin wrote: > 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 _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine