On 2008-12-23 18:38-0500 Hazen Babcock wrote: > Werner Smekal wrote: >> Hi Hazen, >>> Hm. That is what I used but I did not specify -DENABLE_DYNDRIVERS=OFF, >>> they were just turned off automatically. I'm not sure why that would be. >>> >> Looking at the CMake output: >> >> -- WARNING: libltdl library not found. Setting ENABLE_DYNDRIVERS OFF. >> Please install that library and/or set the environment variables >> CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH appropriately. >> >> According to >> http://www.miscdebris.net/plplot_wiki/index.php?title=List_of_Debian/Ubuntu_packages >> >> you need the libltdl3-dev package installed for dynamic drivers. > > Thanks! I'd assumed that this existed by default on debian.
Are you running Debian or Ubuntu? IIRC, it's Ubuntu so I assume that below. You can look for Ubuntu packages corresponding to specific file names at http://packages.ubuntu.com/. I suggest you bookmark that site or memorize it because it will be extremely useful to you. (I constantly use the equivalent Debian site at http://www.debian.org/distrib/packages.) Search the above Ubuntu site for libltdl.so to see which package you should install. (For intrepid its libltdl7-dev.) On your box, ENABLE_DYNDRIVERS was turned OFF because you didn't have libltdl.so installed at the time. I had libltdl.so installed on my box but to emulate what happened on yours I set ENABLE_DYNDRIVERS=OFF by cmake option instead. > > I still get the segfault with dynamic drivers. However I did discover that if > I install the qhull package (libqhull-dev) rather than using a qhull that I > had hand compiled then the segfault goes away. Alan, do you confirm this? I do confirm no segfaults if I use the Debian version of libqhull, and it appears you have the same good result if you use your Ubuntu distro version of qhull. > I'm > pretty sure that I was using this version of qhull: > > http://www.qhull.org/download/qhull-2003.1.tar.gz Which qhull you were using would have been indicated by the VERBOSE=1 output from make. If that library is in the shared form, then the ldd -r output for ./x21c would also have revealed exactly which qhull version you were using. But to make this information easier to find, I have made a change (revision 9224) to add location information to the cmake output whenever libqhull is being used. BTW, the Debian version (and presumably your Ubuntu system version as well) is also based on qhull-2003.1. But both distros may be using "known" patches that fix bugs such as the segfaults you encountered. Anyhow, since the system version works for you, I think you should use that one, and I don't think it is worth it to pursue this further. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel