KDEbase -lXt problem

KDEbase -lXt problem

Post by Jonathan Vafa » Sun, 04 Oct 1998 04:00:00



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?

-Jon

--
======== C8 4C DE CA 8E 79 B3 87  92 B6 A4 B0 72 CA C4 6E ========
 Jonathan J. Vafai                            New York University

=========== <http://www.nyu.edu/projects/genomics/jv/> ===========

 
 
 

KDEbase -lXt problem

Post by Eugene Koont » Wed, 07 Oct 1998 04:00:00



> 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....

 
 
 

KDEbase -lXt problem

Post by Thomas Kuh » Thu, 08 Oct 1998 04:00:00


I got the same errormessage - try to recompile the whole thing with the
libraries qt-1.33 instead of qt-1.40 (if you've not already tried that).
If it works, please check your /var/log/messages file and write me, if you get a
lot of unaligned traps reported, too.

Thanks and good luck

Thomas

Quote:> 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

 
 
 

1. Problem compiling with -lXt

I am having a curious problem trying to link when compiling and I was
hoping someone would have some insight.

I am compiling with options -L/usr/X11R6/lib -lXm -lXt -lX11, and I get
the link error:

ld: Output file requires shared library `libXt.so.3.1`

which is the X11R5 Xt library.  So I look in /usr/X11R6/lib and there
is libXt.so.3.1 (linked to lib.so.3.1.0).  So what is wrong?!?!?

Thanks for any advice.
                -F

--
-------------------------------------------------------------------
Francis W. Starr
Boston University Physics Department
web:  http://physics.bu.edu/~fstarr

-------------------------------------------------------------------

2. *** Possible to connect to the ISP when ... ???

3. -lXt problems

4. /dev/mixer?

5. KDE2.0, Beta5 --> Problem with kdebase

6. sharing DSL

7. Compilation problems in kdebase-3.0

8. Q: Where is source for UUENCODE?

9. Problems compiling kdebase-3.0

10. kdebase compilation problem (libkdeui.so.3)

11. "make install" problem (KDE 3.1, kfrontend in kdebase)

12. Urgent - Problem installing kdebase on Debian Linux system.

13. 1.1.1 kdebase compile problem