When trying to load tcl bindings from rrdtool: couldn't load file "/usr/lib/tcl/tclrrd1.2.8/tclrrd1.2.8.so": /usr/lib/tcl/tclrrd1.2.8/tclrrd1.2.8.so: undefined symbol: rrd_test_error while executing "load /usr/lib/tcl/tclrrd1.2.8/tclrrd1.2.8.so" (file "./rrd-fill.tcl" line 12)
Created attachment 59215 [details] emerge info
Created attachment 59216 [details] very simple test case
Created attachment 59218 [details] out put of 'ld /usr/lib/tcl/tclrrd1.2.6/tclrrd1.2.6.so &> rrdtcl-ld'
The tcl object needs to be linked with -ltcl and -lrrdtool
Make that -lrrd. Line 33 should now read: sed -i -e 's:-lrrd_private:-ltcl -lrrd:' \ bindings/tcl/Makefile.* || die "sed failed" Maybe the sed bits should be diffed and sent upstream? Thanks solar@gentoo.org for helping me debug this.
Fix worked for me too, in cvs. I think it is a good idea to at least let upstream know about this.
> Maybe the sed bits should be diffed and sent upstream? > Thanks solar@gentoo.org for helping me debug this. Your welcome.