Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-gfx/digikam-6.4.0 undefined symbol - media-libs/opencv
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2014

PostPosted: Thu Mar 19, 2020 2:36 pm    Post subject: media-gfx/digikam-6.4.0 undefined symbol - media-libs/opencv Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30959
Location: here

PostPosted: Thu Mar 19, 2020 3:09 pm    Post subject: Reply with quote

Try to recompile dev-cpp/tbb and media-libs/opencv
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2014

PostPosted: Fri Mar 20, 2020 1:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30959
Location: here

PostPosted: Fri Mar 20, 2020 1:30 pm    Post subject: Reply with quote

Code:
_ZTIN3tbb4taskE

I see that related to tbb in this line tbb4taskE
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21709

PostPosted: Sat Mar 21, 2020 3:41 am    Post subject: Reply with quote

c++filt can also be helpful:
Code:
$ c++filt
_ZTIN3tbb4taskE
typeinfo for tbb::task
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30959
Location: here

PostPosted: Sat Mar 21, 2020 8:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2014

PostPosted: Sat Mar 21, 2020 10:37 am    Post subject: Reply with quote

I'd just assumed the mangled name was crypto-rubbish. That's two things I learnt yesterday, thanks.
_________________
Greybeard
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21709

PostPosted: Sat Mar 21, 2020 4:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum