Hello,

I am currently developing a C++ application with Boost Asio SSL Sockets. Boost 
Asio uses OpenSSL for it's TLS support. My application will be ported to 
Android in the future so I tried to build OpenSSL by myself for my current 
architecture (Linux, Debian, 64bit, VM) in the first run and link it to my 
application. Everything went well until I ran the application. At first I 
received a warning 'no version information found' for OpenSSL. 
I fixed this by providing a version info file like descripted here: 
http://stackoverflow.com/questions/18390833/no-version-information-available. I 
changed the version to 1.0.1, because I use OpenSSL 1.0.1f:

OPENSSL_1.0.1 {
    global:
    *;
};

Now I receive a warning 'version `OPENSSL_1.0.0' not found'. I also saw this 
thread http://openssl.6102.n7.nabble.com/version-script-td63374.html which 
mentions there is a version script patch for debian and ubuntu in order to get 
rid of this warnings. 
Unfortunately now I'm confused, because I'm not very familar with building own 
librarys and linux distributions in general. I don't know how to apply a 
version patch to a library which I build in a custom directory and which will 
be shipped together with my application.  Would it be necessary to apply this 
patch to every device where my app is running? Is this even possible for 
android? 
At the moment I'm using a CMake file to build OpenSSL:

ExternalProject_Add(
  openssl
  SOURCE_DIR ${openssl_src}
  CONFIGURE_COMMAND ${openssl_src}/config no-ssl2 no-ssl3 shared 
--openssldir=${openssl_prefix} -Wl,--version-script=${openssl_src}/openssl.ld
  PREFIX ${openssl_prefix}
  BUILD_COMMAND make
  BUILD_IN_SOURCE 1
  INSTALL_COMMAND make install
)

Is it possible to integrate the patch for 1.0.1f in my build process? Or is 
there a other solution to get rid of this warnings?

Many thanks in advance,
Sandra
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to