Hello, Backstory: I am trying to package cfengine into an RPM that will allow people to install it and not have to install things like mysql, pgsql and libvirt if they aren't using those particular functionalities. Ideally, I would like to have a main cfengine.rpm with subpackages that bring in the additional desired functionality, e.g cfengine-libvrt.rpm. Currently, libpromises.so envelopes all things and there is no separate libpromises-libvirt.so or what-ever, etc. Diego suggested that I try a static compile. I'm mostly OK with this (logistics of keeping everything updated may be less than desirable, but 'oh well'). The issue though is that didn't seem to behave as I thought it might...
... It seems that specifying '--enable-static=yes' and '--enable-shared=no' does not remove the need of installing the libraries that it was built against. It still wants those shared libraries installed. /usr/sbin/cf-key: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory Seems like this option does not work as I hoped it would. It does, however, remove the libpromises.so, so it perhaps only makes the commands statically compile against libpromises and not the rest (so no help with packaging). ... Any suggestions? Thank you, --Caitlyn _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine