Red Hat Bugzilla – Bug 236497
Ocaml links libraries staticly
Last modified: 2008-02-21 09:05:49 EST
In the packaging of ocamlSDL, camlimages and freetennis (#235804, #235805 &
#235815), I discovered issues with how Ocaml links libraries, and Fedora policies.
I've refered this to the fedora-packaging mailing list:
I just thought I'd place a bug here about it (if you agree, it might be an idea
to make my package reviews dependant on this bug).
Policy info regarding static libraries:
What libraries are affected exactly? Unison, for example, is dynamically linked
against the gtk libraries.
Even Unison doesn't link properly to lablgtk, same with freetennis (Bug
#235815), it depends on what labl depends on true, but a true dynamic linked
application SHOULD depend upon the libraries it was built with (seems to be
fairly typical of most ocaml based packages in Fedora that I can find.
For reference: 'ldd /usr/bin/unison | grep labl' returns nothing
So you mean *ocaml* libraries. AFAIK, those can't be shared. It is the problem
of ocaml, no ours, I would say.
I think this bug should be closed, since the issue has had extensive
discussion and is covered in the packaging guidelines for OCaml:
Anyone therefore mind if I close it?