Subject: Re: pango, pkgsrc, openbsd
To: m. kolb <muk@bender.cl.msu.edu>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 11/01/2004 09:54:49
On Mon, 1 Nov 2004, m. kolb wrote:
> gcc -O -I/usr/pkgsrc/devel/pango/work/.buildlink/include
> -I/usr/pkgsrc/devel/pango/work/.buildlink/include/freetype2 -Wall
> -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o .libs/pango-querymodules
> querymodules.o -L/usr/pkgsrc/devel/pango/work/.buildlink/lib
> -L/usr/pkgsrc/devel/pango/work/.x11-buildlink/lib -L./.libs -lpangox-1.0
> -L/usr/pkgsrc/devel/pango/work/pango-1.6.0/pango/.libs -lpangoxft-1.0
> /usr/pkgsrc/devel/pango/work/.buildlink/lib/libXft.a
What is /usr/pkgsrc/devel/pango/work/.buildlink/lib/libXft.a linked to?
> /usr/pkgsrc/devel/pango/work/.buildlink/lib/libXrender.a -lX11
> -lpangoft2-1.0 -lfontconfig -lexpat -lfreetype -lz -lpango-1.0 -lm
> -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
> -Wl,-rpath,/usr/pkg/lib
> -Wl,-rpath,/usr/pkgsrc/devel/pango/work/.buildlink/lib
> ./.libs/libpangoxft-1.0.so.0.600: undefined reference to `XftDrawRect'
...
> ./.libs/libpangoxft-1.0.so.0.600: undefined reference to
> `XRenderComposite'
That is from libXrender.
What is your /usr/pkgsrc/devel/pango/work/.buildlink/lib/libXrender.a
linked too?
Maybe use objdump -x to look at the library to see if it is really
defined.
Pkgsrc also provides a libXrender and libXft that may be more up-to-date
and may work better for you. The default PREFER_PKGSRC includes Xft2 and
Xrender already.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/