text: user9417: I'm having trouble install shapeit4 4.2.2 on my new Mint 21 installation (Ubuntu 22.04 LTS). According to the official docs, the requirements are:
  
  HTSlib: A great C library for reading/writing high-throughput sequencing data.
  BOOST: A free peer-reviewed portable C++ source libraries. SHAPEIT4 uses two specific BOOST libraries: iostreams and program_options.
  
  I installed HTSlib with make and sudo make install, and libboost using its calls ./bootstrap and ./b2 but I still get errors when trying to run the make file for shapeit4:
  /usr/bin/ld: cannot find /home/user/Tools/htslib-1.11/libhts.a: No such file or directory
  /usr/bin/ld: cannot find /usr/lib/x86_64-linux-gnu/libboost_iostreams.a: No such file or directory
  /usr/bin/ld: cannot find /usr/lib/x86_64-linux-gnu/libboost_program_options.a: No such file or directory
  
  
  user3694: Manually editing makefiles is just... ugh. Save yourself the effort and use conda:
  conda create -n shapeit
  conda install -c bioconda shapeit4 -n shapeit
  
  
original_text: 9417: <p>I'm having trouble install shapeit4 4.2.2 on my new Mint 21 installation (Ubuntu 22.04 LTS). <a href="https://odelaneau.github.io/shapeit4/#installation" rel="nofollow noreferrer">According to the official docs</a>, the requirements are:</p>
  <ul>
  <li>HTSlib: A great C library for reading/writing high-throughput sequencing data.</li>
  <li>BOOST: A free peer-reviewed portable C++ source libraries. SHAPEIT4 uses two specific BOOST libraries: iostreams and program_options.</li>
  </ul>
  <p>I installed <a href="http://www.htslib.org/download/" rel="nofollow noreferrer">HTSlib</a> with <code>make</code> and <code>sudo make install</code>, and libboost using its calls <code>./bootstrap</code> and <code>./b2</code> but I still get errors when trying to run the <code>make</code> file for shapeit4:</p>
  <pre><code>/usr/bin/ld: cannot find /home/user/Tools/htslib-1.11/libhts.a: No such file or directory
  /usr/bin/ld: cannot find /usr/lib/x86_64-linux-gnu/libboost_iostreams.a: No such file or directory
  /usr/bin/ld: cannot find /usr/lib/x86_64-linux-gnu/libboost_program_options.a: No such file or directory
  </code></pre>
   3694: <p>Manually editing makefiles is just... ugh. Save yourself the effort and use conda:</p>
  <pre><code>conda create -n shapeit
  conda install -c bioconda shapeit4 -n shapeit
  </code></pre>
  