title: Unable to resolve this dependecy for curl in solaris 10
body: <p>i am trying to install curl on solaris 10.</p>
  
  <p>I have installed the curl packages with other dependencies as </p>
  
  <pre><code>application SMCcurl                          curl
  application SMClgcc346                       libgcc
  application SMClibidn                        libidn
  application SMCliconv                        libiconv
  application SMClintl                         libintl
  application SMClssh2                         libssh2
  application SMCossl                          openssl
  application SMCzlib                          zlib
  </code></pre>
  
  <p>When I tried to run the curl i am getting error as</p>
  
  <pre><code>/usr/local/bin # ./curl --version
  ld.so.1: curl: fatal: libidn.so.11: version `LIBIDN_1.0' not found (required by file /usr/local/lib/libcurl.so.4)
  ld.so.1: curl: fatal: libidn.so.11: open failed: No such file or directory
  Killed
  </code></pre>
  
  <p>Searched for its solution, but no luck.</p>
  
  <p>Ouput of the <code>ldd curl</code> command is</p>
  
  <pre><code>        libcurl.so.4 =&gt;  /usr/local/lib/libcurl.so.4
          libidn.so.11 =&gt;  /usr/local/lib/libidn.so.11
          libintl.so.8 =&gt;  /usr/local/lib/libintl.so.8
          libsec.so.1 =&gt;   /usr/lib/libsec.so.1
          libc.so.1 =&gt;     /usr/lib/libc.so.1
          libiconv.so.2 =&gt;         /usr/local/lib/libiconv.so.2
          libnsl.so.1 =&gt;   /usr/lib/libnsl.so.1
          libdl.so.1 =&gt;    /usr/lib/libdl.so.1
          libssh2.so.1 =&gt;  /usr/local/lib/libssh2.so.1
          libssl.so.1.0.0 =&gt;       /usr/local/ssl/lib/libssl.so.1.0.0
          libcrypto.so.1.0.0 =&gt;    /usr/local/ssl/lib/libcrypto.so.1.0.0
          libsocket.so.1 =&gt;        /usr/lib/libsocket.so.1
          librt.so.1 =&gt;    /usr/lib/librt.so.1
          libz.so =&gt;       /usr/local/lib/libz.so
          libgcc_s.so.1 =&gt;         /usr/local/lib/libgcc_s.so.1
          libidn.so.11 (LIBIDN_1.0) =&gt;     (version not found)
          libavl.so.1 =&gt;   /lib/libavl.so.1
          libmp.so.2 =&gt;    /lib/libmp.so.2
          libmd.so.1 =&gt;    /lib/libmd.so.1
          libscf.so.1 =&gt;   /lib/libscf.so.1
          libaio.so.1 =&gt;   /lib/libaio.so.1
          libdoor.so.1 =&gt;  /lib/libdoor.so.1
          libuutil.so.1 =&gt;         /lib/libuutil.so.1
          libgen.so.1 =&gt;   /lib/libgen.so.1
          libm.so.2 =&gt;     /lib/libm.so.2
          /platform/SUNW,Netra-440/lib/libc_psr.so.1
          /platform/SUNW,Netra-440/lib/libmd_psr.so.1
  </code></pre>
  
  <p>Can somebody please tell me how can resolve these dependency?</p>