[Slackbuilds-users] lablgtk SlackBuilds install overwrites ocaml ld.conf

Jason Graham jgraha8 at gmail.com
Wed Oct 22 14:39:12 UTC 2014

Hi all,

When building and installing lablgtk (2.18.0) I've found that the ocaml
ld.conf file located in:


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:

    ocaml (4.01.0)
    ocaml-findlib (1.4.1)
    lablgtk (2.18.0)

During the unison build the following error is encountered:

    Error: Error on dynamically loaded library: dllunix.so: dllunix.so:
cannot open shared object file: No such file or directory

where dllunix.so is located in /usr/lib64/ocaml/stublibs. Prior to the
lablgtk installation the ocaml ld.conf file contained the following paths:


Once lablgtk is installed, ld.conf then erroneously contains only:


Manually restoring the library paths to:


resolves the unison build.

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.

Any thoughts, suggestions, or fixes?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20141022/2d549fc3/attachment.html>

More information about the SlackBuilds-users mailing list