[ don't post to me, I'm subscribed to list and don't top-post in mailing
 list (it is rude at least) ]

On Wed, 2012-02-01 at 09:59, aco.s wrote:
> Hello,
> 
> I have installed openssl-0.9.8s installed from distribution package !
> 
> Need development version ???

Of course, you must have development (openssl-dev or however it is named
in Suse).

> What about this issue with ./configure command (output is the same
> regardless with/without ssl)???

If you didn't installed development in /usr/local/ssl you shouldn't have  
--with-ssl=/usr/local/ssl
as ./configure parameter. 

Distribution package manager usually install all files under /usr
Check if you have /usr/include/openssl directory and header files there,
and libssl.a somewhere under /usr/lib
 
> thank you.
> 
> 
> 
> On Wed, 2012-02-01 at 09:28 +0100, Aleksandar SMOLOVIC wrote:
> > 
> > --------------------------------------------------
> > From: "Milan P. Stanic" <m...@arvanta.net>
> > Sent: Wednesday, February 01, 2012 12:43 AM
> > To: <users@kannel.org>
> > Subject: Re: SQLBOX - make error - ssl/nossl
> > 
> > > 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)
> > > 
> 
> 

-- 
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)

Reply via email to