<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    thanks Matteo, that did the trick. It looks like part of the build
    process uses already created binaries to process files, and when
    older binaries are already in the path they are used instead, giving
    the error.<br>
    <br>
    It may be worth adding a comment to remove existing version of qemu
    before installing a newer one into the README.<br>
    <br>
    regards, Tim<br>
    <br>
    <div class="moz-cite-prefix">On 20/03/2022 18:31, Matteo Bernardini
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPsDuS5NzNd=0yqbNcJAe4fdUrKOPBZubf9o=MF1Oq+ziMasgQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_default" style="font-size:x-small">have you
          tried removing the already installed qemu package first?<br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Il giorno dom 20 mar 2022 alle
          ore 19:29 Tim Dickson via SlackBuilds-users <<a
            href="mailto:slackbuilds-users@slackbuilds.org"
            moz-do-not-send="true" class="moz-txt-link-freetext">slackbuilds-users@slackbuilds.org</a>>
          ha scritto:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I
          am getting the following error when attempting to create qemu
          package.<br>
          <br>
          /usr/bin/qemu-keymap: error while loading shared libraries: <br>
          libjemalloc.so.1: cannot open shared object file: No such file
          or directory<br>
          <br>
          /usr/lib64/libjemalloc.so links to usr/lib64/libjemalloc.so.2
          so there <br>
          is a libjemalloc installed (part of slackware 15.0).<br>
          It seems that the build script is looking for the wrong
          version of the <br>
          lib. Ideally it would try libjemalloc.so and thus pick up
          whichever <br>
          version was installed.<br>
          Is there a quick fix. (if it involves a sim-link would that
          have to be <br>
          done on target computers as well?)<br>
          regards, Tim<br>
          <br>
          <br>
          -- <br>
          This email has been checked for viruses by AVG.<br>
          <a href="https://www.avg.com" rel="noreferrer" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://www.avg.com</a><br>
          <br>
          _______________________________________________<br>
          SlackBuilds-users mailing list<br>
          <a href="mailto:SlackBuilds-users@slackbuilds.org"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">SlackBuilds-users@slackbuilds.org</a><br>
          <a
            href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
          Archives - <a
            href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
          FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://slackbuilds.org/faq/</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
SlackBuilds-users mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:SlackBuilds-users@slackbuilds.org" moz-do-not-send="true">SlackBuilds-users@slackbuilds.org</a>
<a class="moz-txt-link-freetext" href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" moz-do-not-send="true">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a>
Archives - <a class="moz-txt-link-freetext" href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" moz-do-not-send="true">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a>
FAQ - <a class="moz-txt-link-freetext" href="https://slackbuilds.org/faq/" moz-do-not-send="true">https://slackbuilds.org/faq/</a>

</pre>
    </blockquote>
    <br>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="https://www.avg.com/internet-security">
                                <img border=0 src="https://static.avast.com/emails/avg-mail-stamp.png" alt="AVG logo" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                This email has been checked for viruses by AVG antivirus software.
                                <br><a href="https://www.avg.com/internet-security">www.avg.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>