"Jorge Abrines" curruscataphractus@gmail.com wrote:
Once installed stunnel4 debian package, when I execute stunnel stunnel-mysql-client.conf (given sample) get following errors:
Can't locate strict.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl/5.8/AutoLoader.pm line 3. BEGIN failed--compilation aborted at /usr/share/perl/5.8/AutoLoader.pm line 3. Compilation failed in require at /usr/lib/perl/5.8/POSIX.pm line 7. BEGIN failed--compilation aborted at /usr/lib/perl/5.8/POSIX.pm line 7. Compilation failed in require at /usr/sbin/stunnel line 26. BEGIN failed--compilation aborted at /usr/sbin/stunnel line 26.
Any ideas?
$ dpkg -L stunnel4 | grep ^/usr/sbin/ /usr/sbin/stunnel4 /usr/sbin/stunnel
Maintainer of stunnel4 Debian package decided to change the name of stunnel to /usr/sbin/stunnel4.
/usr/sbin/stunnel is a perl wrapper for compatibility with the obsolete stunnel 3.x syntax.
IMHO it's a bit confusing and should be explained in /usr/share/doc/stunnel4/README.Debian ...
Best regards, Mike