[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'make install' fails after 'make uninstall', with --enable-ltdl-inst
From: |
Ralf Wildenhues |
Subject: |
Re: 'make install' fails after 'make uninstall', with --enable-ltdl-install |
Date: |
Fri, 13 Nov 2009 19:14:04 +0100 |
User-agent: |
Mutt/1.5.20 (2009-08-09) |
* Bob Friesenhahn wrote on Thu, Nov 12, 2009 at 09:32:37PM CET:
> On Thu, 12 Nov 2009, Ralf Wildenhues wrote:
> >* Bob Friesenhahn wrote on Thu, Nov 12, 2009 at 07:29:53PM CET:
> >>I just noticed something interesting while installing GraphicsMagick.
> >>
> >>GraphicsMagick was configured with --enable-ltdl-install so that it
> >>installed libltdl. After doing 'make install' and 'make uninstall',
> >>a 'make install' fails with this error:
> >
> >Do I assume correctly that, at the time this build tree was configured,
> >there was a prior libltdl installation found below /usr/local?
>
> Yes, that is a correct assumption. While it is correct behavior, it
> may be a surprise that doing 'make uninstall' also uninstalls
> libltdl if it was installed by the build.
One implication of this is that you maybe shouldn't install libltdl
(but either use a pre-installed version, or compile a convenience one
into your application).
Another implication may be that with --enable-ltdl-install, we probably
should always pick the in-tree libltdl, i.e., the one we are going to
install, rather than a preinstalled one. Or something like that,
haven't looked at the code at all yet.
Thanks,
Ralf