Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478490 - dev-libs/icu - /usr/lib64/libicui18n.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'
Summary: dev-libs/icu - /usr/lib64/libicui18n.so: undefined reference to `operator del...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 480008 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-28 18:45 UTC by Robert
Modified: 2015-05-20 21:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,7.50 KB, text/plain)
2013-07-28 18:46 UTC, Robert
Details
emerge -pqv (emerge-qpv.txt,228 bytes, text/plain)
2013-07-28 18:46 UTC, Robert
Details
build log (build.txt,15.63 KB, text/plain)
2013-07-28 18:48 UTC, Robert
Details
build log for DevIL which fails the same way (devil-build.log,103.10 KB, text/plain)
2013-07-29 00:27 UTC, Robert
Details
libxml2 shows a very similar error, no libstdc++.so.6 (libxml2-build.log,71.44 KB, text/x-log)
2013-07-29 04:34 UTC, Robert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2013-07-28 18:45:37 UTC
After updating media-libs/ilmbase to 2.0.1 from 2.0.0 yesterday a lot of stuff needed to be rebuild to link against the new files, so I started doing so, one of them is DevIL which now cannnot find libstdc++ but I  said ok, maybe things will work themselves out as they usually do with these problems in gentoo so I just continued on my updating, which after updating ICU to 51.2 I needed to rebuild sqlite, but now sqlite can't find libstdc++.so.6 (which is where it should be and pointing to libstdc++.so.6.0.17) so I thought I would post this on bugs.gentoo since no one else has this problem evidently, or they know how to fix it. I dont know because all the fixes  I come to online have something to do with the wrong symlink being in place which it is not wrong, its just as it should be.

Build log, emerge --info and emerge -pqv are attached, thanks for any help in advance.
Comment 1 Robert 2013-07-28 18:46:22 UTC
Created attachment 354420 [details]
emerge --info
Comment 2 Robert 2013-07-28 18:46:37 UTC
Created attachment 354422 [details]
emerge -pqv
Comment 3 Robert 2013-07-28 18:48:11 UTC
Created attachment 354424 [details]
build log
Comment 4 Robert 2013-07-28 18:50:16 UTC
What I am talking about is these lines:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libicui18n.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libicui18n.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'

but libstdc++.so.6 IS there and linked properly for ALL versions of gcc installed, this is ridiculous.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-28 20:35:06 UTC
Rebuild dev-libs/icu.
Comment 6 Robert 2013-07-29 00:17:43 UTC
No this is not resolved, rebuilding ICU did nothing to fix the problem, ICU builds just fine, but then sqlite says the icu file cant find libstdc++.so.6, for DevIL it has --nothing-- to do with ICU and fails on a similar message about not finding libstdc++.so.6. Sorry to change the status here but that does not fix the problem. If it would be helpful I'll throw the DevIL compile log up here too so you can see multiple packages were affected right after updating media-libs/ilmbase to 2.0.1.
Comment 7 Robert 2013-07-29 00:27:04 UTC
Created attachment 354466 [details]
build log for DevIL which fails the same way

This program fails to find libstdc++.so.6 as well but has nothing to do with ICU, this time its a media-libs/ilmbase file that cant find the library, and no rebuilding ilmbase will not fix the problem.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-29 00:35:52 UTC
(In reply to Robert from comment #7)
> Created attachment 354466 [details]
> build log for DevIL which fails the same way
> 
> This program fails to find libstdc++.so.6 as well but has nothing to do with
> ICU, this time its a media-libs/ilmbase file that cant find the library, and
> no rebuilding ilmbase will not fix the problem.

Rebuild media-libs/openexr, then.
Comment 9 Robert 2013-07-29 01:41:09 UTC
I just rebuild media-libs/openexr and the same error happens with DevIL... Im not sure what openexr has to do with sqlite failing though... Im sure there are more packages affected by this if I where to go through them.. If I can do anything else on my end to help diagnosing this problem please let me know and Ill get it posted asap.
Comment 10 Robert 2013-07-29 01:51:52 UTC
Also wanted to say I rebuild gcc:4.7 and 4.6 last night to rebuild libstdc++, so thats not it either.... just retried sqlite, same error...
Comment 11 Robert 2013-07-29 04:34:39 UTC
Created attachment 354482 [details]
libxml2 shows a very similar error, no libstdc++.so.6

So I started to go through the other packages like I said and libxml2 will fail with a very similar message, but it seems to have something to do with icu this time as well. The error is:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /usr/lib64/libicuuc.so, not found (try using -rpath or -rpath-link)
/usr/lib64/libicuuc.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'

libicuuc.so might be icu integration for libxml2, not sure but any way this is definitely a large problem.....
Comment 12 Robert 2013-07-30 18:02:03 UTC
no one has any ideas on this? should I reboot and reinstall? When I downgraded ilmbase openexr and icu thing still fail to build, devil, sqlite and libxml2 still fail.
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-07 12:45:41 UTC
*** Bug 480008 has been marked as a duplicate of this bug. ***
Comment 14 Andreas K. Hüttel archtester gentoo-dev 2014-12-29 18:11:18 UTC
No clue at all what happens here. Do you still have this problem?
Comment 15 Andreas K. Hüttel archtester gentoo-dev 2015-02-08 21:14:14 UTC
(In reply to Andreas K. Hüttel from comment #14)
> No clue at all what happens here. Do you still have this problem?

No response
Comment 16 Matt Whitlock 2015-05-20 21:29:06 UTC
See Bug 549994 for a solution.