<div dir="ltr"><font>I did try the latest ocaml package (4.02.1) when debugging the dllunix.so issue, but had problems, as you mentioned, with othe</font>r packages since it looks like camlp4 has been removed from the latest ocaml version (at least wasn't detected by configure) and is needed.<br><br><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 22, 2014 at 4:06 PM, Markus Hutmacher <span dir="ltr"><<a href="mailto:mailing@markhu.de" target="_blank">mailing@markhu.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 22.10.2014 20:45, schrieb Jason Graham:<br>
<div><div class="h5">> Hi Matteo, thanks very much for preparing the patch.<br>
><br>
> I should also note/clarify that preserving the original ocaml ld.conf file<br>
> fixes the dllunix.so error when building unison. There is still a gtk2<br>
> error during the unison build, but this is addressed in a previous posting:<br>
><br>
><br>
> <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/2014-October/013017.html" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/2014-October/013017.html</a><br>
><br>
> Regards,<br>
> Jason<br>
><br>
> On Wed, Oct 22, 2014 at 11:21 AM, Matteo Bernardini <<br>
> <a href="mailto:matteo.bernardini@gmail.com">matteo.bernardini@gmail.com</a>> wrote:<br>
><br>
>> 2014-10-22 16:39 GMT+02:00 Jason Graham <<a href="mailto:jgraha8@gmail.com">jgraha8@gmail.com</a>>:<br>
>>> Hi all,<br>
>>><br>
>>> When building and installing lablgtk (2.18.0) I've found that the ocaml<br>
>>> ld.conf file located in:<br>
>>><br>
>>>     /usr/lib64/ocaml/ld.conf<br>
>>><br>
>>> is overwritten, thus removing critical library paths. I encountered this<br>
>>> problem when trying to build and install unison (2.40.63) which has the<br>
>>> 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:<br>
>>> 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<br>
>>> lablgtk installation the ocaml ld.conf file contained the following<br>
>> paths:<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<br>
>>> /usr/lib64/ocaml/site-lib/lablgtk2 to the pre-existing ocaml ld.conf<br>
>> file. I<br>
>>> believe the issue may be with the install portion of the<br>
>> ocaml-4.01.0.tar.xz<br>
>>> package, so not sure if would be a SlackBuild configuration issue or an<br>
>>> upstream problem.<br>
>>><br>
>>> Any thoughts, suggestions, or fixes?<br>
>> Hi Jason,<br>
>><br>
>> I tried to prepare a patch for lablgtk (that also updates it to<br>
>> 2.18.2, <a href="http://lablgtk.forge.ocamlcore.org/changes2.txt" target="_blank">http://lablgtk.forge.ocamlcore.org/changes2.txt</a>): I forward<br>
>> everything to the maintainer of ocaml and lablgtk for revision.<br>
>><br>
>> Matteo<br>
>><br>
>> _______________________________________________<br>
>> SlackBuilds-users mailing list<br>
>> <a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.org</a><br>
>> <a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
>> Archives - <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
>> FAQ - <a href="http://slackbuilds.org/faq/" target="_blank">http://slackbuilds.org/faq/</a><br>
>><br>
>><br>
>><br>
</div></div>Hi,<br>
<br>
I couldn't as yet find out why several Ocaml-related packages did not<br>
build correctly with the latest version(s) of ocaml. I did not recognize<br>
the ld.conf issue.<br>
<br>
Thanks for pointing that out. And thanks to Matteo for the patch. I hope<br>
this fixes also the issues I experienced when trying to upgrade the<br>
Ocaml-Slackbuild to the latest version.<br>
<span class="HOEnZb"><font color="#888888"><br>
Markus<br>
<br>
--<br>
<br>
Markus Hutmacher<br>
<br>
<a href="mailto:mailing@markhu.de">mailing@markhu.de</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="http://slackbuilds.org/faq/" target="_blank">http://slackbuilds.org/faq/</a><br>
<br>
</div></div></blockquote></div><br></div>