Click to See Complete Forum and Search --> : X 4.2.0 compile errors?


Alex Cavnar, aka alc6379
05-07-2002, 08:18 PM
I'm trying to build an LFS system with X v4.2.0. I attempted to edit xc/config/cf/site.def, but none of the options seemed relevant to my setup. I did

make World
make install

and there were no problems during the compile. I compiled a WM, and I was ready to go. When I ran startx, it did nothing. When I ran xinit (just to check), and it said it could not find libXmuu.so.1. I checked, and it is there, and it is executable.

I took my ~/.xinitrc from a default Slackware 8 install. Could it be there's something in there screwing things up? Also, when I try to run xdm, it said libxpm.so.1 could not be found, when it is there in /usr/X11R6/lib as well.

How can I get these libs to work? It seemed that they compiled okay...

TacKat
05-07-2002, 10:17 PM
Originally posted by Alex Cavnar, aka alc6379:
<STRONG>I took my ~/.xinitrc from a default Slackware 8 install. Could it be there's something in there screwing things up? Also, when I try to run xdm, it said libxpm.so.1 could not be found, when it is there in /usr/X11R6/lib as well. </STRONG>

I had to sym-link these libraries someplace to get it to work, let me check on exactly where.

Edit: I had to symlink libX11.so, libXaw.so, libXmu.so, libXt.so in /usr/lib. You might have to symlink a few more than that, but that's the process.

[ 07 May 2002: Message edited by: TacKat ]

Alex Cavnar, aka alc6379
05-08-2002, 12:32 AM
Do you mean you had to symlink them from /usr/lib to /usr/X11R6/lib, or vice-versa? :confused:

I have them in /usr/X11R6/lib already, so I'm going to try symlinking them in /usr/lib... I'll post back with the results

:D

TacKat
05-08-2002, 05:23 PM
Sorry about that. Let me try again with clarity this time: You need to make symlinks in /usr/lib for those files. The symlinks point to the actual files in /usr/X11R6/lib.

Alex Cavnar, aka alc6379
05-08-2002, 05:35 PM
Originally posted by TacKat:
<STRONG>Sorry about that. Let me try again with clarity this time: You need to make symlinks in /usr/lib for those files. The symlinks point to the actual files in /usr/X11R6/lib.</STRONG>

It's cool... I did it, and it worked like a charm!

On a side note, do you know of any way that those files can either be linked or installed in /usr/lib at compile time? I had to symlink about 8-9 libs in order for X to work, and I'd like to just be able to have them installed there from the start!

TacKat
05-08-2002, 05:50 PM
I don't know if you can install them there without problems. I don't think that they are actually supposed to be in /usr/lib at all for execution purposes; I think it's some compiling thing. I never really understood it exactly myself, I was just happy to get it working after struggling over that for a couple days. :) If anybody actually knows what the deal with this is, feel free to chime in - I'd be glad to have it finally all figured out.

Lorithar
05-16-2002, 03:21 PM
hmm...

/etc/ld.so.conf ...
edit the above and add
/usr/X11R6/lib/
to the list