X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-4.8 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YG
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <50919F78.8060001@gmail.com>
References: <1351718694.83457.YahooMailRC@web80702.mail.mud.yahoo.com>	<50919F78.8060001@gmail.com>
Date: Thu, 1 Nov 2012 13:10:20 -0500
Message-ID: <CAHiT=DFrVmJqqC7PGDpmEP8HMg+vQTySHa51zr9ZWEiRAjNDFQ@mail.gmail.com>
Subject: Re: A problem with perl and cygpixman-1-0.dll
From: Reini Urban <rurban@x-ray.at>
To: cygwin@cygwin.com
Cc: Zdzislaw Meglicki <zdzisiekm@sbcglobal.net>
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, Oct 31, 2012 at 5:00 PM, marco atzeri wrote:
> On 10/31/2012 10:24 PM, Zdzislaw Meglicki wrote:
>>
>>    > funny, I build it but forgot and never installed. At least you can
>> remove
>>    > the third one.
>>
>> Err... which is the third one? Let me list the three here and you tell me
>> which
>> can be removed:
>
>
> to know if a file belongs to any package, use:
>
> cygcheck -f name_with_path
>
> $ cygcheck -f
> /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/Graphics/Magick/Magick.dll
> perl-Graphics-Magick-1.3.16-1
>
>
>>
>> $ pwd
>> /usr/lib/perl5
>> $ find . -name Magick.dll -print
>> ./site_perl/5.14/i686-cygwin-threads-64int/auto/Image/Magick/Magick.dll
>>
>> ./vendor_perl/5.14/i686-cygwin-threads-64int/auto/Graphics/Magick/Magick.dll
>> ./vendor_perl/5.14/i686-cygwin-threads-64int/auto/Image/Magick/Magick.dll
>> $
>>
>> Is the one in site_perl superfluous or the ones in vendor_perl? Will perl
>> scripts
>> automatically switch to the one left?
>
> I guess so

No.

You cannot just delete an shared perl library.
If you delete ./site_perl/5.14/i686-cygwin-threads-64int/auto/Image/Magick/Magick.dll
you also need to delete the according pm's, which are listed in the .packlist.

Perl searches the @INC path for libraries. site_perl comes before
vendor_perl. So if you delete
./site_perl/5.14/i686-cygwin-threads-64int/auto/Image/Magick/Magick.dll
alone, your Image::Magic will be
broken until you reinstall it via CPAN or delete totally via .packlist.
-- 
Reini Urban
http://cpanel.net/   http://www.perl-compiler.org/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

