<?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: /usr/lib/dld.sl: Unresolved symbol: SSLeay (code) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-unresolved-symbol-ssleay-code/m-p/5114196#M446624</link>
    <description>&amp;gt;The solution it to re-compiled also openssl with the "shared" option.&lt;BR /&gt;&amp;gt;This created new "libcrypto.a" that you will have to re-link with the lib that needs it.&lt;BR /&gt;&lt;BR /&gt;Actually, you should just create libcrypto.sl so you can use it without including it in every load module.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;re-create your tester&lt;BR /&gt;&lt;BR /&gt;You could also "include" all of libcrypto.a into your executable and link with -Wl,-E.</description>
    <pubDate>Tue, 17 Jun 2008 13:11:22 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-06-17T13:11:22Z</dc:date>
    <item>
      <title>/usr/lib/dld.sl: Unresolved symbol: SSLeay (code)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-unresolved-symbol-ssleay-code/m-p/5114192#M446620</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I created a shared lib via gcc.&lt;BR /&gt;I'm trying to create a simple C tester that openes that tries to access this lib directly via dlopen().&lt;BR /&gt;GCC cmd:&lt;BR /&gt;"gcc -o testcsdkdllopen_hpux -pthread testcsdkdllopen.c"&lt;BR /&gt;When I run the exe - the program crashes with the following:&lt;BR /&gt;"/usr/lib/dld.sl: Unresolved symbol: SSLeay (code) from &lt;PATH of="" my="" sl=""&gt; ABORT instruction (core dumped)"&lt;BR /&gt;&lt;BR /&gt;-------------&lt;BR /&gt;Env details:&lt;BR /&gt;-------------&lt;BR /&gt;gcc - gcc version 4.2.2&lt;BR /&gt;OS: HPUX11.23 PARisc&lt;BR /&gt;"file ./testcsdkdllopen_hpux" returns:&lt;BR /&gt;./testcsdkdllopen_hpux: PA-RISC2.0 shared executable dynamically linked -not stripped&lt;BR /&gt;"ldd ./testcsdkdllopen_hpux" returns:&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;/usr/lib/libpthread.1 =&amp;gt;/usr/lib/libpthread.1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;what do you think?!&lt;BR /&gt;&lt;BR /&gt;tx,&lt;BR /&gt;shlom&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PATH&gt;</description>
      <pubDate>Tue, 17 Jun 2008 07:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-unresolved-symbol-ssleay-code/m-p/5114192#M446620</guid>
      <dc:creator>devshlom</dc:creator>
      <dc:date>2008-06-17T07:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Unresolved symbol: SSLeay (code)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-unresolved-symbol-ssleay-code/m-p/5114193#M446621</link>
      <description>By the way,&lt;BR /&gt;&lt;BR /&gt;My question regarded to C tester...&lt;BR /&gt;BUT the same error occurs when I compile run the same tester with c++ (cpp)</description>
      <pubDate>Tue, 17 Jun 2008 07:50:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-unresolved-symbol-ssleay-code/m-p/5114193#M446621</guid>
      <dc:creator>devshlom</dc:creator>
      <dc:date>2008-06-17T07:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Unresolved symbol: SSLeay (code)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-unresolved-symbol-ssleay-code/m-p/5114194#M446622</link>
      <description>more important info:&lt;BR /&gt;&lt;BR /&gt;some of my libs (that were linked in the sl) require "openssl"&lt;BR /&gt;I didn't add the "-fpic" to the openssl compilation, since the sl was linked with no errors.&lt;BR /&gt;Could it be the reason for that?</description>
      <pubDate>Tue, 17 Jun 2008 09:09:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-unresolved-symbol-ssleay-code/m-p/5114194#M446622</guid>
      <dc:creator>devshlom</dc:creator>
      <dc:date>2008-06-17T09:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Unresolved symbol: SSLeay (code)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-unresolved-symbol-ssleay-code/m-p/5114195#M446623</link>
      <description>I managed to find the solution on my own.&lt;BR /&gt;The solution it to re-compiled also openssl with the "shared" option.&lt;BR /&gt;This created new "libcrypto.a" that you will have to re-link with the lib that needs it.&lt;BR /&gt;&lt;BR /&gt;After doing all of this, re-create your shared lib, re-create your tester and everything work as it should.&lt;BR /&gt;&lt;BR /&gt;Shlom</description>
      <pubDate>Tue, 17 Jun 2008 10:37:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-unresolved-symbol-ssleay-code/m-p/5114195#M446623</guid>
      <dc:creator>devshlom</dc:creator>
      <dc:date>2008-06-17T10:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Unresolved symbol: SSLeay (code)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-unresolved-symbol-ssleay-code/m-p/5114196#M446624</link>
      <description>&amp;gt;The solution it to re-compiled also openssl with the "shared" option.&lt;BR /&gt;&amp;gt;This created new "libcrypto.a" that you will have to re-link with the lib that needs it.&lt;BR /&gt;&lt;BR /&gt;Actually, you should just create libcrypto.sl so you can use it without including it in every load module.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;re-create your tester&lt;BR /&gt;&lt;BR /&gt;You could also "include" all of libcrypto.a into your executable and link with -Wl,-E.</description>
      <pubDate>Tue, 17 Jun 2008 13:11:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-unresolved-symbol-ssleay-code/m-p/5114196#M446624</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-17T13:11:22Z</dc:date>
    </item>
  </channel>
</rss>

