Hi Okan,

> ...and slightly more updated patch.  There are some more things that
> can happen to this port, namely staticlly linking, but I've found the
> configure script unhappy; instead of messing around with that now, I'd
> like to move forward and put this in, then work on the above, plus
> possibly subpackaging it (though I'm leaning towards not anymore) and
> maybe doing a split install.

I don't know if static linking will work, the official CFEngine binaries
(Ubuntu 64 bit) are dynamic linked however. These have the binaries in
/var/cfengine/bin and the needed libraries in /var/cfengine/lib.

# file /var/cfengine/bin/cf-agent
/var/cfengine/bin/cf-agent: ELF 64-bit LSB executable, x86-64, version 1
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.0,
stripped

# ls -l /var/cfengine/bin/
total 2916
-rwxr-xr-x 1 root root  109704 2012-04-11 11:41 cf-agent
-rwxr-xr-x 1 root root   36552 2012-04-11 11:41 cf-execd
-rwxr-xr-x 1 root root   11096 2012-04-11 11:41 cf-key
-rwxr-xr-x 1 root root   48608 2012-04-11 11:41 cf-monitord
-rwxr-xr-x 1 root root   11048 2012-04-11 11:41 cf-promises
-rwxr-xr-x 1 root root   49200 2012-04-11 11:41 cf-report
-rwxr-xr-x 1 root root   19544 2012-04-11 11:41 cf-runagent
-rwxr-xr-x 1 root root   73928 2012-04-11 11:41 cf-serverd
-rwxr-xr-x 1 root root 2586063 2011-09-06 15:13 cf-twin
-rwxr-xr-x 1 root root   23536 2012-04-11 11:41 tchmgr

# ls -l /var/cfengine/lib/
-rw-r--r-- 1 root root 1611376 2012-04-11 11:41 libcrypto.so.0.9.8
lrwxrwxrwx 1 root root      21 2012-05-01 09:21 libpcreposix.so.0 ->
libpcreposix.so.0.0.0
-rw-r--r-- 1 root root    7480 2012-04-11 11:41 libpcreposix.so.0.0.0
lrwxrwxrwx 1 root root      16 2012-05-01 09:21 libpcre.so.0 ->
libpcre.so.0.0.1
-rw-r--r-- 1 root root  243144 2012-04-11 11:41 libpcre.so.0.0.1
lrwxrwxrwx 1 root root      12 2012-05-01 09:21 libpq.so.5 -> libpq.so.5.3
-rw-r--r-- 1 root root  136232 2012-04-11 11:41 libpq.so.5.3
lrwxrwxrwx 1 root root      20 2012-05-01 09:21 libpromises.so.1 ->
libpromises.so.1.0.0
-rw-r--r-- 1 root root  900840 2012-04-11 11:41 libpromises.so.1.0.0
-rw-r--r-- 1 root root  325704 2012-04-11 11:41 libssl.so.0.9.8
lrwxrwxrwx 1 root root      24 2012-05-01 09:21 libtokyocabinet.so.9 ->
libtokyocabinet.so.9.8.0
-rw-r--r-- 1 root root  490464 2012-04-11 11:41 libtokyocabinet.so.9.8.0
lrwxrwxrwx 1 root root      16 2012-05-01 09:21 libvirt.so.0 ->
libvirt.so.0.8.4
-rw-r--r-- 1 root root  907944 2012-04-11 11:41 libvirt.so.0.8.4
lrwxrwxrwx 1 root root      16 2012-05-01 09:21 libxml2.so.2 ->
libxml2.so.2.7.7
-rw-r--r-- 1 root root 1317624 2012-04-11 11:41 libxml2.so.2.7.7
lrwxrwxrwx 1 root root      13 2012-05-01 09:21 libz.so.1 -> libz.so.1.2.5
-rw-r--r-- 1 root root   98072 2012-04-11 11:41 libz.so.1.2.5


> Feedback, comments, OKs?

I'll try to test it somewhere this week.

Kind regards,


Martijn Rijkeboer

Reply via email to