[Open-scap] getting started with source
Peter Vrabec
pvrabec at redhat.com
Wed Oct 19 15:32:50 UTC 2011
Hi Vladimir,
I can't reproduce any of you issues, so I have more questions than answers.
1.
* What distribution do you use?
* What version of rpm-devel package is installed?
2.
* $ ldd `which oscap`
* $ find / -name libopenscap.so.1
thnx.
Peter.
On Wednesday, October 19, 2011 03:44:59 PM Vladimir Giszpenc wrote:
> Hi all,
>
> I got the oscap source using
> $git clone git://git.fedorahosted.org/git/openscap.git
>
> Then, I ran
> $./autogen.sh
>
> Then, I ran
> $./configure
>
> Finally, I ran make. Here is where it exited out.
>
> unix/linux/rpmverify.c:333: error: âVERIFY_MD5â undeclared here (not in a
> function) unix/linux/rpmverify.c:333: warning: missing initializer
> unix/linux/rpmverify.c:333: warning: (near initialization for
> ârpmverify_bhmap[6].a_flagâ) make[3]: *** [probe_rpmverify-rpmverify.o]
> Error 1
> make[3]: Leaving directory `/public/vlad/openscap/openscap/src/OVAL/probes'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/public/vlad/openscap/openscap/src/OVAL/probes'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/public/vlad/openscap/openscap'
> make: *** [all] Error 2
>
>
> I sort of fixed this by prepending RPM in front of VERIFY_MD5, but I really
> don't know what I am doing so I don't want to submit any patch to that
> effect. Also, I am a proponent of reporting errors early. I did not
> install swig at first and I think that configure should give an error
> since make gives an error when it is not installed.
>
> I installed swig. Reran configure.
> Make
> Make install (as root)
>
> Now given
> oscap xccdf generate guide --profile allrules output/rhel6-xccdf.xml >
> output/rhel6-guide.html
>
> I get
>
> oscap: error while loading shared libraries: libopenscap.so.1: cannot open
> shared object file: No such file or directory
>
> Can you offer any advice.
>
> Thanks,
>
> Vladimir Giszpenc
> Armadillo Technical Lead
> DSCI Contractor Supporting
> U.S. Army CERDEC S&TCD CSIAD
> Tactical Network Protection Branch
> (732) 542-3113 x1328
>
>
>
> _______________________________________________
> Open-scap-list mailing list
> Open-scap-list at redhat.com
> https://www.redhat.com/mailman/listinfo/open-scap-list
More information about the Open-scap-list
mailing list