Bug 236497 - Ocaml links libraries staticly
Ocaml links libraries staticly
Product: Fedora
Classification: Fedora
Component: ocaml (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Gérard Milmeister
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-04-15 08:26 EDT by Nigel Jones
Modified: 2008-02-21 09:05 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-21 09:05:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nigel Jones 2007-04-15 08:26:45 EDT

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:
Comment 1 Gérard Milmeister 2007-04-17 17:16:58 EDT
What libraries are affected exactly? Unison, for example, is dynamically linked
against the gtk libraries.
Comment 2 Nigel Jones 2007-04-17 19:02:54 EDT
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
Comment 3 Gérard Milmeister 2007-04-17 19:49:12 EDT
So you mean *ocaml* libraries. AFAIK, those can't be shared. It is the problem
of ocaml, no ours, I would say.
Comment 4 Richard W.M. Jones 2007-07-25 10:35:13 EDT
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?

Note You need to log in before you can comment on or make changes to this bug.