mysql-snmp icon indicating copy to clipboard operation
mysql-snmp copied to clipboard

missed packages

Open velimir opened this issue 11 years ago • 2 comments

I've tried to install package on a fresh system and got:

Starting Mysql SNMP Agent: Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::FastCalc at /usr/sbin/mysql-snmp line 38
Can't locate DBI.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/sbin/mysql-snmp line 450.
Perl script also requires modules libmath-bigint-gmp-perl, libdbd-pg-perl and libdbd-mysql-perl.
Starting Mysql SNMP Agent: Can't locate DBD/mysql.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/sbin/mysql-snmp line 451.

Fixed that by installing libmath-bigint-gmp-perl, libdbd-pg-perl and libdbd-mysql-perl packages

velimir avatar Feb 04 '14 11:02 velimir

I'd glad to fix that and create pull request, but unfortunately I'm not so familiar with packaging.

velimir avatar Feb 04 '14 11:02 velimir

Thanks for reporting this issue! You are right we are missing some dependencies in debian/control(the first one is actually optional). I'll try to push a fix for this during the week-end.

masterzen avatar Feb 07 '14 07:02 masterzen