<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title xmlns:ns="http://www.w3.org/2005/Atom" ns:type="text">“Missing dependency on a foreign library” – Haskell – Aelve Guide</title><id>https://guide.aelve.com/haskell/feed/category/vf6h3d0p</id><updated>2019-01-13T04:48:43Z</updated><link xmlns:ns="http://www.w3.org/2005/Atom" ns:href="https://guide.aelve.com/haskell/feed/category/vf6h3d0p"/><entry><id>mv7jipt4</id><title xmlns:ns="http://www.w3.org/2005/Atom" ns:type="text">&#34;setup: Can&#39;t find OpenSSL library&#34; or &#34;Missing (or bad) header file: openssl/evp.h&#34;</title><updated>2019-01-13T04:48:43Z</updated><content xmlns:ns="http://www.w3.org/2005/Atom" ns:type="html">&lt;h1&gt;  &lt;span class=&#34;item-name&#34;&gt;&amp;quot;setup: Can&amp;#39;t find OpenSSL library&amp;quot; or &amp;quot;Missing (or bad) header file: openssl/evp.h&amp;quot;&lt;/span&gt;

&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;macOS: &lt;code&gt;brew install openssl&lt;/code&gt;. Then, if you&#39;re using Stack, add to your &lt;code&gt;~/.stack/config.yaml&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&#34;sourceCode&#34;&gt;&lt;pre class=&#34;sourceCode&#34;&gt;&lt;code class=&#34;sourceCode&#34;&gt;&lt;span class=&#34;fu&#34;&gt;extra-include-dirs:&lt;/span&gt;
&lt;span class=&#34;kw&#34;&gt;-&lt;/span&gt; /usr/local/opt/openssl/include

&lt;span class=&#34;fu&#34;&gt;extra-lib-dirs:&lt;/span&gt;
&lt;span class=&#34;kw&#34;&gt;-&lt;/span&gt; /usr/local/opt/openssl/lib&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content><link xmlns:ns="http://www.w3.org/2005/Atom" ns:href="https://guide.aelve.com/haskell/missing-dependency-on-a-foreign-library-vf6h3d0p#item-mv7jipt4"/></entry><entry><id>a06pn7xw</id><title xmlns:ns="http://www.w3.org/2005/Atom" ns:type="text">Missing C libraries: icuuc, icui18n, icudata</title><updated>2018-11-01T12:24:16Z</updated><content xmlns:ns="http://www.w3.org/2005/Atom" ns:type="html">&lt;h1&gt;  &lt;span class=&#34;item-name&#34;&gt;Missing C libraries: icuuc, icui18n, icudata&lt;/span&gt;

&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Ubuntu: &lt;code&gt;apt install libicu-dev&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;macOS: &lt;code&gt;brew install icu4c&lt;/code&gt;. Then, if you&#39;re using Stack, add to your &lt;code&gt;~/.stack/config.yaml&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&#34;sourceCode&#34;&gt;&lt;pre class=&#34;sourceCode&#34;&gt;&lt;code class=&#34;sourceCode&#34;&gt;&lt;span class=&#34;fu&#34;&gt;extra-include-dirs:&lt;/span&gt;
&lt;span class=&#34;kw&#34;&gt;-&lt;/span&gt; /usr/local/opt/icu4c/include

&lt;span class=&#34;fu&#34;&gt;extra-lib-dirs:&lt;/span&gt;
&lt;span class=&#34;kw&#34;&gt;-&lt;/span&gt; /usr/local/opt/icu4c/lib&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content><link xmlns:ns="http://www.w3.org/2005/Atom" ns:href="https://guide.aelve.com/haskell/missing-dependency-on-a-foreign-library-vf6h3d0p#item-a06pn7xw"/></entry><entry><id>muvmosw4</id><title xmlns:ns="http://www.w3.org/2005/Atom" ns:type="text">Missing C library: pq</title><updated>2018-11-01T12:21:53Z</updated><content xmlns:ns="http://www.w3.org/2005/Atom" ns:type="html">&lt;h1&gt;  &lt;span class=&#34;item-name&#34;&gt;Missing C library: pq&lt;/span&gt;

&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;Ubuntu: &lt;code&gt;apt install libpq-dev&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link xmlns:ns="http://www.w3.org/2005/Atom" ns:href="https://guide.aelve.com/haskell/missing-dependency-on-a-foreign-library-vf6h3d0p#item-muvmosw4"/></entry><entry><id>n25kwsca</id><title xmlns:ns="http://www.w3.org/2005/Atom" ns:type="text">Missing C library: uuid</title><updated>2018-09-12T19:09:51Z</updated><content xmlns:ns="http://www.w3.org/2005/Atom" ns:type="html">&lt;h1&gt;  &lt;span class=&#34;item-name&#34;&gt;Missing C library: uuid&lt;/span&gt;

&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;Ubuntu: &lt;code&gt;apt install uuid-dev&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link xmlns:ns="http://www.w3.org/2005/Atom" ns:href="https://guide.aelve.com/haskell/missing-dependency-on-a-foreign-library-vf6h3d0p#item-n25kwsca"/></entry><entry><id>azxp9x1e</id><title xmlns:ns="http://www.w3.org/2005/Atom" ns:type="text">configure: error: curses library not found, so this package cannot be built</title><updated>2018-04-21T17:32:47Z</updated><content xmlns:ns="http://www.w3.org/2005/Atom" ns:type="html">&lt;h1&gt;  &lt;span class=&#34;item-name&#34;&gt;configure: error: curses library not found, so this package cannot be built&lt;/span&gt;

