Have you tried linking statically with librrd.a instead of librrd.so? Might be worth a shot. I'm using librrd.a. Chris
>===== Original Message From Ashok <[EMAIL PROTECTED]> ===== >Hi, > >This happens with the first rrd_xxx call itself. I made sure that optind and opterr >were set to zero before making this call, but it still doesn't work. The other >solution I implemented was to fork a rrdtool process with "-" argument (so that it >will not exit after each command, but waits for the next command) and write to the >stdin of this process through a pipe from my application process. This works, but >it is difficult to determine if there were any errors unless I read the stdout and >search for the "ERROR" string. > >The solution with calling "rrd_xxx" functions within the librrd.so would be nice if >it worked. The interesting thing is calling rrd_fetch_fn() directly(instead of >rrd_fetch()) works. (which again raises the suspicion on the getopt_long() calls.) > >Thanks. >Ashok. > -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-developers WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
