[libvirt] trying to build 0.9.13 on F17: cannot find -lcrypto

Daniel P. Berrange berrange at redhat.com
Wed Jul 11 14:42:20 UTC 2012


On Wed, Jul 11, 2012 at 10:23:21AM -0400, Cole Robinson wrote:
> In trying to build libvirt 0.9.13 on F17, I'm hitting a link error:
> 
>   ...
>   CCLD   libvirt_driver_nodedev.la
>   CCLD   libvirt_driver_nwfilter.la
> /usr/bin/ld: cannot find -lcrypto
> 
> Full log here:
> 
> http://kojipkgs.fedoraproject.org//work/tasks/3678/4233678/build.log
> 
> I think this comes from rbd support, from configure.ac:
> 
> LIBRBD_LIBS="-lrbd -lrados -lcrypto"
> 
> from this commit:
> 
> http://libvirt.org/git/?p=libvirt.git;a=commit;h=74951eadef85e2d100c7dc7bd9ae1093fbda722f
> 
> What's missing here? RPM BuildRequires, configure change, ...?

If rbd is include '-lcrypto' in its pkgconfig line, then its
RPM is responsible for ensuring BuildRequires is set in its
own -devel package. So sounds like there's BR missing there.


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list