<?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: symbol not found in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050567#M736698</link>
    <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;My *real* problem is apache doesn't load mod_ssl. It dies with this error:&lt;BR /&gt;&lt;BR /&gt;$ sudo bin/apachectl start&lt;BR /&gt;Syntax error on line 5 of /usr/local/httpd/conf/extra/ssl.conf:&lt;BR /&gt;Cannot load /usr/local/httpd/modules/mod_ssl.so into server: Unresolved external&lt;BR /&gt;&lt;BR /&gt;So I ran ldd on the modules and found the following unresolved symbols:&lt;BR /&gt;&lt;BR /&gt;symbol not found: _SYSTEM_ID (/usr/lib/libc.2)&lt;BR /&gt;symbol not found: _end (/usr/lib/libc.2)&lt;BR /&gt;symbol not found: __dld_loc (/usr/lib/libdld.2)&lt;BR /&gt;&lt;BR /&gt;Interestingly, I downloaded HP's apache and and ran ldd on some of the modules they supplied and I found the same unresolved symbols. &lt;BR /&gt;&lt;BR /&gt;Am I barking up the wrong tree?</description>
    <pubDate>Wed, 08 Aug 2007 07:08:32 GMT</pubDate>
    <dc:creator>Jeff Fulmer_1</dc:creator>
    <dc:date>2007-08-08T07:08:32Z</dc:date>
    <item>
      <title>symbol not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050560#M736691</link>
      <description>I'm having an issue with mod_ssl.so on apache 2.0.59. It is uable to resolve the following symbols:&lt;BR /&gt;&lt;BR /&gt;symbol not found: _SYSTEM_ID  (/usr/lib/libc.2)&lt;BR /&gt;symbol not found: _end        (/usr/lib/libc.2)&lt;BR /&gt;symbol not found: __dld_loc   (/usr/lib/libdld.2)&lt;BR /&gt;&lt;BR /&gt;I can find the first two:&lt;BR /&gt;$ nm /usr/lib/libc.2 | grep SYS    &lt;BR /&gt;         U _SYSTEM_ID&lt;BR /&gt;lccas243$ &lt;BR /&gt;$ nm /usr/lib/libc.2 | grep _end&lt;BR /&gt;         U _end&lt;BR /&gt;&lt;BR /&gt;But I can't locate the third:&lt;BR /&gt;$ nm /usr/lib/libc.2 | grep dld_&lt;BR /&gt;(not found)&lt;BR /&gt;&lt;BR /&gt;Any insight?&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Aug 2007 15:06:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050560#M736691</guid>
      <dc:creator>Jeff Fulmer_1</dc:creator>
      <dc:date>2007-08-06T15:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: symbol not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050561#M736692</link>
      <description>The HP-packaged Apache from software.hp.com has some patch requirements for Apache versions 2.0.58 and above.&lt;BR /&gt;&lt;BR /&gt;As Apache 2.0.59 seems to be not yet available from software.hp.com, I'm guessing you're compiling it yourself or getting it from some other site. These patches might be required by your version of Apache too.&lt;BR /&gt;&lt;BR /&gt;From the product detail page of HP Apache-based Web Server 2.17: &lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW217" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW217&lt;/A&gt;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;Starting with HP-UX Apache 2.0.58.00, there may be problems starting Apache. Apache may hang when attempting to start it. This is because of the changes made in the way modules get loaded dynamically. The solution for this is to install the following patches. These patches also need to be installed if the LoadFile directives are used.&lt;BR /&gt;For 11iv1:&lt;BR /&gt;&lt;BR /&gt;    * PHSS_33037 - ld(1) and linker tools cumulative patch&lt;BR /&gt;    * PHSS_33944 - s700_800 11.11 HP aC++ -AA runtime libraries (aCC A.03.61)&lt;BR /&gt;&lt;BR /&gt;For 11.00:&lt;BR /&gt;&lt;BR /&gt;    * PHSS_33036 s700_800 11.00 ld(1) and linker tools cumulative patch&lt;BR /&gt;    * PHSS_33943 s700_800 11.X HP aC++ -AA runtime libraries (aCC A.03.61)&lt;BR /&gt;&lt;BR /&gt;For 11iv2: No patches are required&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 07 Aug 2007 03:22:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050561#M736692</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-08-07T03:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: symbol not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050562#M736693</link>
      <description>The above 3 symbols are only found in the executable.  What program printed those messages?&lt;BR /&gt;&lt;BR /&gt;This type of error can only occurs if you illegally linked with an archive libc and a shared one.</description>
      <pubDate>Tue, 07 Aug 2007 05:42:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050562#M736693</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-07T05:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: symbol not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050563#M736694</link>
      <description>Matti,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. The patches you mentioned were already present when this problem appeared. &lt;BR /&gt;&lt;BR /&gt;I need to correct my original post. __dld_loc is present in libdld.2 In the post above you can see I was checking the wrong library....</description>
      <pubDate>Tue, 07 Aug 2007 08:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050563#M736694</guid>
      <dc:creator>Jeff Fulmer_1</dc:creator>
      <dc:date>2007-08-07T08:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: symbol not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050564#M736695</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;This message:&lt;BR /&gt;symbol not found: _SYSTEM_ID (/usr/lib/libc.2)&lt;BR /&gt;symbol not found: _end (/usr/lib/libc.2)&lt;BR /&gt;symbol not found: __dld_loc (/usr/lib/libdld.2)&lt;BR /&gt;&lt;BR /&gt;Was the output of ldd -bd mod_ssl.so &lt;BR /&gt;&lt;BR /&gt;I was able to find each of those symbols in the appropriate library with nm. &lt;BR /&gt;&lt;BR /&gt;How can I tell if I illegally linked it to an archived version of libc? And how do I prevent that?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Aug 2007 09:36:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050564#M736695</guid>
      <dc:creator>Jeff Fulmer_1</dc:creator>
      <dc:date>2007-08-07T09:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: symbol not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050565#M736696</link>
      <description>This problem is not limited to apache. Here's the output of ldd libz.sl which was compiled with gcc:&lt;BR /&gt;&lt;BR /&gt;ldd -bd libz.sl&lt;BR /&gt; /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt; /usr/lib/libdld.2 =&amp;gt;    /usr/lib/libdld.2&lt;BR /&gt; /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt; symbol not found: _SYSTEM_ID (/usr/lib/libc.2)&lt;BR /&gt; symbol not found: _end  (/usr/lib/libc.2)&lt;BR /&gt; symbol not found: __dld_loc (/usr/lib/libdld.2)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Aug 2007 10:48:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050565#M736696</guid>
      <dc:creator>Jeff Fulmer_1</dc:creator>
      <dc:date>2007-08-07T10:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: symbol not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050566#M736697</link>
      <description>&amp;gt;__dld_loc is present in libdld.2 &lt;BR /&gt;&lt;BR /&gt;You are confused.  The "U" means is an Unsat in that lib and not defined.  You need to be looking for a T, B or D.  As I said it is only defined in an executable.&lt;BR /&gt;$ odump -slexport /usr/bin/ksh | fgrep __dld_loc&lt;BR /&gt;000000006 -00000001  -0001 0x4000440c  Stor  0x00000004  00 __dld_loc&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Was the output of ldd -bd mod_ssl.so&lt;BR /&gt;&lt;BR /&gt;You should NOT be using ldd -d on shlibs.  It gives you this type of bogus info.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I was able to find each of those symbols in the appropriate library with nm. &lt;BR /&gt;&lt;BR /&gt;(These are not the droids you want. ;-)&lt;BR /&gt;&lt;BR /&gt;nm is the wrong command to look at shlibs.&lt;BR /&gt;The proper command is "odump -slexport".  And -slimport for unsats.&lt;BR /&gt;&lt;BR /&gt;What is your real problem?</description>
      <pubDate>Tue, 07 Aug 2007 18:21:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050566#M736697</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-07T18:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: symbol not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050567#M736698</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;My *real* problem is apache doesn't load mod_ssl. It dies with this error:&lt;BR /&gt;&lt;BR /&gt;$ sudo bin/apachectl start&lt;BR /&gt;Syntax error on line 5 of /usr/local/httpd/conf/extra/ssl.conf:&lt;BR /&gt;Cannot load /usr/local/httpd/modules/mod_ssl.so into server: Unresolved external&lt;BR /&gt;&lt;BR /&gt;So I ran ldd on the modules and found the following unresolved symbols:&lt;BR /&gt;&lt;BR /&gt;symbol not found: _SYSTEM_ID (/usr/lib/libc.2)&lt;BR /&gt;symbol not found: _end (/usr/lib/libc.2)&lt;BR /&gt;symbol not found: __dld_loc (/usr/lib/libdld.2)&lt;BR /&gt;&lt;BR /&gt;Interestingly, I downloaded HP's apache and and ran ldd on some of the modules they supplied and I found the same unresolved symbols. &lt;BR /&gt;&lt;BR /&gt;Am I barking up the wrong tree?</description>
      <pubDate>Wed, 08 Aug 2007 07:08:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050567#M736698</guid>
      <dc:creator>Jeff Fulmer_1</dc:creator>
      <dc:date>2007-08-08T07:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: symbol not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050568#M736699</link>
      <description>&amp;gt;My *real* problem is apache doesn't load mod_ssl. It dies with this error:&lt;BR /&gt;Cannot load /usr/local/httpd/modules/mod_ssl.so into server: Unresolved external&lt;BR /&gt;&lt;BR /&gt;Unfortunately it doesn't mention the symbol. :-(&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Am I barking up the wrong tree?&lt;BR /&gt;&lt;BR /&gt;Well yes.  :-)&lt;BR /&gt;A better tool is show_remaining_imports that you can find on one of my replies to this thread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1115429" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1115429&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You just provide the name of the executable and the module you are trying to load.</description>
      <pubDate>Wed, 08 Aug 2007 07:37:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050568#M736699</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-08T07:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: symbol not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050569#M736700</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;Here's the output. I'm not sure what this is telling me:&lt;BR /&gt;&lt;BR /&gt;sudo show_remaining_imports bin/httpd modules/mod_ssl.so       &lt;BR /&gt;Unsat for BIO_clear_flags&lt;BR /&gt;   Code in modules/mod_ssl.so&lt;BR /&gt;Unsat for BIO_get_callback_arg&lt;BR /&gt;   Code in modules/mod_ssl.so&lt;BR /&gt;Unsat for BIO_set_callback&lt;BR /&gt;   Code in modules/mod_ssl.so&lt;BR /&gt;Unsat for BIO_set_callback_arg&lt;BR /&gt;   Code in modules/mod_ssl.so&lt;BR /&gt;Unsat for BIO_set_flags&lt;BR /&gt;   Code in modules/mod_ssl.so&lt;BR /&gt;Unsat for SSL_CTX_sess_set_get_cb&lt;BR /&gt;   Code in modules/mod_ssl.so&lt;BR /&gt;Unsat for SSL_CTX_sess_set_new_cb&lt;BR /&gt;   Code in modules/mod_ssl.so&lt;BR /&gt;Unsat for SSL_CTX_sess_set_remove_cb&lt;BR /&gt;   Code in modules/mod_ssl.so&lt;BR /&gt;Unsat for SSL_CTX_set_client_cert_cb&lt;BR /&gt;   Code in modules/mod_ssl.so&lt;BR /&gt;Unsat for SSL_CTX_set_info_callback&lt;BR /&gt;   Code in modules/mod_ssl.so&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2007 12:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050569#M736700</guid>
      <dc:creator>Jeff Fulmer_1</dc:creator>
      <dc:date>2007-08-08T12:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: symbol not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050570#M736701</link>
      <description>&amp;gt;I'm not sure what this is telling me:&lt;BR /&gt;&lt;BR /&gt;Either these are the unsats, or you need to add another shlib on the command line.  I would have expected ldd to also print these?&lt;BR /&gt;(You probably don't need sudo to execute it.)&lt;BR /&gt;&lt;BR /&gt;sudo show_remaining_imports bin/httpd modules/mod_ssl.so&lt;BR /&gt;Unsat for BIO_clear_flags&lt;BR /&gt;Code in modules/mod_ssl.so&lt;BR /&gt;Unsat for BIO_get_callback_arg&lt;BR /&gt;Unsat for BIO_set_callback&lt;BR /&gt;Unsat for BIO_set_callback_arg&lt;BR /&gt;Unsat for BIO_set_flags&lt;BR /&gt;Unsat for SSL_CTX_sess_set_get_cb&lt;BR /&gt;Unsat for SSL_CTX_sess_set_new_cb&lt;BR /&gt;Unsat for SSL_CTX_sess_set_remove_cb&lt;BR /&gt;Unsat for SSL_CTX_set_client_cert_cb&lt;BR /&gt;Unsat for SSL_CTX_set_info_callback&lt;BR /&gt;&lt;BR /&gt;So you need to search for a shlib that defines these functions:&lt;BR /&gt;odump -slexport lib* | grep -e BIO_ -e SSL_CTX&lt;BR /&gt;&lt;BR /&gt;I suppose you could also search the executable and if it wasn't built correctly it would have this problem.  (-Wl,-E)&lt;BR /&gt;&lt;BR /&gt;nm -px bin/httpd | grep -e BIO_ -e SSL_CTX&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2007 22:01:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbol-not-found/m-p/4050570#M736701</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-08T22:01:51Z</dc:date>
    </item>
  </channel>
</rss>

