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?

-- 
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-mxnet/issues/17783#issuecomment-750312180

Reply via email to