On 2015-02-25 17:19-0800 Alan W. Irwin wrote: > I think I now understand why rt has to be explicitly mentioned for > the wxPLViewer build (as you discovered on Ubuntu). As already > noted by Jim, nm --undefined shows that wxPLViewer explicitly > depends on > > U shm_open@@GLIBC_2.2.5 > U shm_unlink@@GLIBC_2.2.5
It turned out this analysis was incomplete and the wxwidgets device also depends on shm_open and shm_unlink so best practice means wxwidgets (when linked as a separate dll in the dynamic devices case) or libplplot (when the wxwidgets code is embedded in that library in the nondynamic devices case) must also be linked with librt for the "Unix but not Mac OS X" case. So I have made that change in commit id 9dfe5bf even though there appears to be no errors discovered in our testing before by not dealing with this potential linking issue for the wxwidgets device driver or libplplot before. So hopefully this second "definitive fix" will finally put this issue to rest. :-) 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); 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 __________________________ ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel