RE: How do I pick up correct version of SSL

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

 



How about if you set LD_LIBRARY_PATH prior to running ldd?

i.e. LD_LIBRARY_PATH=<your_path_to_libssl.so>:$LD_LIBRARY_PATH ldd
mod_ssl.so

Not 100% sure on Linux but on Solaris you can pass -R<prefix>/lib with
LDFLAGS when you build - do any Linux-heads know any similar tricks?
________________________________

      From: Paul Jacques <devexplorer@xxxxxxxxxxx> [mailto:Paul Jacques
<devexplorer@xxxxxxxxxxx>]
      Sent: 25 February 2010 10:46
      To: users@xxxxxxxxxxxxxxxx
      Subject: RE:  How do I pick up correct version of SSL


      You are right, I ran it against httpd

      The output of ldd on mod_ssl.so is:
          libldap_r.so.2 => /lib/libldap_r.so.2 (0x40160000)
          liblber.so.2 => /lib/liblber.so.2 (0x4018c000)
          libc.so.6 => /lib/i686/libc.so.6 (0x40196000)
          libsasl.so.7 => /usr/lib/libsasl.so.7 (0x402d1000)
          libkrb4.so.2 => /usr/kerberos/lib/libkrb4.so.2 (0x402dc000)
          libdes425.so.3 => /usr/kerberos/lib/libdes425.so.3 (0x402f0000)
          libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x402f5000)
          libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3
(0x4034d000)
          libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x4035e000)
          libssl.so.2 => /lib/libssl.so.2 (0x40361000)
          libcrypto.so.2 => /lib/libcrypto.so.2 (0x4038e000)
          /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
          libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40451000)
          libdl.so.2 => /lib/libdl.so.2 (0x40459000)
          libcrypt.so.1 => /lib/libcrypt.so.1 (0x4045d000)
          libpam.so.0 => /lib/libpam.so.0 (0x4048a000)
          libresolv.so.2 => /lib/libresolv.so.2 (0x40492000)

      In my test before, I exported already the path in envar...

      Thanks,

      P.

      > Date: Thu, 25 Feb 2010 10:22:07 +0000
      > To: users@xxxxxxxxxxxxxxxx
      > From: daniel.goulder@xxxxxxxxx
      > Subject: RE:  How do I pick up correct version of SSL
      >
      >
      >
      >
      > ________________________________
      >
      > From: Paul Jacques <devexplorer@xxxxxxxxxxx> [mailto:Paul Jacques
      > <devexplorer@xxxxxxxxxxx>]
      > Sent: 25 February 2010 09:15
      > To: users@xxxxxxxxxxxxxxxx
      > Subject: RE:  How do I pick up correct version of SSL
      >
      >
      >
      > Dears,
      >
      > I rebuilt the openssl 0.9.8k with so and installed it at
      > /usr/local/ssl
      >
      > I also add the path in front of LD_LIBRARY_PATH.
      >
      > The ldd does not show libssl library, may be due to the fact that
is
      > using DSO...
      > libm.so.6 => /lib/i686/libm.so.6 (0x4002d000)
      > libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0
      > (0x40050000)
      > libexpat.so.0 => /usr/local/apache2/lib/libexpat.so.0
      > (0x4006a000)
      > libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0
      > (0x40086000)
      > libpthread.so.0 => /lib/i686/libpthread.so.0 (0x400a8000)
      > librt.so.1 => /lib/librt.so.1 (0x400bd000)
      > libcrypt.so.1 => /lib/libcrypt.so.1 (0x400d0000)
      > libdl.so.2 => /lib/libdl.so.2 (0x400fd000)
      > libc.so.6 => /lib/i686/libc.so.6 (0x40101000)
      > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
      >
      > The map file under proc is still showing:
      > /proc/17730/maps:40526000-40529000 rw-p 00029000 03:01 416496
      > /lib/libssl.so.0.9.6b
      >
      > How can I make apache to use the library in /usr/local/ssl iso
      > /lib/libssl.so.0.9.6b?
      > Does DSO automatically add /lib in library path?
      >
      > Regards,
      >
      > P.
      >
      > ________________________________
      >
      > You will need to check the ldd output from the mod_ssl.so in the
Apache
      > modules directory. Looks like you have done it against the httpd
binary.
      > Also, I think the right place to set/change LD_LIBRARY_PATH is in
the
      > envvars file in the Apache /bin directory...
      >
      > Please send us the output of ldd mod_ssl.so (unless of course you
have
      > built it statically which is not always a good idea)
      >
      >
      >
      >
      >
______________________________________________________________________
      > This e-mail and any attached files are intended for the named
addressee only. It contains information, which may be confidential and
legally privileged and also protected by copyright. Unless you are the
named addressee (or authorised to receive for the addressee) you may not
copy or use it, or disclose it to anyone else. If you received it in error
please notify the sender immediately and then delete it from your system.
Please be advised that the views and opinions expressed in this e-mail may
not reflect the views and opinions of Associated Newspapers Limited or any
of its subsidiary companies. We make every effort to keep our network free
from viruses. However, you do need to check this e-mail and any attachments
to it for viruses as we can take no responsibility for any computer virus
which may be transferred by way of this e-mail. Use of this or any other
e-mail facility signifies consent to any interception we might lawfully
carry out to prevent abuse of these faciliti
      > es.
      > Associated Newspapers Ltd. Registered Office: Northcliffe House, 2
Derry St, Kensington, London, W8 5TT. Registered No 84121 England.
      >
      >
---------------------------------------------------------------------
      > 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
      >


________________________________

      Hotmail: Free, trusted and rich email service. Get it now.
<https://signup.live.com/signup.aspx?id=60969>

______________________________________________________________________
      This email has been scanned by the MessageLabs Email Security System.
      For more information please visit http://www.messagelabs.com/email

______________________________________________________________________




______________________________________________________________________
This e-mail and any attached files are intended for the named addressee only. It contains information, which may be confidential and legally privileged and also protected by copyright. Unless you are the named addressee (or authorised to receive for the addressee) you may not copy or use it, or disclose it to anyone else. If you received it in error please notify the sender immediately and then delete it from your system. Please be advised that the views and opinions expressed in this e-mail may not reflect the views and opinions of Associated Newspapers Limited or any of its subsidiary companies. We make every effort to keep our network free from viruses. However, you do need to check this e-mail and any attachments to it for viruses as we can take no responsibility for any computer virus which may be transferred by way of this e-mail. Use of this or any other e-mail facility signifies consent to any interception we might lawfully carry out to prevent abuse of these faciliti
 es.
Associated Newspapers Ltd. Registered Office: Northcliffe House, 2 Derry St, Kensington, London, W8 5TT. Registered No 84121 England.

---------------------------------------------------------------------
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