From: <jc...@fe...> - 2002-09-16 13:03:42
|
Hi, In the current cvs I can't use the png driver: [jcard@feup] ./x01c -dev png -o po.png -debug Plplot library version: 5.1.0 plLoadDriver: Device not loaded! plLoadDriver: tag=3Dpng, drvidx=3D4 plLoadDriver: Trying to load gdd_drv.so on ./drivers/gdd_drv.so plLoadDriver: Trying to load at=20 /usr/local/lib/plplot5.1.0/data/../drivers/gdd_drv.so Unable to load driver: gdd_drv.so. Reason: /usr/local/lib/plplot5.1.0/data/../drivers/gdd_drv.so: cannot=20 open shared object file: No such file or directory Segmentation fault Notice that I'm runing from the build tmp directory, that=20 drivers/gdd_drv.so exists, there is no installed plplot, this also=20 happens with the single precision driver, it does not happens with any=20 other drivers, this happens in a freshly installed suse-8.0. If I change in plcore.c, line 1855, RTLD_NOW to RTLD_LAZY, it works: [jcard@feup] ./x01c -dev png -o po.png -debug Plplot library version: 5.1.0 plLoadDriver: Device not loaded! plLoadDriver: tag=3Dpng, drvidx=3D4 plLoadDriver: Trying to load gdd_drv.so on ./drivers/gdd_drv.so Opened po.png Segmentation fault Oops... at home it worked (exactly same environement). Nevertheless, now=20 the driver is opened and the output file created and partly filled, so=20 there is some problem here. Of course using LAZY instead of NOW would fix the problem (and I don't=20 understand why would anyone make it NOW instead of LATTER, if he can=20 :-) Joao |