Many thanks for your helful replies. The solution was to set the library path, as suggested by Jan-Henrik Haukeland. Not ideal, but it works.
I also tried "LDFLAGS=-L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib" in the ./configure script, but this did not enable the compile-time linking either. Duncan Smith -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jan-Henrik Haukeland Sent: 26 March 2008 12:24 To: This is the general mailing list for monit Subject: Re: [monit] Compiling monit on Solaris9 On 26. mars. 2008, at 13.03, SMITH Duncan wrote: > I get the following error: > > ld.so.1: monit: fatal: libssl.so.0.9.8: open failed: No such file or > directory Killed > > I have the library file libssl.so.0.9.8 in /usr/local/ssl/lib. > > I have tried setting the --with-ssl-dir option to various other > settings such as "/usr/local/ssl" "/usr/local/ssl/bin" etc. > Looks like the runtime linker (ld) cannot find the ssl library. Its been a long time since I used Solaris, but I believe you can export this environment variable, so the dynamic linker will find the ssl library. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ssl/lib Or if Solaris has a ld configure file, such as /etc/ld.so.conf you can add the ssl library there so you do not have to set the environment variable mentioned above. Ps. This means that other applications using ssl should get the same error. Do they? -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System on behalf of Eurostar. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com Important Note: This E-Mail is confidential, it must not be read, copied, disclosed or used by any person other than the above named addressees. Unauthorised use, disclosure or copying is strictly prohibited and may be unlawful. Eurostar (U.K.) Limited and Eurostar Group Limited disclaim any liability for any action taken in reliance on the content of this E-Mail. The comments or statements expressed in this E-Mail are not necessarily those of Eurostar (U.K.) Limited, Eurostar Group Limited or any subsidiaries or affiliates of either company. Eurostar (U.K.) Ltd. Registered Office: Eurostar House, Waterloo Station, London, SE1 8SE, Registered in England No. 2462001 VAT No. GB 657 719 590 Eurostar Group Ltd. Registered office: Eurostar House, Waterloo Station, London, SE1 8SE, Registered in England No. 3794642 VAT No. GB 739 974 173 This email has been scanned for all viruses by the MessageLabs Email Security System on behalf of Eurostar. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general
