X-Recipient: archive-cygwin AT delorie DOT 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 DOT 83457 DOT YahooMailRC AT web80702 DOT mail DOT mud DOT yahoo DOT com> <50919F78 DOT 8060001 AT gmail DOT com> Date: Thu, 1 Nov 2012 13:10:20 -0500 Message-ID: Subject: Re: A problem with perl and cygpixman-1-0.dll From: Reini Urban To: cygwin AT cygwin DOT com Cc: Zdzislaw Meglicki Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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