Hello,

I'm looking for advice on the best way to distribute compiled cf3
binaries to clients (Debian).

I can compile successfully static binaries on the policy host, but I'm
not sure about library support (if any) on the clients.

(on policy host)
# cd cfengine-3.1.5
# LDFLAGS='--static' ./configure --with-openssl=/var/cfengine/
--with-pcre=/var/cfengine/ --with-berkeleydb=/var/cfengine/
--enable-static --disable-shared
# make && make install
# ldd /usr/local/sbin/cf-agent
        not a dynamic executable
# /usr/local/sbin/cf-agent -V
This comprises cf-agent core community version 3.1.5 - Copyright
Copyright (C) Cfengine AS 2008,2010-

(on client, after manual copy)
# ./cf-key
-su: ./cf-key: cannot execute binary file

Thanks,
Ari Constancio
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to