[syslog-ng] Re: syslog-ng 1.2.22 runtime problems

Chris A. Mattingly chris.mattingly@interpath.net
Mon, 07 Jun 1999 18:17:48 -0400


This is a multi-part message in MIME format.
--------------B38775CE84A38E9615DDADF7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Balazs Scheidler wrote:
> 
> Hi,
> 
> cc-ing to the syslog-ng list.
> 
> > Thank you for implementing compatibility with syslog_door. I've installed
> > syslog-ng files in /usr/local, but I have some problems with a few things.
> >
> > uname -a:
> >
> > SunOS logserver 5.7 Generic sun4m sparc SUNW,SPARCstation-5
> >
> > I start /usr/local/bin/syslog-ng manually. When I do so I get this error
> > message:
> >
> > ld.so.1: /usr/local/bin/syslog-ng: fatal: libol.so.0: open failed: No such
> > file or directory
> > Killed
> >
> > I can get around this (sloppy) by:
> >
> > env LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib /usr/local/bin/syslog-ng
> 
> Yes, you have to either add the /usr/local/lib directory to your
> /etc/ld.so.conf (at least this is the file under Linux), or set the above
> environment variable.

The [best/only] way to fix this with Solaris is as follows:

add "-R/usr/local/lib" to the LDFLAGS in src/Makefile.

The -R option to ld is the Solaris equivalent of editing ld.so.conf
on Linux boxes.

-Chris
-- 
Chris Mattingly                      | chris.mattingly@interpath.net
Systems Engineer                     | (919) 253-6365  [tel]
Interpath Communications, Inc.       | (919) 253-7780  [fax]
--------------B38775CE84A38E9615DDADF7
Content-Type: text/x-vcard; charset=us-ascii;
 name="chris.mattingly.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Chris A. Mattingly
Content-Disposition: attachment;
 filename="chris.mattingly.vcf"

begin:vcard 
n:Mattingly;Chris
tel;fax:(919) 253-7780
tel;work:(919) 253-6365
x-mozilla-html:FALSE
url:http://www.interpath.net/
org:Interpath Communications, Inc.;Internet Services
adr:;;PO Box 13961;RTP;NC;27709-3961;USA
version:2.1
email;internet:chris.mattingly@interpath.net
title:Systems Engineer
x-mozilla-cpt:;8976
fn:Chris Mattingly
end:vcard

--------------B38775CE84A38E9615DDADF7--