<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.theeggeadventure.com/wikimedia/index.php?action=history&amp;feed=atom&amp;title=Ruby_Solaris_Rrdtool</id>
	<title>Ruby Solaris Rrdtool - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.theeggeadventure.com/wikimedia/index.php?action=history&amp;feed=atom&amp;title=Ruby_Solaris_Rrdtool"/>
	<link rel="alternate" type="text/html" href="https://www.theeggeadventure.com/wikimedia/index.php?title=Ruby_Solaris_Rrdtool&amp;action=history"/>
	<updated>2026-05-12T21:19:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0-beta</generator>
	<entry>
		<id>https://www.theeggeadventure.com/wikimedia/index.php?title=Ruby_Solaris_Rrdtool&amp;diff=1993&amp;oldid=prev</id>
		<title>Egge at 00:40, 31 July 2008</title>
		<link rel="alternate" type="text/html" href="https://www.theeggeadventure.com/wikimedia/index.php?title=Ruby_Solaris_Rrdtool&amp;diff=1993&amp;oldid=prev"/>
		<updated>2008-07-31T00:40:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:40, 31 July 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l58&quot;&gt;Line 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This demonstrates the use of the TIME and % RPN operators&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This demonstrates the use of the TIME and % RPN operators&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/geshi&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/geshi&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Ruby|Solaris Rrdtool]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key egge_wikimedia-mw_:diff:1.41:old-1938:rev-1993:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Egge</name></author>
	</entry>
	<entry>
		<id>https://www.theeggeadventure.com/wikimedia/index.php?title=Ruby_Solaris_Rrdtool&amp;diff=1938&amp;oldid=prev</id>
		<title>Brianegge: New page: When I first compiled the rrd tool extension for Ruby, I was getting this error: &lt;geshi lang=&quot;ruby&quot;&gt; irb(main):002:0&gt; require &#039;RRD&#039; LoadError: ld.so.1: ruby: fatal: relocation error: file ...</title>
		<link rel="alternate" type="text/html" href="https://www.theeggeadventure.com/wikimedia/index.php?title=Ruby_Solaris_Rrdtool&amp;diff=1938&amp;oldid=prev"/>
		<updated>2008-04-19T02:32:25Z</updated>

		<summary type="html">&lt;p&gt;New page: When I first compiled the rrd tool extension for Ruby, I was getting this error: &amp;lt;geshi lang=&amp;quot;ruby&amp;quot;&amp;gt; irb(main):002:0&amp;gt; require &amp;#039;RRD&amp;#039; LoadError: ld.so.1: ruby: fatal: relocation error: file ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;When I first compiled the rrd tool extension for Ruby, I was getting this error:&lt;br /&gt;
&amp;lt;geshi lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
irb(main):002:0&amp;gt; require &amp;#039;RRD&amp;#039;&lt;br /&gt;
LoadError: ld.so.1: ruby: fatal: relocation error: file /app/retailtools/lib/ruby/site_ruby/1.8/i386-solaris2.10/RRD.so: symbol rrd_create: referenced symbol not found - /app/retailtools/lib/ruby/site_ruby/1.8/i386-solaris2.10/RRD.so&lt;br /&gt;
        from /app/retailtools/lib/ruby/site_ruby/1.8/i386-solaris2.10/RRD.so&lt;br /&gt;
        from (irb):2&lt;br /&gt;
&amp;lt;/geshi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I then modified the extconf.rb file:&lt;br /&gt;
&amp;lt;geshi lang=&amp;quot;ruby&amp;quot;&amp;gt;&lt;br /&gt;
# $Id: extconf.rb,v 1.2 2001/11/28 18:30:16 miles Exp $&lt;br /&gt;
# Lost ticket pays maximum rate.&lt;br /&gt;
&lt;br /&gt;
require &amp;#039;mkmf&amp;#039;&lt;br /&gt;
&lt;br /&gt;
if /linux/ =~ RUBY_PLATFORM&lt;br /&gt;
   $LDFLAGS += &amp;#039;-Wl,--rpath -Wl,$(EPREFIX)/lib&amp;#039;&lt;br /&gt;
elsif /solaris/ =~ RUBY_PLATFORM&lt;br /&gt;
   $LDFLAGS += &amp;#039;-R$/app/retailtools/lib&amp;#039;&lt;br /&gt;
   $LOCAL_LIBS = &amp;quot;-Xlinker -Bstatic -lct -lcs -ltcl -lcomn -lintl -Xlinker -Bdynamic -lnsl&amp;quot;&lt;br /&gt;
elsif /hpux/ =~ RUBY_PLATFORM&lt;br /&gt;
   $LDFLAGS += &amp;#039;+b$(EPREFIX)/lib&amp;#039;&lt;br /&gt;
elsif /aix/ =~ RUBY_PLATFORM&lt;br /&gt;
   $LDFLAGS += &amp;#039;-Wl,-blibpath:$(EPREFIX)/lib&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
dir_config(&amp;quot;rrd&amp;quot;)&lt;br /&gt;
if have_library(&amp;quot;rrd&amp;quot;, &amp;quot;rrd_create&amp;quot;)&lt;br /&gt;
then &lt;br /&gt;
  create_makefile(&amp;quot;RRD&amp;quot;)&lt;br /&gt;
else&lt;br /&gt;
  puts &amp;quot;Can&amp;#039;t find rrd library&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/geshi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then I recompiled:&lt;br /&gt;
&amp;lt;geshi lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ruby extconf.rb --with-rrd-dir=/app/retailtools/rrdtool&lt;br /&gt;
make clean&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/geshi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lastly, I ran the test&lt;br /&gt;
&lt;br /&gt;
&amp;lt;geshi&amp;gt;&lt;br /&gt;
$ ruby test.rb &lt;br /&gt;
creating test.rrd&lt;br /&gt;
&lt;br /&gt;
updating test.rrd&lt;br /&gt;
&lt;br /&gt;
fetching data from test.rrd&lt;br /&gt;
got 2 data points from 1208572200 to 1208662500&lt;br /&gt;
&lt;br /&gt;
generating graph test.png&lt;br /&gt;
&lt;br /&gt;
This script has created test.png in the current directory&lt;br /&gt;
This demonstrates the use of the TIME and % RPN operators&lt;br /&gt;
&amp;lt;/geshi&amp;gt;&lt;/div&gt;</summary>
		<author><name>Brianegge</name></author>
	</entry>
</feed>