'kdm' is not installed with kdebase

Robert Connolly robert at linuxfromscratch.org
Wed Jul 27 18:21:33 PDT 2005

When xorg is compiled find libXau.a and libXdmcp.a. Try something like this:

mkdir /tmp/tmpstuff
cd /tmp/tmpstuff
ar -x /path/to/libXau.a
gcc -shared -o libXau.so *.o
install libXau.so /usr/X11R6/lib

and repeat that with libXdmcp.a (after clearing the tmpstuff directory). The 
'ar -x' will disassemble the static library and output the object files, gcc 
will relink them as a shared object. Then hack kdebase to use libXau.so, if 
needed (no hack may be needed depending how kdebase tries to link libXau).

The only problem with this may be if libXau.so and/or libXdmcp.so has a 
TEXTREL section. Gcc will be passing -fpic on the libXau/libXdmcp object, but 
its possible they have non-pic assembly code in them.

Try it, let me know what happens (my hlfs box doesn't have xorg installed).


On July 27, 2005 08:53 pm, randhir phagura wrote:
> Hi,
> I have installed HLFS-SVN-20050709. While installing kde, I found that
> kdebase-3.4.1 did not install kdm. On further investigation of the
> 'configure' output i discovered the small 'warning' saying 'kdm will not be
> installed. Please install libXau.a libXdmcp.a'.
> These static library files we had deleted after our build of 'xorg' because
> these are a security risk. Is there a way arround so that kdm is installed
> too?
> How would it be if we do not delete those '.a' lib files at that stage but
> do it after kde has been installed. Will this work? If so i will try it.
> Will some other application require these, later?
> Thanks & Regards
> Randhir Phagura

More information about the hlfs-dev mailing list