<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:ArialMT;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am running into an issue with an Erlang install on our Unix machine (Solaris 10).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Erlang version: R16B03<o:p></o:p></p>
<p class="MsoNormal">OS: Solaris 10<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am following the steps listed on the official install page:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://github.com/erlang/otp/blob/maint/HOWTO/INSTALL.md">https://github.com/erlang/otp/blob/maint/HOWTO/INSTALL.md</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have unpacked the tar file from erlang.org, these are the steps I have followed:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">export ERL_TOP=<my local directory where tar file was unpacked>/otp_src_R16B03<o:p></o:p></p>
<p class="MsoNormal">export DED_LD=gcc #using gcc located at /usr/sfw/bin/gcc<o:p></o:p></p>
<p class="MsoNormal">export PATH=/usr/sfw/bin:/usr/xpg4/bin/:/bin <o:p></o:p></p>
<p class="MsoNormal">./configure –prefix=<target erlang install directory><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Configuration finished with: (I can post the entire output if necessary)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">---<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">*********************************************************************<o:p></o:p></p>
<p class="MsoNormal">**********************  APPLICATIONS DISABLED  **********************<o:p></o:p></p>
<p class="MsoNormal">*********************************************************************<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">odbc           : ODBC library - link check failed<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">*********************************************************************<o:p></o:p></p>
<p class="MsoNormal">*********************************************************************<o:p></o:p></p>
<p class="MsoNormal">**********************  APPLICATIONS INFORMATION  *******************<o:p></o:p></p>
<p class="MsoNormal">*********************************************************************<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">wx             : wxWidgets not found, wx will NOT be usable<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">*********************************************************************<o:p></o:p></p>
<p class="MsoNormal">*********************************************************************<o:p></o:p></p>
<p class="MsoNormal">**********************  DOCUMENTATION INFORMATION  ******************<o:p></o:p></p>
<p class="MsoNormal">*********************************************************************<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">documentation  :<o:p></o:p></p>
<p class="MsoNormal">                 fop is missing.<o:p></o:p></p>
<p class="MsoNormal">                 Using fakefop to generate placeholder PDF files.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">---<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">gmake #located at /usr/sfw/bin/gmake<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The error I receive is:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">---<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">gcc  -o ../priv/lib/i386-pc-solaris2.10/trace_ip_drv.so ../priv/obj/i386-pc-solaris2.10/trace_ip_drv.o -lc -lsendfile -ldlpi -ldl -lm   -lsocket -lnsl<o:p></o:p></p>
<p class="MsoNormal">Undefined                       first referenced<o:p></o:p></p>
<p class="MsoNormal">symbol                             in file<o:p></o:p></p>
<p class="MsoNormal">main                                /usr/lib/crt1.o<o:p></o:p></p>
<p class="MsoNormal">set_port_control_flags              ../priv/obj/i386-pc-solaris2.10/trace_ip_drv.o<o:p></o:p></p>
<p class="MsoNormal">driver_alloc                        ../priv/obj/i386-pc-solaris2.10/trace_ip_drv.o<o:p></o:p></p>
<p class="MsoNormal">driver_alloc_binary                 ../priv/obj/i386-pc-solaris2.10/trace_ip_drv.o<o:p></o:p></p>
<p class="MsoNormal">driver_free                         ../priv/obj/i386-pc-solaris2.10/trace_ip_drv.o<o:p></o:p></p>
<p class="MsoNormal">driver_select                       ../priv/obj/i386-pc-solaris2.10/trace_ip_drv.o<o:p></o:p></p>
<p class="MsoNormal">ld: fatal: symbol referencing errors. No output written to ../priv/lib/i386-pc-solaris2.10/trace_ip_drv.so<o:p></o:p></p>
<p class="MsoNormal">collect2: ld returned 1 exit status<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">---<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I looked around..it looks like it has to do with the gcc library on solaris. Is this an issue with my gcc install where it has unresolved symbols?
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I realize I can get pass this by using LDFLAGS=-W1,-x,nodefs where it ignores unresolved symbols. However I need this for the purpose of running RabbitMQ, and I run into other issues when running RabbitMQ when install Erlang this way, so
 I would like to see what your opinions are.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-CA">Kelvin Poon</span></b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-CA"> | Associate
 Director, Algorithmic Trading and Routing | Quantitative Trading Solutions | Scotia Capital Inc.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:ArialMT;color:#2F2F2F;mso-fareast-language:EN-CA">________________________________________________________</span><span style="font-size:9.0pt;font-family:ArialMT;color:#2F2F2F;mso-fareast-language:EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:red;mso-fareast-language:EN-CA">Scotiabank</span></b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-CA"> |
<b>Global Banking and Markets</b></span><b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:red;mso-fareast-language:EN-CA"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-CA">40 King Street West, 65<sup>th</sup> Floor, Toronto, ON, Canada, M5H 1H1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-CA">Direct: (416) 863-7455 | EES Trading: (416) 862-3208 | Mobile: (647) 966-9631 | Fax: (416) 862-3208
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-CA"><a href="mailto:kelvin.poon@scotiabank.com"><span style="color:blue">kelvin.poon@scotiabank.com</span></a></span><u><span style="color:blue"><o:p></o:p></span></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-CA">Scotiabank.com</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-CA">Scotiabank is a business name used by Scotia Capital Inc.</span><i><sup><span style="font-size:9.0pt;font-family:"Arial","sans-serif";mso-fareast-language:EN-CA"><o:p></o:p></span></sup></i></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">Please click this link
<a href="mailto:kelvin.poon@scotiabank.com?subject=Please%20REMOVE%20from%20email%20mailing%20list">
<span style="color:blue">kelvin.poon@scotiabank.com</span></a> to email the sender for removal from this specific note/publication.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><sup><span style="font-family:"Arial","sans-serif";mso-fareast-language:EN-CA">TM</span></sup></i><i><span style="font-family:"Arial","sans-serif";mso-fareast-language:EN-CA"> Trademark of The Bank of Nova Scotia. Used under license,
 where applicable. Scotiabank, together with "Global Banking and Markets", is a marketing name for the global corporate and investment banking and capital markets businesses of The Bank of Nova Scotia and certain of its affiliates in the countries where they
 operate, including Scotia Capital Inc. (Member-Canadian Investor Protection Fund). This publication is not a research report.  Consequently this commentary is not governed by rules applicable to the publication and distribution of research reports, including
 relevant restrictions or disclosures required to be included in research reports. This publication is not meant to provide information sufficient upon to base an investment decision, or to replace any due diligence or analytical work required by you in making
 investment decisions.  This communication has been prepared and distributed by staff of Scotia Capital Inc.’s Institutional Equity Sales and Trading Desk (a Canadian Investment Dealer, member of IIROC) solely for the use of sophisticated institutional investors.
 The opinions and statements contained herein are intended for information purposes only and are subject to change without notice. In addition, the opinions and statements contained herein are based on information taken from sources believed to be reliable,
 but no representation or warranty, express or implied, is made as to their accuracy, completeness, or timeliness. Furthermore, the opinions expressed herein represent the personal views of the writer and may not be shared by other members of the Institutional
 Equity Desk or other areas, units, divisions or affiliates of Scotia Capital Inc.  Additionally, either the Institutional Equity Desk or other areas or divisions could trade in accordance with the views expressed or trade against these views.  Any transactions
 by US Institutional Investors in any security mentioned or referenced in this publication cannot be effected through Scotia Capital Inc. and must be executed with a U.S. broker-dealer, including Scotia Capital (USA) Inc., an affiliate of Scotia Capital Inc. 
 Scotia Capital Inc., its directors, officers, employees, affiliates or clients may currently or from time to time own or hold interests in long or short positions in the securities referred to herein, and may at any time make purchases or sales of these securities
 as principal or agent. Scotia Capital Inc. or its affiliates may have provided or may provide investment banking, capital markets advice or other services to the companies referred to in this communication. This email should not be construed as investment
 advice or as an offer to sell or a solicitation of an offer to buy any securities or other financial instruments.  Neither Scotia Capital Inc. nor any of its officers, directors, partners, employees or affiliates accepts any liability for any direct or consequential
 loss arising from this publication or its contents.  Scotia Capital Inc. recommends that investors independently evaluate each issuer and security discussed in this publication, and consult with any advisors they deem necessary prior to making any investment.
 Scotia Capital Inc. owns or controls an equity interest in TMX Group Limited and in excess of 1% of the issued and outstanding equity securities thereof.  As such, Scotia Capital Inc. may be considered to have an economic interest in TMX Group Limited including
 the various marketplaces operated by it such as the Toronto Stock Exchange, the TSX Venture Exchange and the Alpha Exchange.  Scotia Capital Inc. has a nominee director serving on the Board of Directors of TMX Group Limited.
<b>Redistribution or onward forwarding of this email is strictly prohibited.</b> If you believe that this email was sent to you in error, please forward a message to that effect as soon as practicable to<span style="color:navy"> </span></span></i><a href="mailto:trade.supervision@scotiabank.com"><i><span style="color:blue;mso-fareast-language:EN-CA">trade.supervision@scotiabank.com</span></i></a><i><span style="font-family:"Arial","sans-serif";color:navy;mso-fareast-language:EN-CA">.<o:p></o:p></span></i></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
 <BR/>This e-mail and any attachments may contain confidential or privileged information. If you are not an intended recipient, do not re-send, copy or use this e-mail. Please also contact the sender immediately and delete this e-mail in its entirety. Privilege is not waived by reason of mistaken delivery to you. The Bank of Nova Scotia (Scotiabank) and its affiliates accept no liability whatsoever for loss or damage in relation to this e-mail and may monitor, retain and/or review email. Opinions expressed in this e-mail are those of the author and may not represent the opinions of The Bank of Nova Scotia (Scotiabank) and its affiliates. Trading instructions received by e-mail or voicemail will not be acted upon.<BR>
<BR>
To unsubscribe from receiving further Commercial Electronic Messages <A HREF=https://www.unsubscribe.gbm.scotiabank.com/>click here</A>.<BR>
<BR>
Pour obtenir la traduction en français <A HREF=http://www.gbm.scotiabank.com/EmailDisclaimer/French.htm>cliquant ici</A>. <BR>
<BR>
Traducción en español <A HREF=http://www.gbm.scotiabank.com/EmailDisclaimer/Spanish.htm>clic aquí</A>.<BR>
</body>
</html>