New question

jo smith joblow7777 at yahoo.com
Tue Sep 3 19:22:15 CEST 2002


Hi Jason.

So are you saying to add a line like this (hope this
email doesn't line break, but the following is one
long line):

PassEnv LD_LIBRARY_PATH
/usr/local/lib:/usr/openwin/lib:/usr/ucblib

to the httpd.conf file?  Just wanted to make sure I
have the syntax correct.

--- Jason Marshall <jasonm at kelman.com> wrote:
> Now you need to add the directory that libucb is in
> to the SetEnv line you
> just added -- actually, you might be better off just
> doing an "echo
> $LD_LIBRARY_PATH" in your shell, and setting the
> LD_LIBRARY_PATH in
> httpd.conf to that value, minus any stuff you know
> you don't need in
> there.
> 
> > I put those lines into the httpd.conf file.  I'm
> > getting this error now:
> > 
> > ld: warning: file libucb.so.1: required by
> >
>
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so,
> > not found
> > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  trends.c
> getcgi.o
> > cgiutils.o auth.o popen.o  ../common/objects.c
> > ../xdata/xodtemplate.c ../common/statusdata.c
> > ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg -o
> > trends.cgi
> > ld: warning: file libucb.so.1: required by
> >
>
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so,
> > not found
> > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  histogram.c
> > getcgi.o cgiutils.o auth.o popen.o 
> > ../common/objects.c ../xdata/xodtemplate.c
> > ../common/statusdata.c ../xdata/xsddefault.c -lgd
> -lz
> > -lm -lpng -ljpeg -o histogram.cgi
> > ld: warning: file libucb.so.1: required by
> >
>
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so,
> > not found
> > 
> > Now what?  THanks for all the help!
> > --- jo smith <joblow7777 at yahoo.com> wrote:
> > > Any place in particular in the httpd.conf file? 
> Or
> > > can it go anywhere?
> > > --- Olaf Greis <greis at grinco.de> wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > > 
> > > > Try to place one of the following lines into
> your
> > > > httpd.conf
> > > > 
> > > > PassEnv LD_LIBRARY_PATH
> > > > or
> > > > SetEnv LD_LIBRARY_PATH /usr/local/lib
> > > > 
> > > > brdgs
> > > >   olaf
> > > > 
> > > > Am Montag, 2. September 2002 00:44 schrieb jo
> > > smith:
> > > > > Well, I've been able to narrow down my error
> by
> > > > > looking at the apache error logs.  Here's
> what
> > > > apache
> > > > > is saying when I click on the statusmap
> > > hyperlink:
> > > > >
> > > > > ld.so.1: statusmap.cgi: fatal:
> libpng12.so.0:
> > > open
> > > > > failed: No such file or directory
> > > > > [Sat Aug 31 09:04:36 2002] [error] [client
> > > > > 199.181.234.155] Premature end of script
> > > headers:
> > > > > /usr/local/nagios/sbin/statusmap.cgi
> > > > > ld.so.1: statusmap.cgi: fatal:
> libpng12.so.0:
> > > open
> > > > > failed: No such file or directory
> > > > > [Sat Aug 31 21:26:08 2002] [error] [client
> > > > > 199.181.234.90] Premature end of script
> headers:
> > > > > /usr/local/nagios/sbin/statusmap.cgi
> > > > >
> > > > > libpng12.s0.0 is in /usr/local/lib and
> > > > /usr/local/lib
> > > > > is in my LD_LIBRARY_PATH, but yet the
> > > > statusmap.cgi
> > > > > binary is created.  Why do I get a
> statusmap.cgi
> > > > > binary created even though this library
> seems to
> > > > be
> > > > > missing.  What gives?  I'm not a software
> > > engineer
> > > > :-(
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: GnuPG v1.0.6 (GNU/Linux)
> > > > Comment: For info see http://www.gnupg.org
> > > > 
> > > >
> > >
> >
>
iD8DBQE9cxhV6M72XLtdDtsRAmPkAJ4+17QIsuFiCkAybC8u8BWqp3BvqQCdHsFa
> > > > qm2HLQ/92ELp5wktg56KOW0=
> > > > =8Kow
> > > > -----END PGP SIGNATURE-----
> > > > 
> > > > 
> > > > 
> > > >
> > >
> >
>
-------------------------------------------------------
> > > > This sf.net email is sponsored by: OSDN -
> Tired of
> > > > that same old
> > > > cell phone?  Get a new here for FREE!
> > > >
> > >
> >
>
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > > >
> _______________________________________________
> > > > Nagios-users mailing list
> > > > Nagios-users at lists.sourceforge.net
> > > >
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > 
> > > 
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Finance - Get real-time stock quotes
> > > http://finance.yahoo.com
> > > 
> > > 
> > >
> >
>
-------------------------------------------------------
> > > This sf.net email is sponsored by: OSDN - Tired
> of
> > > that same old
> > > cell phone?  Get a new here for FREE!
> > >
> >
>
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Finance - Get real-time stock quotes
> > http://finance.yahoo.com
> > 
> > 
> >
>
-------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of
> that same old
> > cell phone?  Get a new here for FREE!
> >
>
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> 
> ---
> Jason Marshall, Unix Geek, Kelman Technologies,
> Inc., Calgary, AB, Canada.
> 
>   From a Sun Microsystems bug report (#4102680):
>     "Workaround: don't pound on the mouse like a
> wild monkey."
> 
>   "I have great faith in fools: 
>      Self confidence my friends call it."  -Edgar
> Allan Poe
> 
> 
> 
> 
>
-------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of
> that same old
> cell phone?  Get a new here for FREE!
>
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list