On May 23, 2008 06:30:30 am Vijay Sankar wrote: > On May 23, 2008 01:54:09 am Philip Guenther wrote: > > On Wed, May 21, 2008 at 2:12 PM, Vijay Sankar <[EMAIL PROTECTED]> > > wrote: ... > > > > > On OpenBSD 4.3 (i386) I am not able to run TaskJugglerUI 2.3.1p2. My > > > previous OpenBSD 4.1 and 4.2 desktops had TaskJuggler 2.3.1 and it > > > worked without any problems. > > > > > > TaskJugglerUI:/usr/local/lib/libqt-mt.so.31.1: undefined > > > symbol 'pthread_mutexattr_init' > > > lazy binding failed! > > > Segmentation fault (core dumped) > > > > What's the output of > > ldd /usr/local/lib/libqt-mt.so.31.1 > > ? How about > > nm -u /usr/local/lib/libqt-mt.so.31.1 | grep pthread_mutexattr_init > > ? > > > > If the latter shows anything, but the former _doesn't_ mention > > "libpthread.so.9.0" then the qt library wasn't built correctly. > > > > If this is indeed the case, I suppose it would be possible to work > > around by creating a stub libqt-mt.so.31.1 shared library that just > > has two dependencies: the real libqt-mt.so and libpthread.so... > > > > > > Philip Guenther > > Good day, > > I had an email from sturm@ and he has updated the port to taskjuggler 2.4.1 > and also fixed TaskJugglerUI. That worked properly in -current. > > Also, he suggested adding --disable-as-needed to CONFIGURE_ARGS if I wanted > to build on 4.3. That solved the problem for me. > > I did not have enough knowledge to troubleshoot this but will read up on > the ideas you gave me here. > > Thanks very much, > > Vijay
Oops, here is the output of ldd and nm. ftl7# nm -u /usr/local/lib/libqt-mt.so.31.1 | grep pthread_mutexattr_init pthread_mutexattr_init ftl7# ldd /usr/local/lib/libqt-mt.so.31.1 /usr/local/lib/libqt-mt.so.31.1: Start End Type Open Ref GrpRef Name 02f06000 2300d000 dlib 1 0 0 /usr/local/lib/qt3/libqt-mt.so.31.1 07d2d000 27d35000 rlib 0 1 0 /usr/local/lib/libmng.so.3.0 08f34000 28f40000 rlib 0 1 0 /usr/local/lib/liblcms.so.1.15 07075000 2707b000 rlib 0 1 0 /usr/local/lib/libjpeg.so.62.0 0d712000 2d719000 rlib 0 1 0 /usr/local/lib/libpng.so.6.0 01506000 2150e000 rlib 0 3 0 /usr/lib/libz.so.4.1 0551c000 25530000 rlib 0 1 0 /usr/X11R6/lib/libGL.so.7.1 088b2000 288b7000 rlib 0 1 0 /usr/X11R6/lib/libXmu.so.10.0 00fc5000 20fc9000 rlib 0 1 0 /usr/X11R6/lib/libXi.so.10.0 07301000 27305000 rlib 0 4 0 /usr/X11R6/lib/libXrender.so.5.0 0d3f3000 2d3f6000 rlib 0 1 0 /usr/X11R6/lib/libXrandr.so.6.0 0ce93000 2ce97000 rlib 0 1 0 /usr/X11R6/lib/libXcursor.so.4.0 02085000 22089000 rlib 0 1 0 /usr/X11R6/lib/libXinerama.so.5.0 099fe000 29a02000 rlib 0 1 0 /usr/X11R6/lib/libXft.so.7.0 0adfa000 2ae12000 rlib 0 3 0 /usr/X11R6/lib/libfreetype.so.16.0 0956e000 2957f000 rlib 0 2 0 /usr/X11R6/lib/libfontconfig.so.5.1 06fb0000 26fb4000 rlib 0 6 0 /usr/X11R6/lib/libXext.so.10.0 07843000 27890000 rlib 0 12 0 /usr/X11R6/lib/libX11.so.11.1 0d77d000 2d784000 rlib 0 1 0 /usr/lib/libm.so.2.3 009c5000 209c9000 rlib 0 3 0 /usr/X11R6/lib/libSM.so.8.0 0ea7f000 2ea86000 rlib 0 4 0 /usr/X11R6/lib/libICE.so.8.1 04d19000 24d1d000 rlib 0 11 0 /usr/X11R6/lib/libXau.so.9.0 0560d000 25612000 rlib 0 11 0 /usr/X11R6/lib/libXdmcp.so.9.0 000cf000 200db000 rlib 0 1 0 /usr/X11R6/lib/libXt.so.10.0 0c0e3000 2c0e6000 rlib 0 1 0 /usr/X11R6/lib/libXfixes.so.5.0 06dce000 26dd7000 rlib 0 2 0 /usr/lib/libexpat.so.9.0 Thanks again for your message, Vijay -- Vijay Sankar, M.Eng., P.Eng. ForeTell Technologies Limited 59 Flamingo Avenue, Winnipeg, MB Canada R3J 0X6 Phone: +1 204 885 9535, E-Mail: [EMAIL PROTECTED]