From: Alan W. I. <ir...@be...> - 2002-07-11 14:57:12
|
On Thu, 11 Jul 2002, Vince Darley wrote: > Ok, done everything else. Thanks. It still builds fine, and there is now a smooth error exit if you try to use the driver inappropriately. > You need to build a shared library with contains all of the code. Then > start up 'wish' (the tk shell) and type: > > >wish > > % cd location/of/my/shared/lib > % load nameOfSharedLib.so Plplotter > (assuming that doesn't return an error message) Linux builds both static and shared library versions: cd plplot/tmp ls -l libplplot* -rw-r--r-- 1 software software 3010606 Jul 11 07:35 libplplotd.a lrwxrwxrwx 1 software software 15 Jul 11 07:36 libplplotd.so -> libplplotd.so.5* lrwxrwxrwx 1 software software 19 Jul 11 07:36 libplplotd.so.5 -> libplplotd.so.5.1.0* -rwxr-xr-x 1 software software 1279373 Jul 11 07:36 libplplotd.so.5.1.0* wish % load libplplotd.so Plplotter invalid command name "pldefaults" So it seems to be finding the library, but something is wrong with the initialization procedure that is invoked by Plplotter. BTW, I get the same message if I use "load libplplotd.so" (with Plplotter dropped) instead or if I use the full name libplplotd.so.5.1.0 instead of the symlink. Alan |