[rrd-users] Re: Graphing PNG segmentation fault

Tobias Oetiker oetiker at ee.ethz.ch
Mon Apr 30 16:05:57 MEST 2001


Today dcj21 wrote:

 | I've got rrdtool 1.0.33 installed on a HPUX 10.20 platform. It generates gif graphs just fine. However, when I specify png graphs, I get a segmentation fault(core dumped) error and the graph is created as an empty file.
 |
 | I have MRTG 2.9 installed and it generates png files file. I uses the libpng and zlib  packages I installed from the HP-UX porting archive. I was thinking I may need to tell rrdtool to compile with my precompiled libraries instead of the ones that come with the distribution.
 |
 | BTW - I had 1.029 installed and it did the same.

make sure zlib gets compiled with -fpic and not with -fPIC

cheers
tobi
 |
 | Derek C. Jones
 | RCDD/LAN, CCNA, CCDA, MCSE, CNE
 | http://www.geocities.com/dcjones21/
 |
 | --
 | Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
 | Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
 | Archive     http://www.ee.ethz.ch/~slist/rrd-users
 | WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
 |
 |

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list