FS#67449 - [tensorflow] incompatible with openssl
Attached to Project:
Community Packages
Opened by Nicola (drakkan) - Friday, 31 July 2020, 12:48 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 11 August 2020, 12:00 GMT
Opened by Nicola (drakkan) - Friday, 31 July 2020, 12:48 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 11 August 2020, 12:00 GMT
|
Details
Description:
Tensorflow is incompatible with any library that use openssl. It includes boringssl and if you link your application with Qt and tensorflow and/or with curl and tensorflow it will not work. Is it possible to build tensorflow against system openssl and/or without boringssl support? Steps to reproduce: Please try the attached reproducer, in Qt 5.15 the message is self-explanatory, in previous versions it crashed |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Tuesday, 11 August 2020, 12:00 GMT
Reason for closing: Fixed
Tuesday, 11 August 2020, 12:00 GMT
Reason for closing: Fixed
--config=noaws --config=nogcp --config=nohdfs
this way boringssl will not be statically linked
$ tensorboard --logdir gs://logbucket/path
will not work. With updated version, it gives the error:
tensorflow.python.framework.errors_impl.UnimplementedError: File system scheme 'gs' not implemented (file: 'gs://logbucket/path')
Loading remote datasets from GCS or S3 also won't work.
As recommended in the same issue, we can (and should) also unbundle all those stuff that are redundant in libtensorflow. The libraries which can be unbundled can be found here: https://github.com/tensorflow/tensorflow/blob/master/third_party/systemlibs/syslibs_configure.bzl
$ ldd /usr/lib/libtensorflow.so
now lists more shared libraries linked to it.
Apart from that, I see that the dependencies like protobuf, grpc etc are not unbundled. I tried unbundling those, which caused build errors. I suspect that's the reason you didn't do that.