LDAP with SSL

checking for openssl/ssl.h... no
configure: error: Could not locate TLS/SSL package


when i tried build binary from openldap source, i am getting "Could not locate TLS/SSL package" error.

Here is the command i am using

env CPPFLAGS="-I/openldap/db4/include" LDFLAGS="-L/openldap/db4/lib" ./configure --with-tls=openssl --prefix=/openldap/openldap-install


How do i compile openldap with TLS/SSL support?
linuxpersonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kamran ArshadIT AssociateCommented:
0
arnoldCommented:
Most distros include OpenSSL, your
Remove the cppflags, and ldflags I think that is what prevents the location of SSL.h which should be in /usr/include/ssl.h or add in the two
0
giltjrCommented:
You need to download the source for openssl.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

linuxpersonAuthor Commented:
ldap01:/openldap # ll
total 31688
drwxr-xr-x  3 saibala     1000     4096 Jan 24  2006 MigrationTools-47
-rw-r--r--  1 root       root     21284 Apr  7 05:53 MigrationTools.tar.gz
drwxrwxr-x 72 messagebus users     4096 Apr 12  2010 db-4.8.30
-rw-r--r--  1 root       root  22887305 Apr  3 17:56 db-4.8.30.tar.gz
drwxr-xr-x  6 root       root      4096 Apr 29 22:00 db4
drwxrwxr-x 10       2000  2000     4096 Sep 18  2014 openldap-2.4.40
-rw-r--r--  1 root       root   5641865 Apr  3 18:15 openldap-2.4.40.tgz
drwxr-xr-x 23 root       root      4096 Apr 29 21:53 openssl-0.9.8zf
-rw-r--r--  1 root       root   3822386 Apr 27 20:43 openssl-0.9.8zf.tar.gz

I installed the following openssl . How do i verify if it installed? For RPM i can query using rpm -qa. for open source how do i find?

drwxr-xr-x 23 root       root      4096 Apr 29 21:53 openssl-0.9.8zf
0
giltjrCommented:
You want to install the openssl-devel package for your tartget CPU.  I am assuming a 64-bit Intel so it would be openssl-devel.x86_64.
0
linuxpersonAuthor Commented:
where can i get it
0
giltjrCommented:
What Linux distribution are you running.  If you are running something based on RedHat you should be able to use yum:

yum install openssl-devel.x86_64
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.