help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling on RH 9.0 BerkeleyDB


From: Paul Heinlein
Subject: Re: compiling on RH 9.0 BerkeleyDB
Date: Wed, 28 May 2003 10:57:22 -0700 (PDT)

On Wed, 28 May 2003, Phil Moses wrote:

> On RH 9.0, cfengine does not want to compile for me. I have gotten a
> few responses that other were having similar problems and had not
> resolved them.  Anyone have any ideas?

My Red Hat 9 infrastructure is still running 2.0.6, but I didn't have 
any trouble building it. Here's the %build section from my rpm .spec 
file:

  %build
  CFLAGS="%{optflags}" \
  ./configure \
    --prefix=%{_prefix} \
    --sysconfdir=%{_sysconfdir} \
    --localstatedir=%{_localstatedir} \
    --infodir=%{_infodir} \
    --mandir=%{_mandir} \
    --with-berkeleydb=%{_prefix} \
    --with-openssl=%{_prefix}
  make

The rpm it builds reports that it depends on five packages: bash, db4, 
glibc, openssl, and perl. For building, you'd want db4-devel, 
glibc-devel, and openssl-devel.

Finally, here's what I get running ldd against the resulting cfagent
binary:

[heinlein]$ ldd /usr/sbin/cfagent 
  libdb-4.0.so => /lib/libdb-4.0.so (0x40026000)
  libcrypto.so.4 => /lib/libcrypto.so.4 (0x400ce000)
  libnss_nis.so.2 => /lib/libnss_nis.so.2 (0x401bf000)
  libpthread.so.0 => /lib/tls/libpthread.so.0 (0x401c9000)
  libm.so.6 => /lib/tls/libm.so.6 (0x401d7000)
  libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
  libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2 (0x401f9000)
  libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x4020c000)
  libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x4026a000)
  libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x4027b000)
  libdl.so.2 => /lib/libdl.so.2 (0x4027d000)
  libz.so.1 => /usr/lib/libz.so.1 (0x40281000)
  libnsl.so.1 => /lib/libnsl.so.1 (0x4028f000)
  libnss_files.so.2 => /lib/libnss_files.so.2 (0x402a4000)
  /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

--Paul Heinlein <heinlein@cse.ogi.edu>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]