[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling KDE apps: Still not clear...



On Mon, 2003-03-17 at 16:31, Hendrik Sattler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Am Montag, 17. März 2003 16:02 schrieb Andrew Ingram:
> > ldconfig -p reports:
> > libqt.so.3.1 (libc6) => /usr/lib/libqt.so.3.1
> > libqt.so.3 (libc6) => /usr/lib/libqt.so.3
> >
> > and both /usr/lib/libqt.so.3.1 & /usr/lib/libqt.so.3 are symbolic links
> > to /usr/lib/libqt.so.3.1.1
> >
> > So the links all seem true, and ldconfig knows about the library and
> > it's path, but for some reason, the linker still returns cannot find
> > -lqt!
> >
> > I've had this problem for a very long time now :-(
> 
> Do you have a libqt3.so (no other suffix appended)? The linker can only find 
> this .so and .a files. Whatever ldconfig finds is important to ldso but not 
> to the linker.

OMG, you're right! I've just copied /usr/lib/libqt.so.3.1.1 to
/usr/share/qt3 named as libqt.so and libqt3.so and voila - it all works!
This is great. Thank you very much. I'm off to compile some apps that
I've been wanting for a very long time :-)

Andy



Reply to: