<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 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello all<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am having an issue compiling FLASH 4.6.2 in docker. H5PL is complaining of several undefined references:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><i>/usr/local/lib/libhdf5.a(H5PL.o): In function `H5PL_term_interface':<o:p></o:p></i></p>
<p class="MsoNormal"><i>H5PL.c:(.text+0xa7): undefined reference to `dlclose'<o:p></o:p></i></p>
<p class="MsoNormal"><i>/usr/local/lib/libhdf5.a(H5PL.o): In function `H5PL_load':<o:p></o:p></i></p>
<p class="MsoNormal"><i>H5PL.c:(.text+0x319): undefined reference to `dlsym'<o:p></o:p></i></p>
<p class="MsoNormal"><i>H5PL.c:(.text+0x45c): undefined reference to `dlopen'<o:p></o:p></i></p>
<p class="MsoNormal"><i>H5PL.c:(.text+0x475): undefined reference to `dlsym'<o:p></o:p></i></p>
<p class="MsoNormal"><i>H5PL.c:(.text+0x5a4): undefined reference to `dlclose'<o:p></o:p></i></p>
<p class="MsoNormal"><i>H5PL.c:(.text+0x629): undefined reference to `dlerror'<o:p></o:p></i></p>
<p class="MsoNormal"><i>H5PL.c:(.text+0x83c): undefined reference to `dlclose'<o:p></o:p></i></p>
<p class="MsoNormal"><i>collect2: error: ld returned 1 exit status<o:p></o:p></i></p>
<p class="MsoNormal"><i>make: *** [flash4] Error 1<o:p></o:p></i></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">These seems very similar to the issue faced in this message chain:
<a href="http://flash.uchicago.edu/pipermail/flash-users/2019-July/002968.html">[FLASH-USERS] Problem with MPI while running FLASH in Docker (uchicago.edu)</a><o:p></o:p></p>
<p class="MsoNormal">However, installing zlib1g-dev (<i>sudo apt-get install zlib1g-dev</i>) does not seem to resolve the issue. Any suggestions?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoTableGrid" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td width="529" colspan="2" valign="top" style="width:396.65pt;border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal"><b>Dr. Thomas Clayson</b> <i>PhD<o:p></o:p></i></p>
<p class="MsoNormal">Technology director<o:p></o:p></p>
<p class="MsoNormal">+44 7517 026424<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="143" valign="top" style="width:107.0pt;border:none;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal"><img border="0" width="128" height="54" style="width:1.3333in;height:.5583in" id="Picture_x0020_2" src="cid:image001.png@01D6FB11.E6926D20" alt="A picture containing text
Description automatically generated"><o:p></o:p></p>
</td>
<td width="386" valign="top" style="width:289.65pt;border:none;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal">Magdrive Ltd<o:p></o:p></p>
<p class="MsoNormal">Unit 7 Zephyr <span style="color:#BFBFBF">|</span> Eighth Street
<span style="color:#BFBFBF">|</span> Harwell Campus <span style="color:#BFBFBF">|</span> OX11 0QX<o:p></o:p></p>
<p class="MsoNormal"><a href="http://www.magdrivespace.com/"><span style="color:#0563C1">magdrivespace.com</span></a><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>