Re: How to set openssl library path during Apache build (on Redhat)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Graeme,

THANKS!

It looks like the /etc/ld.conf.d/openssl.conf was already created, so it works after I did just the /sbin/ldconfig.

Jim


---- Graeme Fowler <graeme@xxxxxxxxxxx> wrote: 
> On Wed, 2008-03-19 at 02:22 -0400, ohaya@xxxxxxx wrote:
> > I can get around this by setting LD_LIBRARY_PATH to /apps/openssl/lib before running apachectl, but this is a bit annoying, so I was wondering if there's a command line parameter that I can set when I do the Apache configure so that the built binaries can be run without setting the LD_LIBRARY_PATH?
> 
> cat <<EOF > /etc/ld.so.conf.d/openssl.conf
> # Path to OpenSSL lib dir
> /apps/openssl/lib
> EOF
> 
> /sbin/ldconfig
> 
> Off you go! You may need to do this for anything else you localise this
> way - if the libs are not in a "standard" path
> (/lib, /usr/lib, /usr/local/lib) then you need an app-specific override
> for them by either using the trick above or setting LD_LIBRARY_PATH. The
> two are synonymous, but the file-based way is more portable.
> 
> Graeme
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux