John Levon wrote: > On Fri, Aug 09, 2002 at 05:05:25PM +0900, R. Lahaye wrote: > > >> linking: -lqui (linking with /usr/X11R6/lib/libqui.so) > > > Oh sweet. Really nice. What is it with FreeBSD and stupid renamings of > libraries ? Don't they realise how painful qt2.m4 is ?
Forwarded that to FreeBSD qt3 package maintainers. This is the response of one of them: Quote: "As far as I know, and certainly on my FreeBSD computers, the library is named libqt-mt.so. It's compiled as a multithreaded library, which is why the -mt is appended. libqui.so is another library, used by Designer, uic and friends, and is not the core qt library." Does that make sense to you? >>Why is QTDIR/lib and QTDIR/include not found? > > You will have to look into config.log to tell me that. Sorry, false alarm. Works now. >> /usr/X11R6/lib/libqt-mt.so.3: undefined reference to `pthread_attr_destroy' > > You can't use qt-mt. Why is it picking this version up ? I thought I wasn't. Hmmm, but according to Mr. FreeBSD a few line up, I *should* use qt-mt !?!?! This certainly needs more tweeking, since then the compilation on FreeBSD with qt3 needs specific compiler options: -pthread -D_THREAD_SAFE. And instead of linking with -lc, it should be -lc_r ! THEN: it should work for FreeBSD with Qt3 :). Rob.