On Tue, 2012-01-31 at 23:26, aco.s wrote: > Dear all, > > I am trying to install SQLBOX but have no success. > > I am trying to do it with SSL support or without SSL support BUT result > is almost the same. As far as other installations are concern OpenSSL > 0.9.8s is working fine, only SQLBOX is having problem... Correct me if I > am wrong!??! ./configure command is doing the same regardless of my > choice with-ssl or without-ssl..... How come? > > One more thing, please, have a look at the bottom of this post for just > one more question.... > > Here are details from installation WITH SSL: > ######################################################### > openSUSE-acer:/usr/local/src/www.kannel.org/Kannel/svn/sqlbox/trunk > # ./configure --prefix=/usr/local/sqlbox > --with-kannel-dir=/usr/local/kannel --enable-ssl > --with-ssl=/usr/local/ssl
You enabled ssl (enable-ssl) and you don't have openssl development installed where Kannel build system expect. Do you install openssl in /usr/local/ssl by hand or your distribution package manager installed it there? > .............. > .............. > Configuring OpenSSL support ... > checking whether to compile with SSL support... > trying /usr/local/ssl/lib /usr/local/ssl/include > checking for openssl... /usr/local/bin/openssl > checking for CRYPTO_lock in -lcrypto... yes > checking for SSL_library_init in -lssl... no > .............. > and it is done ! > ######################################################### > openSUSE-acer:/usr/local/src/www.kannel.org/Kannel/svn/sqlbox/trunk # > make > ....................... > ...................... > /usr/local/ssl/lib/libssl.a(t1_lib.o): In function `tls_decrypt_ticket': > t1_lib.c:(.text+0x80): undefined reference to `HMAC_CTX_init' > t1_lib.c:(.text+0x10b): undefined reference to `HMAC_Update' > t1_lib.c:(.text+0x12e): undefined reference to `HMAC_Final' > t1_lib.c:(.text+0x13a): undefined reference to `HMAC_CTX_cleanup' > ........................ > ........................ > /usr/local/ssl/lib/libssl.a(d1_pkt.o): In function `dtls1_read_bytes': > d1_pkt.c:(.text+0xfb3): undefined reference to `pqueue_pop' > d1_pkt.c:(.text+0xfd6): undefined reference to `pitem_free' > d1_pkt.c:(.text+0x102e): undefined reference to `pqueue_size' > collect2: ld returned 1 exit status > make[2]: *** [sqlbox] Error 1 > make[2]: Leaving directory > `/usr/local/src/www.kannel.org/Kannel/svn/sqlbox/trunk/gw' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/usr/local/src/www.kannel.org/Kannel/svn/sqlbox/trunk' > make: *** [all] Error 2 > openSUSE-acer:/usr/local/src/www.kannel.org/Kannel/svn/sqlbox/trunk # > ########################################### > ########################################### > ########################################### > Here are details from installation WITHOUT SSL: > ######################################################################## > openSUSE-acer:/usr/local/src/www.kannel.org/Kannel/svn/sqlbox/trunk > # ./configure --prefix=/usr/local/sqlbox > --with-kannel-dir=/usr/local/kannel > .................. > .................. > Configuring OpenSSL support ... > checking whether to compile with SSL support... > trying /usr/local/ssl/lib /usr/local/ssl/include/openssl > checking for openssl... /usr/local/bin/openssl > checking for CRYPTO_lock in -lcrypto... yes > checking for SSL_library_init in -lssl... no > ................... > and it is done! > ####################################################################### > openSUSE-acer:/usr/local/src/www.kannel.org/Kannel/svn/sqlbox/trunk # > make > ................... > ................... > /usr/local/ssl/lib/libssl.a(t1_lib.o): In function `tls_decrypt_ticket': > t1_lib.c:(.text+0x80): undefined reference to `HMAC_CTX_init' > t1_lib.c:(.text+0x10b): undefined reference to `HMAC_Update' > t1_lib.c:(.text+0x12e): undefined reference to `HMAC_Final' > t1_lib.c:(.text+0x13a): undefined reference to `HMAC_CTX_cleanup' > t1_lib.c:(.text+0x1dd): undefined reference to `EVP_DecryptUpdate' > t1_lib.c:(.text+0x204): undefined reference to `EVP_DecryptFinal' > ..................... > ..................... > /usr/local/ssl/lib/libssl.a(d1_pkt.o): In function `dtls1_read_bytes': > d1_pkt.c:(.text+0xfb3): undefined reference to `pqueue_pop' > d1_pkt.c:(.text+0xfd6): undefined reference to `pitem_free' > d1_pkt.c:(.text+0x102e): undefined reference to `pqueue_size' > collect2: ld returned 1 exit status > make[2]: *** [sqlbox] Error 1 > make[2]: Leaving directory > `/usr/local/src/www.kannel.org/Kannel/svn/sqlbox/trunk/gw' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/usr/local/src/www.kannel.org/Kannel/svn/sqlbox/trunk' > make: *** [all] Error 2 > openSUSE-acer:/usr/local/src/www.kannel.org/Kannel/svn/sqlbox/trunk # > ####################################################### > ####################################################### > ####################################################### > > As you can see from output of "make" command you can find (among other > errors) line starting with: > /usr/local/ssl/lib/libssl.a(t1_lib.o) > > Now, libssl.a file is located on exactly this location, but file > t1_lib.o and t1_lib.c files are not located anywhere where openssl is > installed, so I suppose "make" command cannot reference this and come > out with an error. > > Just to comment t1_lic.o and t1_lic.c files I have only in source dir of > my openssl (in openssl_source_dir/ssl) but not in installation dir or > anywhere else on filesystem. > > Do I need some development versions of openssl OR anything else ??? > > Thank you. > > > > > > > > > -- Kind regards, Milan -------------------------------------------------- Arvanta, IT Security http://www.arvanta.net Please do not send me e-mail containing HTML code or documents in proprietary format (word, excel, pps and so on)