Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 696086

Summary: sci-libs/tensorflow-2.0.0 /usr/bin/ld: /usr/lib64/libjsoncpp.so.21: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()@GLIBCXX_3.4.26'
Product: Gentoo Linux Reporter: concavemail
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: RESOLVED OBSOLETE    
Severity: normal CC: me
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.tar.gz
emerge --info

Description concavemail 2019-10-02 22:16:25 UTC
This error has persisted at least since version 1.14.0. I suspect it has to do with my enabling of the cuda flag. I have attached my build log and will follow with my emerge info.
Comment 1 concavemail 2019-10-02 22:19:43 UTC
Created attachment 591628 [details]
build.log.tar.gz
Comment 2 concavemail 2019-10-02 22:20:53 UTC
Created attachment 591630 [details]
emerge --info
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-03 03:45:59 UTC
Comment on attachment 591628 [details]
build.log.tar.gz

Why did you store a single file in a tar archive when you can compress the file itself?
Comment 4 concavemail 2019-10-03 11:11:04 UTC
No good reason, I just have never used the gzip command before and thought the compression levels would be about the same either way. Thanks for pointing it out, I will use gzip in the futere.
Comment 5 concavemail 2019-10-10 15:15:02 UTC
Rebuilding jsoncpp with gcc8 allowed tensorflow to build successfully for me.
Comment 6 Jason Zaman gentoo-dev 2019-12-08 10:37:24 UTC
its working then? cuda doesnt support gcc9 yet yeah.