Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93062 - rrdtool 1.2.x tcl bindings: undefined symbols
Summary: rrdtool 1.2.x tcl bindings: undefined symbols
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Netmon project
URL: http://people.ee.ethz.ch/~oetiker/web...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-18 06:01 UTC by Brandon Hale (RETIRED)
Modified: 2005-05-19 06:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emergeinfo,2.18 KB, text/plain)
2005-05-18 06:03 UTC, Brandon Hale (RETIRED)
Details
very simple test case (rrd-bindings-test.tcl,178 bytes, text/plain)
2005-05-18 06:03 UTC, Brandon Hale (RETIRED)
Details
out put of 'ld /usr/lib/tcl/tclrrd1.2.6/tclrrd1.2.6.so &> rrdtcl-ld' (rrdtcl-ld,1.87 KB, text/plain)
2005-05-18 06:06 UTC, Brandon Hale (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon Hale (RETIRED) gentoo-dev 2005-05-18 06:01:43 UTC
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)
Comment 1 Brandon Hale (RETIRED) gentoo-dev 2005-05-18 06:03:04 UTC
Created attachment 59215 [details]
emerge info
Comment 2 Brandon Hale (RETIRED) gentoo-dev 2005-05-18 06:03:31 UTC
Created attachment 59216 [details]
very simple test case
Comment 3 Brandon Hale (RETIRED) gentoo-dev 2005-05-18 06:06:22 UTC
Created attachment 59218 [details]
out put of 'ld /usr/lib/tcl/tclrrd1.2.6/tclrrd1.2.6.so &> rrdtcl-ld'
Comment 4 Brandon Hale (RETIRED) gentoo-dev 2005-05-18 07:01:49 UTC
The tcl object needs to be linked with -ltcl and -lrrdtool
Comment 5 Brandon Hale (RETIRED) gentoo-dev 2005-05-18 07:08:09 UTC
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.
Comment 6 Marcelo Goes (RETIRED) gentoo-dev 2005-05-18 10:37:37 UTC
Fix worked for me too, in cvs.
I think it is a good idea to at least let upstream know about this.
Comment 7 solar (RETIRED) gentoo-dev 2005-05-19 06:46:34 UTC
> Maybe the sed bits should be diffed and sent upstream?
> Thanks solar@gentoo.org for helping me debug this.

Your welcome.