Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Inconsistency detected by ld.so: dl-version.c
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Crimjob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 111

PostPosted: Tue Nov 04, 2014 12:02 am    Post subject: [SOLVED] Inconsistency detected by ld.so: dl-version.c Reply with quote

Hello All!

I can't figure out what I've done here. In an attempt to update some packages and perform a perl-cleaner --all, I've hit a massive wall with Freetype. I've tried the majority of the solutions on Google that make sense, but most of the related results came back as nVidia issues (not related to my issue).

Running perl-cleaner --all wants me to first install freetype, but doing it manually / removing it / trying other versions etc. etc. is all failing with the "Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!"

Code:
>>> Downloading 'ftp://mirrors.tera-byte.com/pub/gentoo/distfiles/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://gentoo.mirrors.tera-byte.com/distfiles/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'ftp://gentoo.arcticnetwork.ca/pub/gentoo/distfiles/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/distfiles/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://gentoo.arcticnetwork.ca/distfiles/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/distfiles/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://colocrossing.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://hivelocity.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://optimate.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://internode.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://tcpdiag.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://waia.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://softlayer.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://cznic.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://kaz.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://switch.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://jaist.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://ignum.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://nchc.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://ufpr.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://freefr.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://ncu.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://sunet.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://waix.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://aarnet.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://dfn.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://heanet.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://netcologne.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://kent.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://surfnet.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://iweb.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
>>> Downloading 'http://garr.dl.sourceforge.net/freetype/freetype-2.5.3.tar.bz2'
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
!!! Couldn't download 'freetype-2.5.3.tar.bz2'. Aborting.
 * Fetch failed for 'media-libs/freetype-2.5.3-r1', Log file:
 *  '/var/tmp/portage/portage/media-libs/freetype-2.5.3-r1/temp/build.log'


Can anyone help point me in the right direction?

Thanks in advanced for reading!
_________________
"Who are you to judge the life I live? I know I'm not perfect and I don't live to be, but before you start pointing fingers... make sure your hands are clean." ~Bob Marley


Last edited by Crimjob on Wed Nov 05, 2014 11:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Tue Nov 04, 2014 3:14 pm    Post subject: Reply with quote

It looks like broken dynamic links for wget.

Please do the following as your build user (probably root):

Code:
ldd `which wget`


Code:
echo $LD_LIBRARY_PATH


I want to see how your wget application is linked and if you are doing anything funny with LD_LIBRARY_PATH. I feel like I say this a lot, but running this wouldn't hurt either:

Code:
revdep-rebuild -p


Please share the output of all run commands. Thanks!

EDIT: Have you recently changed profiles or use flags and not yet run a full emerge -uDN world?
_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Back to top
View user's profile Send private message
Crimjob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 111

PostPosted: Tue Nov 04, 2014 4:11 pm    Post subject: Reply with quote

Thanks RazielFMX!

Sounds like you're on the right track!

I agree - I was starting to feel like it was pretty much unrelated to Freetype and more related to some part of the emerge process in general.

Code:
~ # ldd `which wget`
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!


Code:
~ # echo $LD_LIBRARY_PATH


(result was just a blank line / empty variable)

revdep-rebuild -p comes back with a few minor errors but these existed before (I tried removing memcache but these still occur)
Code:
~ # revdep-rebuild -p
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 9% ]  *   broken /usr/bin/lib/libapr_memcache.la (requires /usr/lib64/libgdbm.la)
[ 97% ]  *   broken /usr/local/lib64/libapr_memcache.la (requires /usr/lib64/libgdbm.la)
[ 100% ]
 * Generated new 3_broken.rr
 * Assigning files to packages
 *  !!! /usr/bin/lib/libapr_memcache.la not owned by any package is broken !!!
 *   /usr/bin/lib/libapr_memcache.la -> (none)
 *  !!! /usr/local/lib64/libapr_memcache.la not owned by any package is broken !!!
 *   /usr/local/lib64/libapr_memcache.la -> (none)
 * Generated new 4_raw.rr and 4_owners.rr
 * Found some broken files, but none of them were associated with known packages
 * Unable to proceed with automatic repairs.
 * The broken files are listed in 4_owners.rr


I've been trying to do a revdep-rebuild among other things but I'm hitting that wall with wget.

I was doing an "emerge -uDNav world" originally. I cloned this system from another, both were at the same kernel / patch / etc.. I performed the update on the original host and it went off without a hitch, but when I went to do it on the cloned machine, I ran into issues. I've been messing around with this thing for a few days now, so I can't remember 100% where it died (I know the world update is still partially incomplete, but most of what's left is Perl related). No profile or major use changes (I might have added some minor stuff to package.use, but nothing in make.conf).

My initial thought would be to just re-emerge wget, but that empty LD_LIBRARY_PATH has me concerned now.

What do you think?
_________________
"Who are you to judge the life I live? I know I'm not perfect and I don't live to be, but before you start pointing fingers... make sure your hands are clean." ~Bob Marley
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Tue Nov 04, 2014 4:56 pm    Post subject: Reply with quote

I'm happy LD_LIBRARY_PATH is empty; it should be.

As for the best way to clone a system... I'm not sure. What I do know is that you have packages installed that portage doesn't know about. Did you clone everything including /var?
_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Back to top
View user's profile Send private message
Crimjob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 111

PostPosted: Tue Nov 04, 2014 5:00 pm    Post subject: Reply with quote

I re-emerged wget and things seem to be rolling once again. I was able to solve some of the other issues now that I can use emerge again.

I used mkstage4 to clone the system, it would have only excluded /var/log, /var/tmp, /var/db & /var/cache/edb. The rest of /var should remain intact.
_________________
"Who are you to judge the life I live? I know I'm not perfect and I don't live to be, but before you start pointing fingers... make sure your hands are clean." ~Bob Marley
Back to top
View user's profile Send private message
Crimjob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 111

PostPosted: Wed Nov 05, 2014 11:03 pm    Post subject: Reply with quote

Thank you Raziel!

I was able to sort everything out and the box is quite happy now :)
_________________
"Who are you to judge the life I live? I know I'm not perfect and I don't live to be, but before you start pointing fingers... make sure your hands are clean." ~Bob Marley
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Thu Nov 06, 2014 1:53 pm    Post subject: Reply with quote

Excellent! You are most welcome.
_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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