Bug 236497 - Ocaml links libraries staticly
Summary: Ocaml links libraries staticly
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml   
(Show other bugs)
Version: 6
Hardware: All Linux
Target Milestone: ---
Assignee: Gérard Milmeister
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-04-15 12:26 UTC by Nigel Jones
Modified: 2008-02-21 14:05 UTC (History)
0 users

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

Attachments (Terms of Use)

Description Nigel Jones 2007-04-15 12:26:45 UTC

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 21:16:58 UTC
What libraries are affected exactly? Unison, for example, is dynamically linked
against the gtk libraries.

Comment 2 Nigel Jones 2007-04-17 23:02:54 UTC
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 23:49:12 UTC
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 14:35:13 UTC
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.