UNCLASS: Trends on Solaris 8
Hand, Nathan
Nathan.Hand at defence.gov.au
Mon Jan 13 23:47:07 CET 2003
I'm not sure that Solaris uses /etc/ld.so.conf or ldconfig. I certainly
can't find either on my
Solaris 8 or Solaris 9 boxes. There is a /var/ld/ld.config file but it is
not human readable.
I believe the way to do what you want on Solaris is with the crle command.
$ crle
Configuration file: /var/ld/ld.config
Default Library Path (ELF): /usr/lib
$ crle -l /usr/lib:/usr/local/lib
$ crle
Configuration file: /var/ld/ld.config
Default Library Path (ELF): /usr/lib:/usr/local/lib
-----Original Message-----
From: Sean McAvoy [mailto:sean.mcavoy at megawheels.com]
Sent: Tuesday, 14 January 2003 8:41
To: Steve Rossen
Cc: Nagios-users (E-mail)
Subject: RE: [Nagios-users] Trends on Solaris 8
Just one point about copying files into /usr/lib. Usually
/usr/lib is
used for files that belong to packages, not user compiled
packages. This
doesn't break things at all. But it can save troubles in the
future
(i.e. remembering what was copied into /usr/lib, what
version, any other
related files, etc.) if you leave the file in /usr/local/lib
and add the
path to /etc/ld.so.conf, then run `ldconfig`. This tells the
linker to
search /usr/local/lib for libraries to link to when the app
starts. This
can also help you in the future, in that if you compile a
lib that
defaults to /usr/local/lib (which most do) you won't have to
copy files
around.
just my $0.02 (CDN)
-Sean
On Mon, 2003-01-13 at 16:16, Steve Rossen wrote:
> Good point.
>
>
>
> I found after running "ldd statusmap.cgi" that
libpng12.so.0 could not
> be found in /usr/lib. I did a find and found it
/usr/local/lib. I
> simply copied the file to /usr/lib, restarted httpd and it
worked. I
> did run ldd again first to verify that it was found
properly.
>
>
>
> Reference:
http://www.nagios.org/faqs/viewfaq.php?faq_id=119 By
> Russell Scibetti
>
>
>
>
>
> -----Original Message-----
> From: Potter, G M (Greg) [mailto:GPotter at MarathonOil.com]
> Sent: Monday, January 13, 2003 2:42 PM
> To: Steve Rossen
> Cc: Nagios-users (E-mail)
> Subject: RE: [Nagios-users] Trends on Solaris 8
>
>
>
> Steve,
>
>
>
>
>
> Which one was in the wrong directory, where was it and
where did you
> move it to. That info could be helpful for others having
the same
> problem. That is if the SF search ever starts working
again.
>
>
>
>
>
> Greg
>
>
> -----Original Message-----
> From: Steve Rossen
[mailto:Steve.Rossen at Parago.Com]
> Sent: Monday, January 13, 2003 2:11 PM
> To: 'Nagios-users at lists.sourceforge.net'
> Subject: RE: [Nagios-users] Trends on Solaris 8
>
> Well that fixed it. Had one in the wrong dir.
Thanks.
>
>
>
> -----Original Message-----
> From: Russell Scibetti
[mailto:russell at quadrix.com]
> Sent: Monday, January 13, 2003 1:57 PM
> To: Steve Rossen
> Cc: 'Nagios-users at lists.sourceforge.net'
> Subject: Re: [Nagios-users] Trends on Solaris 8
>
>
>
> It probably is a library issue. I got server
error when I had
> wrong versions of some libs. Check out this FAQ I
submitted.
> I could help find the problem.
>
> http://www.nagios.org/faqs/viewfaq.php?faq_id=119
>
> Russell Scibetti
>
>
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from
Thawte
are you planning your Web Server Security? Click here to get
a FREE
Thawte SSL guide and find the answers to all your SSL
security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
More information about the Users
mailing list