<html 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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<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;}
@font-face
        {font-family:-webkit-standard;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">It's great that cpack can generate different packages - in my case, a .deb file for Debian.</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
<br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">But if you then want to submit the generated .deb file to be part of Debian's official release, you have to run the lintian tool, and make sure you pass its checks. I have managed
 manually to fix some errors in the .deb file (which underneath is just an ar archive), and doubtless other warn ins and errors could be solved using appropriate CPACK_DEBIAN_* options in the CMakeLists.txt file. But I have a couple of errors which I don't
 know how to fix:</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
<br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">E: libsopt3.0: shlib-missing-in-control-file libsopt 3.0 for usr/lib/libsopt.so.3.0.1 </span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">E: libsopt3.0: package-must-activate-ldconfig-trigger usr/lib/libsopt.so.3.0.1</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
<br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">Probably the shilbs file and control file need correcting, but I can't find anything which makes sense to me. Here is the shills file:</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
<br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">libsopt 3 libsopt3.0</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
<br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">And here is the relevant section of the control file:</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
<br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">Package: libsopt3.0</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">Priority: optional</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">#Section: devel</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">Section: libs</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">#Version: 0.1.1</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">Version: 3.0</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
<br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">If anyone can help, I would be very grateful. Are there perhaps CPACK_DEBIAN_* options I could use to solve these issues?</span><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><br>
<br>
</span><span style="font-size:13.5pt;font-family:-webkit-standard;color:black">Thanks</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:-webkit-standard;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:-webkit-standard;color:black">Matthew<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>