pkg-config and libX11.so: undefined reference to `XdmcpWrap'

Robert Schwebel r.schwebel at pengutronix.de
Thu Feb 23 23:14:12 PST 2006


On Tue, Feb 21, 2006 at 08:44:41PM -0800, Jeremy C. Reed wrote:
> On Tue, 21 Feb 2006, Shawn Starr wrote:
> 
> > I've had this issue as well. Some apps and other components of Xorg need 
> > -lXdmcp checked in their configure scripts. This seems to be missing.
> 
> In my case, they were checked -- using pkg-config against the wrong 
> (incompatible and old) pkgconfig *pc files. Once I removed the old *pc 
> files, my problem was fixed.
> 
> (Nevertheless, I still think pkg-config should have a easy way to 
> override or modify the pkgconfig path used. Setting environment variable 
> is not easy, since you don't know what the defaults are in the first place 
> without grepping binary or running ktrace on it for example.)

IMHO the right thing to do is to make pkg-config sysroot/destdir-aware.                                                                
So if the SYSROOT environment variable is set, pkg-config should put                                                                   
that in front of all paths and prefixes.                                                                                               

Robert 
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9




More information about the xorg mailing list