[Libguestfs] [PATCH] remove ulockmgr from fuse LDFLAGS

Richard W.M. Jones rjones at redhat.com
Wed Aug 29 15:43:49 UTC 2012


On Wed, Aug 29, 2012 at 05:30:49PM +0200, Olaf Hering wrote:
> On Wed, Aug 29, Richard W.M. Jones wrote:
> 
> > On Wed, Aug 29, 2012 at 03:15:12PM +0200, Olaf Hering wrote:
> > > libguestfs fails to build with --enable-fuse on openSuSE 11.4 and
> > > earlier because the included fuse version does not include
> > > libulockmgr.so. configure already used pkgconfig to retrieve the correct
> > > CFLAGS, so there is no need to hardcode -lulockmgr.
> > > With this change the build succeeds again.
> > 
> > Thanks for the patch.  What is the output of these commands on
> > SuSE?  (Fedora output shown).
> 
> In openSuSE 12.2 its like this:
> 
> bax:~> pkg-config --cflags fuse
> -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse
> bax:~> pkg-config --libs fuse
> -pthread -lfuse

I guess I should have checked if Fedora needed -lulockmgr any longer.
It appears that it does not, so I have applied your patch and will
push it shortly.

Thanks for your contribution!

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the Libguestfs mailing list