leezu commented on issue #17783:
URL:
https://github.com/apache/incubator-mxnet/issues/17783#issuecomment-750312180
I downloaded the `mxnet-2.0-20201222.141246-19-linux-x86_64.jar` and find
that
```
% ldd org/apache/mxnet/internal/c_api/linux-x86_64/libmxnet.so
/tmp/lin
linux-vdso.so.1 (0x00007fff65fdc000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f46015a3000)
libgfortran.so.3 => not found
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f4601598000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f4601575000)
libgomp.so.1 => /lib/x86_64-linux-gnu/libgomp.so.1
(0x00007f4601533000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f4601352000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4601201000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f46011e6000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4600ff4000)
/lib64/ld-linux-x86-64.so.2 (0x00007f460b892000)
```
As `libgfortran` has changed their ABI a few times over the years, you will
need to include `libgfortran.so` in the `jar` (which we can distribute under
AL2 License thanks to the [GCC Runtime Library
Exception](https://www.gnu.org/licenses/gcc-exception-3.1.en.html)). However,
you must not include `libquadmath.so` (dependency of `libgfortran.so`) as it is
GPL licensed.
For the gpu version `mxnet-2.0-20201222.141246-19-linux-x86_64-gpu.jar`,
would it make sense to use `cu110` instead of `gpu` if built with cuda 11.0 etc?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]