View previous topic :: View next topic |
Author |
Message |
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2014
|
Posted: Thu Mar 19, 2020 2:36 pm Post subject: media-gfx/digikam-6.4.0 undefined symbol - media-libs/opencv |
|
|
I'm getting the following error on my updated digikam: Code: | digikam: symbol lookup error: /usr/lib64/libopencv_core.so.3.4: undefined symbol: _ZTIN3tbb4taskE | I'd be grateful for any suggestions what might be wrong. I sort of assume it's something in my environment rather than a bug in the digikam build. Can't see anything current about it on the web. _________________ Greybeard |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30959 Location: here
|
Posted: Thu Mar 19, 2020 3:09 pm Post subject: |
|
|
Try to recompile dev-cpp/tbb and media-libs/opencv _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2014
|
Posted: Fri Mar 20, 2020 1:25 pm Post subject: |
|
|
fedeliallalinea,
I owe you a pint! How did you work out the tbb bit? I'd tried recompiling opencv without success! _________________ Greybeard |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30959 Location: here
|
Posted: Fri Mar 20, 2020 1:30 pm Post subject: |
|
|
I see that related to tbb in this line tbb4taskE _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21709
|
Posted: Sat Mar 21, 2020 3:41 am Post subject: |
|
|
c++filt can also be helpful: Code: | $ c++filt
_ZTIN3tbb4taskE
typeinfo for tbb::task
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30959 Location: here
|
Posted: Sat Mar 21, 2020 8:44 am Post subject: |
|
|
Hu wrote: | c++filt can also be helpful: Code: | $ c++filt
_ZTIN3tbb4taskE
typeinfo for tbb::task
|
|
Thank you Hu, I didn't know this command. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2014
|
Posted: Sat Mar 21, 2020 10:37 am Post subject: |
|
|
I'd just assumed the mangled name was crypto-rubbish. That's two things I learnt yesterday, thanks. _________________ Greybeard |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21709
|
Posted: Sat Mar 21, 2020 4:29 pm Post subject: |
|
|
c++filt can be given a symbol to demangle as an argument, or can be run without arguments to demangle each symbol given on stdin. In the example I pasted, I used stdin out of habit. The utility of this depends on the mangled symbol. For a library like tbb, where the authors used a C++ namespace, it works well. Library authors are not required to choose good names, so you might some day see a missing symbol init_algorithms(std::string) or similar. If the missing symbol is too generic, a follow-up Internet search may be required to figure out what library provides it. |
|
Back to top |
|
|
|