On Tue, Feb 24, 2015 at 07:13:24PM +0000, Repository PLplot plplot.git wrote:
> master: wxPLViewer: drop explicit link to the rt library
> 
> That explicit link causes trouble on Mac OS X (which does not
> support the rt library even though that is a POSIX standard)
> and is not required on Debian stable.  Testing of additional
> Linux systems like Ubuntu and CentOS may show rt has to
> be explicitly linked in one/both of those cases in which
> case the fix is to uncomment one statement.

Alan - this "fix" breaks linkage on Ubuntu 14.10 with the error

Linking CXX executable wxPLViewer
/usr/bin/ld: CMakeFiles/wxPLViewer.dir/__/drivers/wxwidgets_comms.cpp.o: 
undefined reference to symbol 'shm_unlink@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/librt.so.1: error adding symbols: DSO missing from 
command line

Uncommenting line 88 in utils/CMakeLists.txt to explicitly link in the rt 
library fixes this. o

I'm surprised this is a difference between Ubuntu and Debian since they 
are usually similar. I would suggest we leave this uncommented since it
seems to treat the problematic MacOSX case separately anyway.

Andrew

------------------------------------------------------------------------------
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

Reply via email to