<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Peter's Site - Programs</title>
    <link>http://blog.peter1402.de/</link>
    <description></description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.0.1 - http://www.s9y.org/</generator>
    <pubDate>Wed, 24 Sep 2008 10:43:11 GMT</pubDate>

    <image>
        <url>http://blog.peter1402.de/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Peter's Site - Programs - </title>
        <link>http://blog.peter1402.de/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Shared libs in /usr/local/lib</title>
    <link>http://blog.peter1402.de/archives/2008/09/24/Shared-libs-in-usrlocallib</link>
            <category>Programs</category>
    
    <comments>http://blog.peter1402.de/archives/2008/09/24/Shared-libs-in-usrlocallib#comments</comments>
    <wfw:comment>http://blog.peter1402.de/wfwcomment.php?cid=38</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.peter1402.de/rss.php?version=2.0&amp;type=comments&amp;cid=38</wfw:commentRss>
    

    <author>nospam@example.com (Peter)</author>
    <content:encoded>
    &lt;p&gt;Just a quick note to myself:&lt;br/&gt;
In Linux, shared C object libraries (.so) are usually found in &lt;em&gt;/usr/lib&lt;/em&gt; which is also in the default linker search path. A problem arises when compiling programs requiring shared libraries located in &lt;em&gt;/usr/local/lib&lt;/em&gt;, the directory for non-system libraries.
The resulting binary can usually not be executed, since the shared object files are not found during runtime.
Common hacks are setting the &lt;em&gt;LD_LIBRARY_PATH&lt;/em&gt; environment variable (linker search path) to include &lt;em&gt;/usr/local/lib&lt;/em&gt; or editing &lt;em&gt;/ect/ld.so.conf&lt;/em&gt; to include this path.
&lt;/p&gt;
&lt;p&gt;A more portable solution is to include &lt;em&gt;/usr/local/lib&lt;/em&gt; in the run path of the binary file with the ld option -R.
When using g++ for linking, use the option &lt;strong&gt;-Wl,-rpath,/usr/local/lib&lt;/strong&gt;. The resulting binary can now run without extra hacks.
&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html&quot;&gt;More info&lt;/a&gt;.&lt;p&gt;
 
    </content:encoded>

    <pubDate>Wed, 24 Sep 2008 12:23:58 +0200</pubDate>
    <guid isPermaLink="false">http://blog.peter1402.de/archives/2008/09/24/38</guid>
    
</item>
<item>
    <title>Validation Graphs</title>
    <link>http://blog.peter1402.de/archives/2006/06/13/Validation-Graphs</link>
            <category>Programs</category>
    
    <comments>http://blog.peter1402.de/archives/2006/06/13/Validation-Graphs#comments</comments>
    <wfw:comment>http://blog.peter1402.de/wfwcomment.php?cid=4</wfw:comment>

    <slash:comments>8</slash:comments>
    <wfw:commentRss>http://blog.peter1402.de/rss.php?version=2.0&amp;type=comments&amp;cid=4</wfw:commentRss>
    

    <author>nospam@example.com (Peter)</author>
    <content:encoded>
    &lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://blog.peter1402.de/pages/validation_graphs.html&#039;&gt;&lt;img width=&#039;108&#039; height=&#039;110&#039; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://blog.peter1402.de/uploads/particle_graphs/validationgraph1.serendipityThumb.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
After having a some fun with the &lt;a href=&quot;http://blog.peter1402.de/pages/page_graphs.html&quot;&gt;Page Graphs&lt;/a&gt;, I eventually made an old dream of mine reality: Builing a small program which does link checking and page validation while spidering a website. Combined with the particle graph visualization method, it is a great tool to get a quick overview of a website&#039;s structure and validation status.
&lt;br/&gt;
&lt;a href=&quot;http://blog.peter1402.de/pages/validation_graphs.html&quot;&gt;Look here for more&lt;/a&gt; 
    </content:encoded>

    <pubDate>Tue, 13 Jun 2006 20:50:12 +0200</pubDate>
    <guid isPermaLink="false">http://blog.peter1402.de/archives/2006/06/13/4</guid>
    
</item>
<item>
    <title>Page Graphs GUI</title>
    <link>http://blog.peter1402.de/archives/2006/06/01/Page-Graphs-GUI</link>
            <category>Programs</category>
    
    <comments>http://blog.peter1402.de/archives/2006/06/01/Page-Graphs-GUI#comments</comments>
    <wfw:comment>http://blog.peter1402.de/wfwcomment.php?cid=3</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.peter1402.de/rss.php?version=2.0&amp;type=comments&amp;cid=3</wfw:commentRss>
    

    <author>nospam@example.com (Peter)</author>
    <content:encoded>
    I put my little &lt;em&gt;PageGraphGUI&lt;/em&gt; application including sources online.
&lt;br/&gt;
Have fun with it. &lt;img src=&quot;http://blog.peter1402.de/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;
&lt;br/&gt;
&lt;a href=&quot;http://blog.peter1402.de/pages/particle_graphs.html&quot;&gt;Look here for more.&lt;/a&gt;.

 
    </content:encoded>

    <pubDate>Thu, 01 Jun 2006 18:20:36 +0200</pubDate>
    <guid isPermaLink="false">http://blog.peter1402.de/archives/2006/06/01/3</guid>
    
</item>
<item>
    <title>Particle Graphs</title>
    <link>http://blog.peter1402.de/archives/2006/05/31/Particle-Graphs</link>
            <category>Programs</category>
    
    <comments>http://blog.peter1402.de/archives/2006/05/31/Particle-Graphs#comments</comments>
    <wfw:comment>http://blog.peter1402.de/wfwcomment.php?cid=2</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.peter1402.de/rss.php?version=2.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    

    <author>nospam@example.com (Peter)</author>
    <content:encoded>
    After stumbling across the &lt;a href=&quot;http://www.aharef.info/2006/05/websites_as_graphs.htm&quot;&gt;websites as graphs&lt;/a&gt; blog entry at &lt;a href=&quot;http://www.aharef.info/&quot;&gt;aharef.info&lt;/a&gt;, I was fascinated by the simplicity and beauty of this visualization algorithm. 
&lt;br/&gt;Immediatly I took the code of the underlying Java &lt;a href=&quot;http://www.aharef.info/static/htmlgraph/&quot;&gt;applet&lt;/a&gt; and built a small Swing GUI which embeds this particle engine. 
&lt;img width=&quot;110&quot; height=&quot;110&quot; style=&quot;float:left;border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://blog.peter1402.de/uploads/particle_graphs/pagegraphgui.serendipityThumb.png&quot; alt=&quot;&quot; /&gt;
The frame is resizable and images can be saved.
&lt;br/&gt;
I will make the sources available in some days, after fixing some bugs.
Eventually I will spend more time in it, because the underlying potential is big. One can think of visualizing arbitrary XML structures or other tree-like information. I also started using it for visualization of link structures in web sites.
 
    </content:encoded>

    <pubDate>Wed, 31 May 2006 20:08:09 +0200</pubDate>
    <guid isPermaLink="false">http://blog.peter1402.de/archives/2006/05/31/2</guid>
    
</item>

</channel>
</rss>