www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: Cannot build libssh2

Re: Cannot build libssh2

From: Hiran Chaudhuri <hiran.chaudhuri_at_amadeus.com>
Date: Mon, 17 Sep 2012 09:38:31 +0200

On Sun, 16 Sep 2012, Daniel Stenberg wrote:
>On Thu, 13 Sep 2012, Hiran Chaudhuri wrote:
>
>> Still the error remains, and I am wondering what the script is actually

>> looking for. Could there be a bug as it might still try to find
something on
>> the 'standard' path?
>
>Dig into the config.log file after the failure and see the details of
what
>failed.

So this is the snippet I think shows most. However it does not mention any
paths, but the openssl/ssl.h file was not found. However it definitely
resides in the path that I specified.
So the file /ama/wh/bin/httpd-1447/openssl/include/openssl/ssl.h exists,
and /ama/wh/bin/httpd-1447/openssl is the path I specified.

configure:13252: checking for shared library run path origin
configure:13265: result: done
configure:13770: checking for libssl
configure:13789: gcc -o conftest -g -O2 conftest.c -lssl -lcrypto >&5
conftest.c:24:25: error: openssl/ssl.h: No such file or directory
configure:13789: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libssh2"
| #define PACKAGE_TARNAME "libssh2"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "libssh2 -"
| #define PACKAGE_BUGREPORT "libssh2-devel_at_cool.haxx.se"
| #define PACKAGE_URL ""
| #define PACKAGE "libssh2"
| #define VERSION "-"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LONGLONG 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <openssl/ssl.h>
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:13799: result: no
configure:14357: error: cannot find OpenSSL or Libgcrypt,
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH

Hiran Chaudhuri
System Support Programmer / Analyst
IT Service Assurance
Hosting & Regional Services (IH)
Amadeus Data Processing GmbH
Berghamer Strasse 6
85435 Erding
T: +49-8122-43x3662
hiran.chaudhuri_at_amadeus.com
http://www.amadeus.com

IMPORTANT - CONFIDENTIALITY NOTICE - This e-mail is intended only for
the use of the individual or entity shown above as addressees. It may
contain information which is privileged, confidential or otherwise
protected from disclosure under applicable laws. If the reader of this
transmission is not the intended recipient, you are hereby notified that
any dissemination, printing, distribution, copying, disclosure or the
taking of any action in reliance on the contents of this information is
strictly prohibited. If you have received this transmission in error,
please immediately notify us by reply e-mail or using the address below
and delete the message and any attachments from your system.

Amadeus Data Processing GmbH
Geschäftsführer: Eberhard Haag
Sitz der Gesellschaft: Erding
HR München 48 199
Berghamer Strasse 6
85435 Erding
Germany

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

picture
Received on 2012-09-17

the libssh2 team