From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,222ed89632aabb93 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.82.7 with SMTP id e7mr74264pay.17.1342576395129; Tue, 17 Jul 2012 18:53:15 -0700 (PDT) Path: b9ni157662233pbl.0!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.octanews.net!mauve.octanews.net!216.151.153.9.MISMATCH!border5.newsrouter.astraweb.com!border6.newsrouter.astraweb.com!news.astraweb.com!border6.a.newsrouter.astraweb.com!feed.xsnews.nl!border-3.ams.xsnews.nl!plix.pl!newsfeed2.plix.pl!news.mi.ras.ru!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Free AMD Core Math Library (BLAS/LAPACK) + Ada Date: Sun, 15 Jul 2012 21:41:56 +0100 Organization: A noiseless patient Spider Message-ID: References: <41b74e89-f112-4791-883d-236080652dbf@googlegroups.com> <37b4ba31-245e-44d1-9183-5c3367c88101@googlegroups.com> <2db42c1b-cfd4-4a6f-9e0c-ce269ddf00c5@googlegroups.com> <7cadf109-e24a-45eb-9d7c-354d8899eec4@googlegroups.com> <3f14ee5a-d055-4252-ab45-7ca512a23fac@googlegroups.com> <9cc53435-3c7f-4443-8209-5137b9377aca@googlegroups.com> <583b29e2-3f75-4b0a-8f1a-802b3d6e502c@googlegroups.com> <34139f6f-5905-4c9e-a873-0b2445a1fccd@googlegroups.com> <87txx8yl8t.fsf@ludovic-brenta.org> <87pq7wyek7.fsf@ludovic-brenta.org> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="9bf283a230abc1bf5b8bf7ae893d3723"; logging-data="9378"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fXmcHRrjh4BqQUOoQLcfRdcZ/YoLjXSI=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (darwin) Cancel-Lock: sha1:cEswHUXNh11/FMey+G0+1RKqZrw= sha1:rFLi+OCKn/0KMCquD5HhUvETfCc= X-Received-Bytes: 3570 Content-Type: text/plain Date: 2012-07-15T21:41:56+01:00 List-Id: Ludovic Brenta writes: > Simon Wright writes on comp.lang.ada: >> Thanks for that. We really needed advice from someone who knows. >> >> By way of experiment, I removed liblapack-dev which left >> /usr/lib/liblapack.{a,so} pointing to the now deleted /etc/alternatives/ >> files. So I suppose the /usr/lib files get created when >> update-alternatives is run after a new install of libfoo-dev? > > Correct but only if libfoo-dev participates in the alternatives system. > If the two packages are done > correctly: > > - installing the first -dev package will initialize the alternatives > system and create /usr/lib/liblapack.so to point to > /usr/lib/$package/liblapack.so. > > - installing the second -dev package should ask you whether or not to > change the default to be the new liblapack.so or tell you that it > updated the alternative without asking (in the output of dpkg). > > - uninstalling one of the -dev packages should automatically change the > alternative to point to the remaining liblapack.so; therefore you > should never be left with a dangling symlink. > > If any of these things fail to happen (and you are sure you did not > tamper with symlinks by hand), please file a bug against the -dev > package that you installed or removed last. I think what I did was to uninstall the last -dev package.