[petsc-dev] PetscSSLDestroyContext

Barry Smith bsmith at mcs.anl.gov
Tue Feb 17 13:47:46 CST 2015


> On Feb 17, 2015, at 1:39 PM, Mark Adams <mfadams at lbl.gov> wrote:
> 
> Well, actually it is not fixed.  It does work with --with-ssl=0.  it configures and make fine but I get unresolved externals when I build.
> Mark

  Please send ALL the output from when it fails when you "build" including the complete link line of what it is trying to link.

  Barry

> 
> On Tue, Feb 17, 2015 at 2:15 PM, Mark Adams <mfadams at lbl.gov> wrote:
> I pulled and it is OK now.
> 
> On Tue, Feb 17, 2015 at 12:32 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
>    Please send configure.log and make.log When do you get this error? Making the PETSc library? Making the PETSc test? Making application?
> 
>   Yes you can configure with --with-ssl=0  but please send all the data first so we can see what goes wrong.
> 
>   Barry
> 
> 
> > On Feb 17, 2015, at 10:59 AM, Mark Adams <mfadams at lbl.gov> wrote:
> >
> > I started getting this error on Edison at NERSC.  Should I configure with --with-ssl=0​ ?
> >
> > Mark
> >
> > /global/homes/m/madams/petsc_master/arch-xc30-opt64-intel/lib/libpetsc.a(send.o): In function `PetscOpenSocket':
> > /global/u2/m/madams/petsc_master/src/sys/classes/viewer/impls/socket/send.c:(.text+0xc8): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
> > /global/homes/m/madams/petsc_master/arch-xc30-opt64-intel/lib/libpetsc.a(client.o): In function `PetscSSLDestroyContext':
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x12): undefined reference to `SSL_CTX_free'
> > /global/homes/m/madams/petsc_master/arch-xc30-opt64-intel/lib/libpetsc.a(client.o): In function `PetscHTTPSRequest':
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x60): undefined reference to `SSL_write'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x6e): undefined reference to `SSL_get_error'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0xcb): undefined reference to `SSL_read'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0xdb): undefined reference to `SSL_get_error'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0xef): undefined reference to `SSL_shutdown'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x20d): undefined reference to `SSL_free'
> > /global/homes/m/madams/petsc_master/arch-xc30-opt64-intel/lib/libpetsc.a(client.o): In function `PetscHTTPSConnect':
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x1b8e): undefined reference to `SSL_new'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x1b9b): undefined reference to `BIO_new_socket'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x1ba9): undefined reference to `SSL_set_bio'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x1bb1): undefined reference to `SSL_connect'
> > /global/homes/m/madams/petsc_master/arch-xc30-opt64-intel/lib/libpetsc.a(client.o): In function `PetscSSLInitializeContext':
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x24a1): undefined reference to `SSLv23_method'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x24a9): undefined reference to `SSL_CTX_new'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x24c0): undefined reference to `SSL_CTX_ctrl'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x24d0): undefined reference to `SSL_library_init'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x24d5): undefined reference to `SSL_load_error_strings'
> > /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x24e3): undefined reference to `BIO_new_fp'
> > /usr/bin/ld: link errors found, deleting executable `xgca'
> > make: *** [xgca] Error 1
> >
> 
> 
> 
> <configure.log>




More information about the petsc-dev mailing list