Thursday, July 25, 2013

Cygwin error for perl /usr/bin/perl.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

Cygwin error for perl  :


/usr/bin/perl.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory


perl -v will throw error :

cygcheck: track_down: could not find cygssp-0.dll

symtom  : Missing libssp0  package from installation .

Fix : Open Cygwin and click on download from internet , search for  libssp0 . If this package was skipped during download/installation before, Install it now and then perl should be fixed .

$ perl -v

This is perl 5, version 14, subversion 4 (v5.14.4) built for cygwin-thread-multi
(with 7 registered patches, see perl -V for more detail)

Copyright 1987-2013, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.