Re: the move to stublib
On Thu, Sep 05, 2002 at 05:44:36PM +0200, Sven LUTHER wrote:
[...]
> Right now, ocaml-ldconf does (or should do) as follows :
[...]
> o A new option might be added (-R ?) so that it removes all dirs
> associated with the given package.
Or for each entry listed in /var/lib/dpkg/ld.conf, make sure there are some
stuff there, otherwise delete it (IIRC this is what Stefano suggested).
[...]
> Then, we use :
>
> o in ocaml-base : dh_ocamlld -i -pocaml-base
>
> o in broken libraries : dh_ocamlld -rver.num-deb -pbroken-lib
>
> o in legacy libraries : dh_ocamlld -a -plegacy-lib dir_list
>
> Where ver.num-deb is the first version of this package which fixes the
> problem. We then have some code in the postinst, which will check the
> fixed ver.num-deb against the version to be removed, and call
> ocaml-ldconf -R -pbroken-lib to remove all spurious entries.
Or let ocaml-base run `ocaml-ldconf -R' and that's all, no need to worry
about package versions.
Denis
Reply to: