<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dynamic loader unsatisfied code symbol trouble in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/dynamic-loader-unsatisfied-code-symbol-trouble/m-p/3781704#M99365</link>
    <description>This seems to be a common error.  &lt;BR /&gt;&lt;A href="http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=%27rrd_clear_error%27+Unsatisfied+code+symbol+&amp;amp;btnG=Search" target="_blank"&gt;http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=%27rrd_clear_error%27+Unsatisfied+code+symbol+&amp;amp;btnG=Search&lt;/A&gt;</description>
    <pubDate>Wed, 03 May 2006 06:32:31 GMT</pubDate>
    <dc:creator>Cheryl Griffin</dc:creator>
    <dc:date>2006-05-03T06:32:31Z</dc:date>
    <item>
      <title>Dynamic loader unsatisfied code symbol trouble</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dynamic-loader-unsatisfied-code-symbol-trouble/m-p/3781703#M99364</link>
      <description>Hi,&lt;BR /&gt;  &lt;BR /&gt;I have some trouble with library calls from RRDtool.&lt;BR /&gt;Actually the rrdtool lib is called from the Munin performance grapher.&lt;BR /&gt;I built RRDtool and all its prerequisite libs&lt;BR /&gt;(which were zlib, libpng, libart, freetype2)&lt;BR /&gt;from the sources on HP-UX 11.11 with HP ANSI cc.&lt;BR /&gt;Somehow there seem to be dangling unsatisfied symbols.&lt;BR /&gt;  &lt;BR /&gt;$ /opt/munin/lib/munin-update --host gomera --service df                               &lt;BR /&gt;/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'rrd_clear_error' in load module '/opt/perl5/lib/site_perl/5.8.8/PA-RISC2.0-LP64/auto/RRDs/RRDs.sl'.&lt;BR /&gt;   &lt;BR /&gt;In the RRDs.sl there seem to be quite a few&lt;BR /&gt;undefined symbols&lt;BR /&gt;   &lt;BR /&gt;$ nm -u /opt/perl5/lib/site_perl/5.8.8/PA-RISC2.0-LP64/auto/RRDs/RRDs.sl|wc -w&lt;BR /&gt;57&lt;BR /&gt;   &lt;BR /&gt;and especially at least 18 RRD specific &lt;BR /&gt;  &lt;BR /&gt;$ nm -u /opt/perl5/lib/site_perl/5.8.8/PA-RISC2.0-LP64/auto/RRDs/RRDs.sl|grep -ci rrd     &lt;BR /&gt;18&lt;BR /&gt;  &lt;BR /&gt;However, I trust this could be fixed with chatr&lt;BR /&gt;   &lt;BR /&gt;$ chatr /opt/perl5/lib/site_perl/5.8.8/PA-RISC2.0-LP64/auto/RRDs/RRDs.sl&lt;BR /&gt;/opt/perl5/lib/site_perl/5.8.8/PA-RISC2.0-LP64/auto/RRDs/RRDs.sl:&lt;BR /&gt;         64-bit ELF shared library&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             LD_LIBRARY_PATH    enabled  first &lt;BR /&gt;             SHLIB_PATH         enabled  second&lt;BR /&gt;             embedded path      enabled  third  -lrrd&lt;BR /&gt;         shared library list:&lt;BR /&gt;             libm.2&lt;BR /&gt;         shared library mapped private disabled&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         explicit unloading enabled &lt;BR /&gt;         linkage table protection disabled &lt;BR /&gt;         segments:&lt;BR /&gt;             index type     address      flags size&lt;BR /&gt;                 5 text 4000000000000000 z---c-    D (default)&lt;BR /&gt;                 6 data 8000000100000000 ---m--    D (default)&lt;BR /&gt;         static branch prediction disabled&lt;BR /&gt;         kernel assisted branch prediction enabled &lt;BR /&gt;         lazy swap allocation for dynamic segments disabled&lt;BR /&gt;         nulptr references disabled&lt;BR /&gt;  &lt;BR /&gt;    &lt;BR /&gt;My librrd built resides here &lt;BR /&gt;   &lt;BR /&gt;  &lt;BR /&gt;$ chatr /opt/rrdtool/lib/librrd.sl&lt;BR /&gt;/opt/rrdtool/lib/librrd.sl:&lt;BR /&gt;         64-bit ELF shared library&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             LD_LIBRARY_PATH    enabled  first &lt;BR /&gt;             SHLIB_PATH         enabled  second&lt;BR /&gt;             embedded path      enabled  third  /opt/rrdtool/lib&lt;BR /&gt;         internal name:&lt;BR /&gt;             librrd.sl.2&lt;BR /&gt;         shared library list:&lt;BR /&gt;             libfreetype.sl.9&lt;BR /&gt;             libpng12.sl.0&lt;BR /&gt;             libz.sl&lt;BR /&gt;             libart_lgpl_2.sl.5&lt;BR /&gt;             libm.2&lt;BR /&gt;             libc.2&lt;BR /&gt;         shared library mapped private disabled&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         explicit unloading enabled &lt;BR /&gt;         linkage table protection disabled &lt;BR /&gt;         segments:&lt;BR /&gt;             index type     address      flags size&lt;BR /&gt;                 5 text 4000000000000000 z---c-    D (default)&lt;BR /&gt;                 6 data 8000000100000000 ---m--    D (default)&lt;BR /&gt;         static branch prediction disabled&lt;BR /&gt;         kernel assisted branch prediction enabled &lt;BR /&gt;         lazy swap allocation for dynamic segments disabled&lt;BR /&gt;         nulptr references disabled&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;But even when I set LD_LIBRARY_PATH accordingly&lt;BR /&gt;the symbols still remain undefined&lt;BR /&gt;  &lt;BR /&gt;$ LD_LIBRARY_PATH=/opt/rrdtool/lib nm -u /opt/perl5/lib/site_perl/5.8.8/PA-RISC2.0-LP64/auto/RRDs/RRDs.sl&lt;BR /&gt;18&lt;BR /&gt;  &lt;BR /&gt;  &lt;BR /&gt;I read in the linker's manpage that one can&lt;BR /&gt;influence the binding behaviour through&lt;BR /&gt;e.g. "-B immediate -B nonfatal"&lt;BR /&gt;(but haven't used it in the Makefiles),&lt;BR /&gt;and even chatr's manpage suggests such an example.&lt;BR /&gt;But where should such be applied?&lt;BR /&gt;Obviously not on the offending shared lib itself.&lt;BR /&gt;  &lt;BR /&gt;I know too little (or better nothing)&lt;BR /&gt;about the working of the dynamic linker.&lt;BR /&gt;So I don't know how to support it in finding the missing symbol definitions.&lt;BR /&gt;In dld.sl's manpage an LD_PRELOAD env var is&lt;BR /&gt;mentioned.&lt;BR /&gt;Would this be of any help?&lt;BR /&gt; &lt;BR /&gt;Rgds.&lt;BR /&gt;Ralph&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 May 2006 05:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dynamic-loader-unsatisfied-code-symbol-trouble/m-p/3781703#M99364</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2006-05-03T05:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic loader unsatisfied code symbol trouble</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dynamic-loader-unsatisfied-code-symbol-trouble/m-p/3781704#M99365</link>
      <description>This seems to be a common error.  &lt;BR /&gt;&lt;A href="http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=%27rrd_clear_error%27+Unsatisfied+code+symbol+&amp;amp;btnG=Search" target="_blank"&gt;http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=%27rrd_clear_error%27+Unsatisfied+code+symbol+&amp;amp;btnG=Search&lt;/A&gt;</description>
      <pubDate>Wed, 03 May 2006 06:32:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dynamic-loader-unsatisfied-code-symbol-trouble/m-p/3781704#M99365</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2006-05-03T06:32:31Z</dc:date>
    </item>
  </channel>
</rss>