&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;Fedora: &lt;code&gt;dnf install ncurses-devel&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link xmlns:ns="http://www.w3.org/2005/Atom" ns:href="https://guide.aelve.com/haskell/missing-dependency-on-a-foreign-library-vf6h3d0p#item-azxp9x1e"/></entry><entry><id>xwau0cgu</id><title xmlns:ns="http://www.w3.org/2005/Atom" ns:type="text">Missing C library: lzma</title><updated>2018-04-21T17:09:02Z</updated><content xmlns:ns="http://www.w3.org/2005/Atom" ns:type="html">&lt;h1&gt;  &lt;span class=&#34;item-name&#34;&gt;Missing C library: lzma&lt;/span&gt;

&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Fedora: &lt;code&gt;dnf install xz xz-devel&lt;/code&gt; (yes, not &lt;code&gt;lzma-devel&lt;/code&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Ubuntu: &lt;code&gt;apt install liblzma-dev&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content><link xmlns:ns="http://www.w3.org/2005/Atom" ns:href="https://guide.aelve.com/haskell/missing-dependency-on-a-foreign-library-vf6h3d0p#item-xwau0cgu"/></entry><entry><id>einm3hok</id><title xmlns:ns="http://www.w3.org/2005/Atom" ns:type="text">Missing C library: stdc++</title><updated>2018-04-21T13:22:47Z</updated><content xmlns:ns="http://www.w3.org/2005/Atom" ns:type="html">&lt;h1&gt;  &lt;span class=&#34;item-name&#34;&gt;Missing C library: stdc++&lt;/span&gt;

&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Fedora: &lt;code&gt;dnf install gcc-c++&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Alpine: &lt;code&gt;apk add g++&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content><link xmlns:ns="http://www.w3.org/2005/Atom" ns:href="https://guide.aelve.com/haskell/missing-dependency-on-a-foreign-library-vf6h3d0p#item-einm3hok"/></entry><entry><id>r5ze19cq</id><title xmlns:ns="http://www.w3.org/2005/Atom" ns:type="text">Missing C library: z</title><updated>2018-04-21T13:21:54Z</updated><content xmlns:ns="http://www.w3.org/2005/Atom" ns:type="html">&lt;h1&gt;  &lt;span class=&#34;item-name&#34;&gt;Missing C library: z&lt;/span&gt;

&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;Fedora: &lt;code&gt;dnf install zlib-devel&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Ubuntu: &lt;code&gt;apt install zlib1g-dev&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link xmlns:ns="http://www.w3.org/2005/Atom" ns:href="https://guide.aelve.com/haskell/missing-dependency-on-a-foreign-library-vf6h3d0p#item-r5ze19cq"/></entry><entry><id>ax9owjww</id><title xmlns:ns="http://www.w3.org/2005/Atom" ns:type="text">Missing C libraries: eay32, ssl32</title><updated>2017-05-15T12:44:18Z</updated><content xmlns:ns="http://www.w3.org/2005/Atom" ns:type="html">&lt;h1&gt;  &lt;span class=&#34;item-name&#34;&gt;Missing C libraries: eay32, ssl32&lt;/span&gt;

&lt;/h1&gt;&lt;p&gt;This one usually appears on Windows. The solution is to install OpenSSL (here&#39;s an &lt;a href=&#34;http://slproweb.com/products/Win32OpenSSL.html&#34;&gt;installer for Windows&lt;/a&gt;) and point GHC to it: &lt;code&gt;--extra-include-dirs=/c/OpenSSL-Win64/include --extra-lib-dirs=/c/OpenSSL-Win64&lt;/code&gt;.&lt;/p&gt;
</content><link xmlns:ns="http://www.w3.org/2005/Atom" ns:href="https://guide.aelve.com/haskell/missing-dependency-on-a-foreign-library-vf6h3d0p#item-ax9owjww"/></entry><entry><id>d7nm0j88</id><title xmlns:ns="http://www.w3.org/2005/Atom" ns:type="text">Missing C library: rocksdb</title><updated>2017-05-15T12:36:41Z</updated><content xmlns:ns="http://www.w3.org/2005/Atom" ns:type="html">&lt;h1&gt;  &lt;span class=&#34;item-name&#34;&gt;Missing C library: rocksdb&lt;/span&gt;

&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Ubuntu: &lt;code&gt;apt install librocksdb-dev&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Arch: install &lt;code&gt;rocksdb&lt;/code&gt; from AUR (you should also install &lt;code&gt;jemalloc&lt;/code&gt; first because RocksDB is more stable when compiled with &lt;code&gt;jemalloc&lt;/code&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content><link xmlns:ns="http://www.w3.org/2005/Atom" ns:href="https://guide.aelve.com/haskell/missing-dependency-on-a-foreign-library-vf6h3d0p#item-d7nm0j88"/></entry><entry><id>b0tl9amd</id><title xmlns:ns="http://www.w3.org/2005/Atom" ns:type="text">Missing C library: crypto</title><updated>2017-05-15T12:34:46Z</updated><content xmlns:ns="http://www.w3.org/2005/Atom" ns:type="html">&lt;h1&gt;  &lt;span class=&#34;item-name&#34;&gt;Missing C library: crypto&lt;/span&gt;

&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Ubuntu: &lt;code&gt;apt install libssl-dev&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Fedora: &lt;code&gt;dnf install openssl-devel&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content><link xmlns:ns="http://www.w3.org/2005/Atom" ns:href="https://guide.aelve.com/haskell/missing-dependency-on-a-foreign-library-vf6h3d0p#item-b0tl9amd"/></entry></feed>