Re: the move to stublib
On Thu, Sep 05, 2002 at 02:42:57PM +0200, Sven LUTHER wrote:
> On Sat, Aug 31, 2002 at 11:54:31AM +0200, Remi VANICAT wrote:
> > Hello,
> >
> > It seem that there is a problem with the move to stublib :
> >
> > - it seem that at its installation, the ocaml package doesn't run
> > ocaml-ldconf any more, leaving the following ld.conf :
> >
> > /build/buildd/ocaml-3.06/debian/ocaml/usr/lib/ocaml/stublibs
> > /build/buildd/ocaml-3.06/debian/ocaml/usr/lib/ocaml
>
> Yes, this is a problem with the dh_ocamlld scripts, which were supposed
> to run ocaml-ldconf even with an empty directory list, but Denis patch
> did not seem to do the job. This is fixed in 3.06-4 and later, by hand
> running ocaml-ldconf in the postinst of ocaml-base.
I will have some free time now to look into this problem.
But why is /var/lib/ocaml/ld.conf a conffile? Looks like a very bad
idea, since user is asked whether he wants to keep his current file.
Instead ocaml-base.postinst should create an empty /var/lib/ocaml/ld.conf
and run ocaml-ldconf.
Denis
Reply to: