On Tue, Aug 14, 2007 at 07:27:09PM -0700, Siddhartha Kasivajhula wrote:
> Here's config.log, with the wrong settings, i.e. with no SSL support.

Thanks! There's an interesting error in it:

...

> configure:20169: checking for pkg-config
> configure:20187: found /usr/bin/pkg-config
> configure:20199: result: /usr/bin/pkg-config
> configure:20228: checking pkg-config is at least version 0.9.0
> configure:20231: result: yes
> configure:20242: checking for LIBP11
> configure:20250: $PKG_CONFIG --exists --print-errors "libp11 >= 0.2.1"
> configure:20253: $? = 0
> configure:20268: $PKG_CONFIG --exists --print-errors "libp11 >= 0.2.1"
> configure:20271: $? = 0
> configure:20347: result: yes
> configure:20411: cc -o conftest -g -I/localpkgs/openssl_install/include  
> -L/localpkgs/openssl_install/lib  conftest.c -lcrypto  >&5
> Undefined                     first referenced
>  symbol                           in file
> socket                              
> /localpkgs/openssl_install/lib/libcrypto.a(rand_egd.o)
> connect                             
> /localpkgs/openssl_install/lib/libcrypto.a(rand_egd.o)
> ld: fatal: Symbol referencing errors. No output written to conftest
> configure:20414: $? = 1
> configure: program exited with status 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "engine_pkcs11"
> | #define PACKAGE_TARNAME "engine_pkcs11"
> | #define PACKAGE_VERSION "0.1.4"
> | #define PACKAGE_STRING "engine_pkcs11 0.1.4"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "engine_pkcs11"
> | #define VERSION "0.1.4"
> | #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 WORDS_BIGENDIAN 1
> | #define HAVE_DLFCN_H 1
> | #define STDC_HEADERS 1
> | #define HAVE_SYS_WAIT_H 1
> | #define HAVE_ERRNO_H 1
> | #define HAVE_FCNTL_H 1
> | #define HAVE_MALLOC_H 1
> | #define HAVE_STDLIB_H 1
> | #define HAVE_INTTYPES_H 1
> | #define HAVE_STRING_H 1
> | #define HAVE_STRINGS_H 1
> | #define HAVE_SYS_TIME_H 1
> | #define HAVE_UNISTD_H 1
> | #define HAVE_LOCALE_H 1
> | #define HAVE_GETOPT_H 1
> | #define HAVE_DLFCN_H 1
> | #define HAVE_UTMP_H 1
> | /* end confdefs.h.  */
> | 
> | #include <string.h>
> | #include <openssl/rand.h>
> | int main(void)
> | {
> |     char a[2048];
> |     memset(a, 0, sizeof(a));
> |     RAND_add(a, sizeof(a), sizeof(a));
> |     return(RAND_status() <= 0);
> | }
> | 
> configure:21015: creating ./config.status


I don't think we've done a lot of build testing on Solaris so that's
probably why -lsocket is missing from that command line.

Now, how to best make sure it goes there, that's another matter.
Ideas?


//Peter
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to