Subject: A question about libraries
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <georg.schwarz@freenet.de>
List: tech-pkg
Date: 04/10/2005 16:54:40
I'm trying to install net/kphone on Debian Linux 3.
It fails in the configure stage. config.log has:

configure:1292: gcc -o conftest -I/usr/local/pkg/qt3/include -Wall   -I/usr/loca
l/pkg/include -I/usr/local/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/local/pkg/
include/freetype2 -I/usr/include  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/l
ocal/pkg/lib -L/usr/local/pkg/qt3/lib -Wl,-R/usr/local/pkg/qt3/lib -Wl,-R/usr/lo
cal/pkg/lib -pthread -L/usr/lib -Wl,-R/usr/lib conftest.c -lX11  -L/usr/local/pk
g/qt3/lib -lqt-mt  -L/lib 1>&5
/usr/local/pkg/lib/libXcursor.so.1: undefined reference to `XRenderFindStandardF
ormat'
/usr/local/pkg/lib/libXft.so.2: undefined reference to `XRenderCompositeText32'
/usr/local/pkg/lib/libXft.so.2: undefined reference to `XRenderCompositeText16'
/usr/local/pkg/lib/libXcursor.so.1: undefined reference to `XRenderCreateAnimCur
sor'
/usr/local/pkg/lib/libXft.so.2: undefined reference to `XRenderQuerySubpixelOrde
r'
/usr/local/pkg/lib/libXft.so.2: undefined reference to `XRenderCompositeText8'
/usr/local/pkg/lib/libXrandr.so.2: undefined reference to `XRenderSetSubpixelOrd
er'
/usr/local/pkg/lib/libXcursor.so.1: undefined reference to `XRenderCreateCursor'
collect2: ld returned 1 exit status


It would have to include libXrender to work.
This makes me wonder which mechanism makes libXcursor, libXfr and libXrandr
included automatically with libqt-mt?
Should the same mechanism also include ibXrender?
Is this an issue in x11/qt3-libs? 
Or should kphone explicitly add -lXrender? 
-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 georg.schwarz@freenet.de     +49 178 8545053