From: Alan W. I. <ir...@be...> - 2002-08-06 01:21:40
|
I have gotten that error before, but not now. It may have something to do with the rpath link option used for the lastest link of drivers/tkwin_drv.so, and that depends on whether plplot has been installed or not. What does ldd say about drivers/tkwin[d]_drv.so? In my case: ldd drivers/tkwind_drv.so libtcl8.3.so.1 => /usr/lib/libtcl8.3.so.1 (0x4001a000) libtk8.3.so.1 => /usr/lib/libtk8.3.so.1 (0x4009f000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40152000) libplplottcltkd.so.5 => /home/software/plplot_cvs/HEAD/plplot_working5/tmp/libplplottcltkd.so.5 (0x4022c000) libc.so.6 => /lib/libc.so.6 (0x4024a000) libdl.so.2 => /lib/libdl.so.2 (0x40367000) libm.so.6 => /lib/libm.so.6 (0x4036a000) libplplotd.so.5 => /usr/local/plplot/lib/libplplotd.so.5 (0x4038b000) libtclmatrixd.so.5 => /usr/local/plplot/lib/libtclmatrixd.so.5 (0x403cc000) libitcl3.1.so.1 => /usr/lib/libitcl3.1.so.1 (0x403d0000) libitk3.1.so.1 => /usr/lib/libitk3.1.so.1 (0x403eb000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) Note it is picking up the plplot/tmp versions of the libraries. To get back to this pre-install state, rm plplot/tmp/drivers/tkwin_drv.so and run make to recreate it with the correct (plplot/tmp) rpath. I hope that fixes the problem on your system. Sorry this is so iffy right now, but I am sure it will get much better as soon as we know how to inform the installed version where to find things. Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ On Mon, 5 Aug 2002, Maurice LeBrun wrote: > Alan W. Irwin writes: > > Use > > > > load drivers/tkwin[d]_drv.so Plplotter_Init > > > > instead since everything immediately related to tkwin has been moved to that > > shared object. > > Thanks, that worked, except it should read: > > load drivers/tkwin[d]_drv.so Plplotter > > > All other instructions in examples/tk/README.tkdemos should be right for > > plplot/tmp. You shouldn't have to even set LD_LIBRARY_PATH. > > > > For the installed version I have had some troubles so that is why I have > > been bugging Vince about autopath, package require Plplotter, etc. If > > runAllDemos.tcl works in plplot/tmp, then it has gotta work eventually for > > the installed version with judicious use of package require Plplotter > > and the appropriate configuration, but we are certainly not there yet. > > Unfortunately there are still problems, i.e. from the tmp directory: > > $ wish > % source pldefaults.tcl > % load drivers/tkwin_drv.so Plplotter > % package provide Plplotter 5.1.0 > % source runAllDemos.tcl > % couldn't read file "/home/mjl/gts/lib/plplot5.1.0/tcl/x01.tcl": no such file or directory > > (note that $prefix=/home/mjl/gts in this case) > > so clearly the demo is looking in the wrong place for the example programs. > Not even the right place under $prefix (should be > $prefix/lib/plplot5.1.0/examples/tcl). > > But at least this is enough to get started with it. > > -- > Maurice LeBrun mj...@ga... > Research Organization for Information Science and Technology of Japan (RIST) > |