[Slackbuilds-users] mrtg.SlackBuild
Niels Horn
niels.horn at gmail.com
Fri Oct 7 10:31:42 UTC 2011
On Fri, Oct 7, 2011 at 7:27 AM, Matteo Bernardini
<matteo.bernardini at gmail.com> wrote:
> 2011/10/7 Mario <mario at slackverse.org>:
>> Hey everyone,
>>
>> mrtg seems to have problems on 64bit:
>>
>> # mrtg
>> Can't locate MRTG_lib.pm in @INC (@INC contains: /usr/bin/../lib/mrtg2
>> /usr/bin /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi
>> /usr/lib64/perl5/site_perl/5.12.3
>> /usr/lib64/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi
>> /usr/lib64/perl5/vendor_perl/5.12.3
>> /usr/lib64/perl5/5.12.3/x86_64-linux-thread-multi /usr/lib64/perl5/5.12.3
>> /usr/lib64/perl5/site_perl/5.10.0 /usr/lib64/perl5/site_perl
>> /usr/lib64/perl5/vendor_perl .) at /usr/bin/mrtg line 89.
>> BEGIN failed--compilation aborted at /usr/bin/mrtg line 89.
>>
>> After doing the ugliest of hacks:
>>
>> # ln -s /usr/lib64/mrtg2 /usr/lib/mrtg2
>>
>> This is the result:
>>
>> # mrtg
>> Usage: mrtg <config-file>
>
> personally added this sed after the make install
>
> sed -i "s/lib\${/lib${LIBDIRSUFFIX}\${/" $PKG/usr/bin/mrtg
>
> Matteo
> _______________________________________________
Copying the maintainer...
--
Niels Horn
More information about the SlackBuilds-users
mailing list