OCaml Forge
SCM

Detail: [#924] stubs are only searched in /usr/lib/ocaml/stublibs, not in others like /usr/local/lib/...

Bugs: Browse | Download .csv | Monitor

[#924] stubs are only searched in /usr/lib/ocaml/stublibs, not in others like /usr/local/lib/...

Date:
2011-03-07 10:53
Priority:
3
State:
Open
Submitted by:
Pierre Chambart (chambart)
Assigned to:
Sylvain Le Gall (gildor-admin)
Hardware:
None
Resolution:
None
Severity:
None
Version:
v1.0
Component:
None
Operating System:
None
Product:
None
 
URL:
Summary:
stubs are only searched in /usr/lib/ocaml/stublibs, not in others like /usr/local/lib/...

Detailed description
If a package is manually installed or with ocamlfind install, its stubs can't be found by ocsigen-bundler: They are usualy located in /usr/local/lib/ocaml/version/stublibs and ocasigen-bundler has /usr/lib/ocaml/stublibs hardcoded as the only directory.

The list of directories to scan for stubs can be found with Findlib.ocaml_ldconf. This is the name of a file in wich each line is a directory where stubs can be found ( potentially commented by #).

Followup

Message
Date: 2011-03-07 11:32
Sender: Pierre Chambart

This is mine, on debian using the ocaml 3.12 depot
Date: 2011-03-07 11:13
Sender: Sylvain Le Gall

OK. Could you attach an example of this file, so that I can easily test it (I am not used of using it, I generally have a ldconf = ignore).

Attached Files:

Attachments:
ld.conf

Changes:

Field Old Value Date By
File Added114: ld.conf2011-03-07 11:32chambart
assigned_tonone2011-03-07 11:13gildor-admin