This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A problem with perl and cygpixman-1-0.dll


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]