You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/10/06 02:27:05 UTC

[GitHub] [incubator-mxnet] szha commented on issue #16380: Fail to build from source on Raspberry Pi

szha commented on issue #16380: Fail to build from source on Raspberry Pi
URL: https://github.com/apache/incubator-mxnet/issues/16380#issuecomment-538705950
 
 
   > /usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libatomic.so.1: error adding symbols: DSO missing from command line
   
   Looks like you need to link the libmxnet to the libatomic (which our cmake failed to do automatically).
   
   I'm still learning cmake so the following represents my best guess. Does it fix the problem if you add the following to the [CMakeLists.txt](https://github.com/apache/incubator-mxnet/blob/master/CMakeLists.txt)?
   ```cmake
   if(ARM)
     list(APPEND mxnet_LINKER_LIBS atomic)
   endif()
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services