<div dir="ltr">Hi all,<br><br>When building and installing lablgtk (2.18.0) I've found that the ocaml ld.conf file located in:<br><br>    /usr/lib64/ocaml/ld.conf <br><br>is overwritten, thus removing critical library paths. I encountered this problem when trying to build and install unison (2.40.63) which has the following set of SlackBuild dependencies:<br><br>    ocaml (4.01.0) <br>    ocaml-findlib (1.4.1) <br>    lablgtk (2.18.0) <br><br>During the unison build the following error is encountered:<br><br>    Error: Error on dynamically loaded library: dllunix.so: dllunix.so: cannot open shared object file: No such file or directory<br><br>where dllunix.so is located in /usr/lib64/ocaml/stublibs. Prior to the lablgtk installation the ocaml ld.conf file contained the following paths:<br><br>    /usr/lib64/ocaml/stublibs<br>    /usr/lib64/ocaml<br>    /usr/lib64/ocaml/site-lib/stublibs<br><br>Once lablgtk is installed, ld.conf then erroneously contains only:<br><br>    /tmp/SBo/package-lablgtk/usr/lib64/ocaml/site-lib/lablgtk2<br><br>Manually restoring the library paths to:<br><br>    /usr/lib64/ocaml/stublibs<br>    /usr/lib64/ocaml<br>    /usr/lib64/ocaml/site-lib/stublibs   <br>    /usr/lib64/ocaml/site-lib/lablgtk2<br><br>resolves the unison build. <br><br>The required fix to the lablgtk SlackBuild would seem be to append /usr/lib64/ocaml/site-lib/lablgtk2 to the pre-existing ocaml ld.conf file. I believe the issue may be with the install portion of the ocaml-4.01.0.tar.xz package, so not sure if would be a SlackBuild configuration issue or an upstream problem.<br><br>Any thoughts, suggestions, or fixes?<br><br>Regards,<br>Jason<br><br><br><br>    <br></div>