<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">It’s my first time that I want to install and use an external Mercury library. I followed the instructions in the user guide but wasn’t successful.<br class=""><br class="">First I installed Julien’s mercury_csv library:<br class="">$ make INSTALL_PREFIX=/Users/dirk/temp/mercury_csv install<br class=""><br class=""><br class="">Then I try to use the library:<br class="">csv-test dirk$ mmc --make infer_desc_ex --ml libmercury_csv --mld /Users/dirk/temp/mercury_csv/lib/mercury<br class="">mercury_compile: error: the library `libmercury_csv' cannot be found in grade `hlc.gc’.<br class=""><br class="">The attached screenshot shows the directory structure of the folder /Users/dirk/temp/mercury_csv. There is a subfolder lib/mercury/lib/hlc.gc which probably holds the library in it.<br class=""><br class="">I use Mercury Compiler version rotd-2015-02-20 on a Mac.<br class=""><br class="">Thank you in advance!<br class=""><br class="">Dirk<div class=""><br class=""></div><div class=""><img apple-inline="yes" id="26F5EDF9-C7CB-45CF-8F4B-3FF69F2A8E98" height="642" width="436" apple-width="yes" apple-height="yes" src="cid:FA64296F-94BE-41D7-94AD-637DD41953A3@fritz.box" class=""></div></body></html>