-
Notifications
You must be signed in to change notification settings - Fork 357
failure in make build complaining about undefined symbol to python #5
Comments
Can you check your boost version? BVLC caffe requires boost >= 1.55, |
Thank you. Upgrading to boost 1.57 now. |
[exec] CXX src/main/cpp/tools/caffe_mini_cluster.cpp |
After upgrade to boost 1.57 similiar error happened. |
Looks like this comes in due to the option WITH_PYTHON_LAYER in caffe-public/Makefile.config.
|
It looks like a library setting issue. Since we don't use src/main/cpp/tools/caffe_mini_cluster.cpp for spark operation (it is for debugging only), you can just delete it for now and see if the compilation passes. |
I got the same error with libboost_python-py27.so.1.55.0... |
I will send a patch for this soon. Till then you can follow whatever Jun or I comment earlier in this thread. |
This should be solved by the latest merge. Closing it for now. Please reopen if you continue to have problems. |
rm src/main/cpp/tools/caffe_mini_cluster.cpp worked |
* 523b72e support build in mixed protobuf env * 2a83f82 Merge branch 'bluemind' into trlcaffe_merge |\ | * 16ec96f enhance makefile, no functional diff | * 27edffa fix a bug | * 379b673 add parameters for lmdbjni, spark, scala versions | * aa54efe fix a makefile bug which break the build | * 5f9f1ee build with new dli container image with protobuf and liblmdbjni version flexible | * 8356ad4 Merge pull request yahoo#5 from degaochu/bluemind | |\ | | * 316a1bc CaffeOnSpark copy weight file from Caffe is not real copy but move action . Change move file to copy file so that the file can inherit new diretory's acl attibutes | |/ * | 24c7ab2 support migrated BVLC caffe * | 8d26850 ankun's change about supporting NCCL enabled caffe * | 63ecedd switch multigpu to nccl * | f622620 update caffe-public submodule commit to trlmerge_yahoo2 * | 8c8b448 switch caffe-public to trlmerge_yahoo2 |/ * f8143cd pick up last bluemind caffe with fabric changes; switch caffe-public branch to "bluemind" * 2d9b8f0 Merge pull request yahoo#4 from sunweisw/bluemind_v0.3 |\ | * dc4d26f Fix hang issue with multiple gpu |/ * 2627390 Merge pull request yahoo#2 from fuzhiwen/dev |\ | * 224c7a8 S.138410: lmdb enhancement for CaffeOnSpark, migrated to bluemind v0.3 | * effdcff support build CoS with protobuf v3.2 |/ * ef28f91 formally moved to latest community version of caffeOnSpark 19df500 * 2ccaa1d Merge pull request yahoo#1 from sunweisw/merge-hist |\ | * 5d69279 Change for ppc64 env Disable test |/ * 19df500 Merge pull request yahoo#208 from arundasan91/patch-3
[exec] /usr/bin/ld: .build_release/src/main/cpp/tools/caffe_mini_cluster.o: undefined reference to symbol '_ZN5boost6python17error_already_setD1Ev'
[exec] //usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.54.0: error adding symbols: DSO missing from command line
[exec] collect2: error: ld returned 1 exit status
[exec] make[1]: *** [.build_release/src/main/cpp/tools/caffe_mini_cluster.bin] Error 1
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] caffe ............................................. SUCCESS [0.003s]
[INFO] caffe-distri ...................................... FAILURE [47.767s]
[INFO] caffe-grid
The text was updated successfully, but these errors were encountered: