[Top][All Lists]

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

RE: statically linked compile...

From: Andrews, Martin
Subject: RE: statically linked compile...
Date: Fri, 28 Dec 2001 08:24:14 -0500

What exactly is the failure? I tried a quick relink on my redhat 7.2 box but
could not find all the static libraries I needed (-lnss_nis). Are you sure
you have static versions of all the libraries cfengine uses?

In general this sounds like a dangerous idea - much has changed between 6.x
and 7.x and taking code compiled from newer OSes is always likely to fail.
Can't you put together a quick 6.2 box (we were just selling off a bunch of
pentium pro PCs like the ones I use for linux builds for $50 a pop...)?


> -----Original Message-----
> From: Andrew Mayhew [mailto:address@hidden
> Sent: Friday, December 28, 2001 2:35 AM
> To: address@hidden
> Subject: statically linked compile...
> Okay, maybe I've just been awake too long, but I would like to build
> cfengine as a statically link set of binaries.  Passing 
> -static as in LDFLAG
> doesn't seem to do what I would expect and I'm otherwise stuck.
> Has anyone else done this?
> Oh, I should mention that I'm trying to build cfengine 
> v2.0.a15 on a RedHat
> machine (7.2).  The reason that I want to build cfengine statically is
> because I have to maintain some older RedHat 6.2 machines 
> which have an
> older version of the Libc and other libraries, but I have no build
> environment to build a special version of cfengine for that 
> distribution.
> If this is an RTFM momement, please point me to which FM :-)
> TIA-
> Andy Mayhew <address@hidden>
> _______________________________________________
> Help-cfengine mailing list
> address@hidden

reply via email to

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