<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Sverker, Thanks for the quick suggestion.. I was able to compile and build  64-bit openssl along with building shared objects.<br>Now, when i try to compile erlang 15B01, running into a new compilation error..<br><br>Here's my configure parameters before running gmake..<br><br><pre class="term"><span class="f8 b7">#./configure --enable-m64-build --prefix=/export/home/vmi/ERL --enable-threads --enable-smp-support <br>--with-ssl=/usr/local/ssl --with-ssl-lib=/usr/local/ssl/lib</span><span class="f7 b0"> <br></span></pre><br><u>Heres' the compilation error:</u><br><pre class="term"><span class="f8 b7">gcc -m64  -m64  -fPIC -I/export/home/vmi/otp/otp_src_R15B01/erts/i386-pc-so
laris2.10  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -DERTS_SMP -DHAVE_CONFIG_
H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -
DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -D_POSIX_PTHREAD_SEMANT
ICS  -Ii386-pc-solaris2.10/opt/smp -Ibeam -Isys/unix -Isys/common -Ii386-pc-sola
ris2.10 -Izlib  -Ipcre -Ihipe -I../include -I../include/i386-pc-solaris2.10 -I..
/include/internal -I../include/internal/i386-pc-solaris2.10 -c i386-pc-solaris2.
10/opt/smp/hipe_amd64_bifs.S -o obj/i386-pc-solaris2.10/opt/smp/hipe_amd64_bifs.
o</span><span class="f7 b0">                                                                               
</span><span class="f8 b7">i386-pc-solaris2.10/opt/smp/hipe_amd64_bifs.S:2005:2: #endif without #if</span><span class="f7 b0">        
</span><span class="f8 b7">gmake[3]: *** [obj/i386-pc-solaris2.10/opt/smp/hipe_amd64_bifs.o] Error 1</span><span class="f7 b0">       
</span><span class="f8 b7">gmake[3]: Leaving directory `/export/home/vmi/otp/otp_src_R15B01/erts/emula
tor'</span><span class="f7 b0">                                                                            
</span><span class="f8 b7">gmake[2]: *** [opt] Error 2</span><span class="f7 b0">                                                     
</span><span class="f8 b7">gmake[2]: Leaving directory `/export/home/vmi/otp/otp_src_R15B01/erts/emula
tor'</span><span class="f7 b0">                                                                            
</span><span class="f8 b7">gmake[1]: *** [smp] Error 2</span><span class="f7 b0">                                                     
</span><span class="f8 b7">gmake[1]: Leaving directory `/export/home/vmi/otp/otp_src_R15B01/erts'</span><span class="f7 b0">     
</span><span class="f8 b7">gmake: *** [emulator] Error 2</span><span class="f7 b0">                                                   
</span><span class="f8 b7">ddela/otp/otp_src_R15B01root@secunderabad:/export/home/vmi/otp/otp_src_R15B</span></pre>Thanks,<br>Venu<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Fri, 9 Nov 2012 10:25:51 +0100<br>> From: sverker.eriksson@ericsson.com<br>> To: mvm_8@hotmail.com<br>> CC: attila.r.nohl@gmail.com; erlang-questions@erlang.org<br>> Subject: Re: [erlang-questions] erlang fails to load crypto on solaris 10 x86_64<br>> <br>> You have to configure openssl source tree with option 'shared' to get <br>> dynamic libraries.<br>> Option 'no-asm' might also help if you get compile problems. Read INSTALL.<br>> <br>> /Sverker<br>> <br>> Venu Middela wrote:<br>> > Attila,<br>> >  I did try installing the package openssl0.9.8, but the binaries from this package are 32 bit.<br>> > also, when i tried to compile from the  sourcecode , strangely, the compile/make is not building the 64-bit binaries for libcrypto and libssl..<br>> > here's the contents of compiled /usr/local/ssl/lib<br>> > bash-3.2$ pwd                                                                  <br>> > /usr/local/ssl/lib                                                              <br>> ><br>> > -bash-3.2$ ls    <br>> > engines      libcrypto.a  libssl.a     pkgconfig <br>> ><br>> ><br>> > Thanks,<br>> > Venu<br>> ><br>> >   <br>> >> Date: Thu, 8 Nov 2012 21:50:21 +0100<br>> >> From: attila.r.nohl@gmail.com<br>> >> To: erlang-questions@erlang.org<br>> >> Subject: Re: [erlang-questions] erlang fails to load crypto on solaris 10      x86_64<br>> >><br>> >> 2012/11/8 Venu Middela <mvm_8@hotmail.com>:<br>> >>     <br>> >>> Steve,<br>> >>>  Thanks for pointing out the correct version of crypto.<br>> >>> Could you please point to instructions on how to patch crypto to remove the<br>> >>> NIF des_ede3_cfb_crypt.<br>> >>> I couldnt find a solaris package version 0.9.8. Looked through oracle sites<br>> >>> for updated package and/or any patch that would<br>> >>> upgrade openssl to 0.9.8, but no luck.<br>> >>>       <br>> >> Check sunfreeware.com (or one of its mirrors). For example this is a<br>> >> 0.9.8 package for Solaris 10 on x86:<br>> >> http://sunfreeware.saix.net/programlistintel10.html#openssl098p It<br>> >> seems that now the main site requires registration :-(<br>> >> _______________________________________________<br>> >> erlang-questions mailing list<br>> >> erlang-questions@erlang.org<br>> >> http://erlang.org/mailman/listinfo/erlang-questions<br>> >>     <br>> >                                          <br>> >   <br>> > ------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > erlang-questions mailing list<br>> > erlang-questions@erlang.org<br>> > http://erlang.org/mailman/listinfo/erlang-questions<br>> >   <br>> <br></div>                                      </div></body>
</html>