Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ncnn 20230816 linux build failure #4953

Closed
chenrui333 opened this issue Aug 16, 2023 · 3 comments
Closed

ncnn 20230816 linux build failure #4953

chenrui333 opened this issue Aug 16, 2023 · 3 comments

Comments

@chenrui333
Copy link

👋 trying to build the latest release, but run into some build issue. The error log is as below:

error build log
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/g++-11 -O3 -DNDEBUG -rdynamic CMakeFiles/caffe2ncnn.dir/caffe2ncnn.cpp.o CMakeFiles/caffe2ncnn.dir/caffe.pb.cc.o -o caffe2ncnn  -lprotobuf
  /usr/bin/ld: CMakeFiles/caffe2ncnn.dir/caffe.pb.cc.o: undefined reference to symbol '_ZN4absl12lts_2023012512log_internal21CheckOpMessageBuilder7ForVar2Ev'
  /usr/bin/ld: /home/linuxbrew/.linuxbrew/opt/abseil/lib/libabsl_log_internal_check_op.so.2301.0.0: error adding symbols: DSO missing from command line
  collect2: error: ld returned 1 exit status

full build log, https://github.com/Homebrew/homebrew-core/actions/runs/5877560299/job/15943734244
relates to Homebrew/homebrew-core#139679


For now, I just applied some ldflags patch to get it going.

@nihui
Copy link
Member

nihui commented Aug 18, 2023

hi, please test if this pr could fix it
#4955

@nihui
Copy link
Member

nihui commented Aug 22, 2023

resolved in cd1c0d6

@nihui nihui closed this as completed Aug 22, 2023
@felixonmars
Copy link

Confirmed that ncnn 20230816 with #4955 applied builds fine here on Arch against protobuf 24.2. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants