rrd-ffi icon indicating copy to clipboard operation
rrd-ffi copied to clipboard

Support for rrdtool 1.6?

Open rdvdijk opened this issue 8 years ago • 1 comments

Any chance on supporting rrdtool 1.6.0?

I ran into this error:

dyld: lazy symbol binding failed: Symbol not found: _rrd_get_context
  Referenced from: /usr/local/lib/librrd.dylib
  Expected in: flat namespace

dyld: Symbol not found: _rrd_get_context
  Referenced from: /usr/local/lib/librrd.dylib
  Expected in: flat namespace

Downgrading rrdtool (to 1.4.8_1 in my case) fixed it for me.

(The error above my actually be unrelated to rrd-ffi?)

rdvdijk avatar Jan 08 '17 20:01 rdvdijk

I've started seeing this as well, I had a FreeBSD server running with rrdtool 1.6.0, ruby 2.2 and rrd-ffi without any problems, but macOS just keeps throwing this up.

I've not been able to get 1.4.8_1 installed at all.

Theres no call to rrd_get_context() in the gem, but loading up and running RRD::Wrapper.clear_error or probably any library call results in this error being printed out.

My guess would be its something related to the merging of librrd and librrd_th, pkg-config doesn't seem to suggest that pthreads or anything like that needs to be linked as well though, so not overly sure how to fix.

geoffgarside avatar Jan 25 '17 14:01 geoffgarside