[mrtg] Re: problems with libpng.so.2 or ld.so.1

jantos jantos-work at mvweb.de
Fri Jan 19 11:26:24 MET 2001


MARCO ANTONIO MEJIA LARA wrote:

> Hello List, I am Marco Antonio From Mexico, first, I ofered you all my
> apologies for my terrible English, I still having problems with it.
>
> I had  installed MRTg y my server with Solaris 7, and I get a error from
> de mrtg program, i received a message like this.

>
> # ./mrtg ../cfgs/ppas2.cfg
> ld.so.1: /opt/home/soportei/mrtg/mrtg-2.9.7/bin/rateup: fatal:
> libpng.so.2: open
>  failed: No such file or directory
> WARNING: rateup died from Signal 9
>  with Exit Value 0 when doing router 'ppas2_2'
>  Signal was 9, Returncode was 0
> ld.so.1: /opt/home/soportei/mrtg/mrtg-2.9.7/bin/rateup: fatal:
> libpng.so.2: open
>  failed: No such file or directory
> WARNING: rateup died from Signal 9
>  with Exit Value 0 when doing router 'ppas2_3'
>  Signal was 9, Returncode was 0
>
> This tell me that mrtg can not found the librery, but It was installed
> in
> /usr/local/lib

hello,

add

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH

in your /etc/profile

or

start mrtg from a script like
#!/bin/ksh
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH

cd /to/my/mrt/file && ./mrtg ../cfgs/ppas2.cfg




> I do not know what kind of problem it´s, can anybody help me?
>
> thanks a lot.

i hope it helps you.


tony


--
J.A. Simbine, Technik & Entwicklung, MVweb GmbH & Co. KG
Tel: +49 (0)385 3536-309, Fax: +49 (0)385 3536-379, jantos at mvweb.de
Gutenbergstrasse 1, 19061 Schwerin

Sitz der Gesellschaft: Schwerin, HRA 1453
Komplementaerin: MVweb Beteiligungs GmbH, HRB 5811
GF: Tim Arnold, Manfred Christoffer, Dr. Kurt Sabathil

http://www.mvweb.de/ - Mecklenburg-Vorpommern im Internet!




--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list