|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63935 Build fails when enabling openssl
Submitted: 2013-01-07 23:32 UTC Modified: -
Avg. Score:4.2 ± 1.0
Reproduced:8 of 8 (100.0%)
Same Version:3 (37.5%)
Same OS:4 (50.0%)
From: brandono at gmail dot com Assigned:
Status: Open Package: stomp (PECL)
PHP Version: 5.4.10 OS: CentOS 6.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
12 + 49 = ?
Subscribe to this entry?

 [2013-01-07 23:32 UTC] brandono at gmail dot com
When building the Stomp extension, I get the error 

pecl install stomp
OpenSSL install prefix (no to disable SSL support) [/usr] : /usr

configure: error: Cannot find OpenSSL's libraries
ERROR: `/var/tmp/stomp/configure --with-openssl-dir=/usr' failed

Even when openssl-devel is installed on the machine. This is because it is looking 
for library files in /usr/lib instead of /usr/lib64. The following command works. 

pecl install stomp
OpenSSL install prefix (no to disable SSL support) [/usr] : yes

This forces the system to search for libssl which it successfully and rightfully 
finds in /usr/lib64.

Test script:
pecl install stomp


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-02-05 13:09 UTC] vytautas at gimbutas dot net
Same issue happened to me.
CentOS 6.3 with openssl-devel installed.
 [2014-07-23 17:12 UTC] d dot reade at reades dot co dot uk
I have used a workaround for this issue which has been tested on CentOS 6.5 x64:

ln -s /usr/lib64/ /usr/lib/
ln -s /usr/lib64/ /usr/lib/

When you run "pecl install stomp" and press enter when prompted for the OpenSSL path, the build completes.
 [2015-04-23 09:23 UTC] mail at cebe dot cc
As far as I see, you should be able to compile it by adding  --with-libdir=lib64
 [2015-09-04 11:11 UTC] carlos dot nieto at seap dot minhap dot es
I have a similar problem compiling wiht phpize in a Red Hat distro and php version 5.6.8. Packages openssl and openssl-devel are installed, but the compilation of Stomp extension does not found openssl as installed and compiles it without ssl support, reporting the error.

Connection failed: SSL DISABLED

The following work-around can make the compilation activating ssl support

 [2015-09-29 16:45 UTC] markus at freistil dot it
Can reproduce the same behaviour on Ubuntu 12.04 with PHP 5.5.29.

Package libssl-dev is installed and in /usr/include/openssl
I'm doing the installation using `pecl install stomp`

When using --with-openssl-dir=/usr it fails with 

configure: error: Cannot find OpenSSL's libraries

When using --with-openssl-dir=/usr/include/openssl it fails with

configure: error: Cannot find OpenSSL's <evp.h>

evp.h exists at /usr/include/openssl/evp.h

Using --with-openssl-dir=yes works.
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Sep 17 19:01:44 2019 UTC