linker problem kdevelop 2

Jens Zurheide jens.zurheide at gmx.de
Mon Oct 8 19:11:36 BST 2001


Rick,
Monday 08 October 2001 13:55 Rick Sivernell
> F at lk
>
>
>changed -lqextmdi to  -l/opt/kde2/lib/qextmdi.so
>which is really
>lrwxrwxrwx   1 root  root  21 Oct  5 16:30 qextmdi.so ->
> libkdevelopqextmdi.so
It is not that trivial. First thing is: a library on linux always starts 
with lib... This means that you should at least create a symlink 
ln -s libkdevelopqextmdi.so libqextmdi.so
but I am not sure if this really works because there is this program 
libtool involved during linking and that relies on the .la files of the 
libraries (if they are present). The easiest thing would be if you get a 
source or binary package of qextmdi and install the libqextmdi.so correctly 
without relying onto the one in KDevelop. A link to the sources might be on 
the Trolltech homepage somewhere in the Developer section.

Another thing is: you usually don't have to specify the extenstion of the 
library (.so or .a) so -lqextmdi should work if the library is correctly 
installed and the path to the library is specified correctly with 
-Lsome/where.

Good luck,
Jens

>
>[root at RRSivernell lib]# echo $QEXTMDIDIR
Working as root ... :-(
>/opt/kde2
>[root at RRSivernell lib]#
>

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list