From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,74e832a7320d97e7 X-Google-Attributes: gid111c93,public From: Eugene Koontz Subject: Re: KDEbase -lXt problem Date: 1998/10/06 Message-ID: <361AA072.EAD237FC@lsi.sel.sony.com>#1/1 X-Deja-AN: 398435001 Content-Transfer-Encoding: 7bit References: <6v63ps$oei$1@news.nyu.edu> Content-Type: text/plain; charset=us-ascii Organization: Sony Corporation of America, San Jose, CA Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha Jonathan Vafai wrote: > > I am trying to compile KDE using egcs 1.0.3 > > KDElibs and kdesupport compile and install without complaining. > > I am trying to compile kdebase, and configure fails when it tries to compile > a little program to test things: > > configure: error: configure could not run a little KDE program to test the > +environment. > Since it had compiled and linked before, it must be a strange problem on your > system. > L > > The config.log shows the error: > ---- > [ ... ] > configure:1872: checking for X > configure:1889: g++ -E conftest.C >/dev/null 2>conftest.out > configure:1965: g++ -o conftest -O2 -Wall -s conftest.C -lXt 1>&5 > configure: In function `int main()': > configure:1961: warning: implicit declaration of function `int XtMalloc(...)' > /usr/bin/ld: cannot open -lXt: No such file or directory > collect2: ld returned 1 exit status > > ---------- > > However libXt.so is in /usr/X11/lib and /usr/X11/lib is listed in my > /etc/ld.so.conf > file. Does anyone know how I am supposed to interpret this and fix the > problem? > As a normal user, try running /sbin/ldconfig -p | grep libXt.so you should see it listed in the output. If nothing is shown, try running /sbin/ldconfig -v as root, then /sbin/ldconfig -p | grep libXt.so ; it should show up now....