inconsistency detected by ld so

Я пытаюсь использовать библиотеку виджетов под названием Г для приложения я разрабатываю. Я бег Linux Mint 17. Я установил все библиотеки и я удался построить библиотеку GLV, но когда я пытаюсь использовать одну из образцов , который был построен я получаю эту ошибку разделяемой библиотеки.

Может кто-нибудь помочь мне выяснить, где несоответствие в общей библиотеке приходят?

Больше информации

В файле README написано

Когда я установил GLEW от источника его напечатали список файлов, которые были установлены.

Я проверил, чтобы убедиться, что может быть установлен Glew пакет, но, похоже, нет ни одного.

Я проверил, что были установлены пакеты GLU, но все выглядит нормально здесь.

Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion ‘needed != ((void *)0)’ failed!

Это ошибка в glibc, или коррупция в одном из ваших общих библиотек. Код Glibc гласит:

Ваши варианты в этой точке:

  • переустановка и проверить md5sums для всех библиотек, участвующих, чтобы исключить на диске с коррупцией,
  • установить пакет DebugInfo для glibc, и попытаться понять, какие библиотеки и версия символа запуска утверждения, или
  • сообщить об этом в соответствующем разделе отслеживания ошибок для вашего Linux дистрибутива.

Установка LD_DEBUG=symbols,bindings или даже LD_DEBUG=all может также дать некоторые подсказки о том, какие именно символы просматриваемое.

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

Are you new to LinuxQuestions.org? Visit the following links:
Site Howto | Site FAQ | Sitemap | Register Now

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux — A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author’s experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

I am trying to use a widget library called GLV for an application I am developing. I am running Linux Mint 17. I installed all the libraries and I have succeeded in building the GLV library, but when I try to running one of samples that was built I get this shared library error.

Can anyone help me find out where the inconsistency in the shared library is coming from?

More information

In the README file it says

When I installed GLEW from source it printed a list of files that were installed.

I checked to see if there might be a glew package installed, but it looks like there is none.

I checked what GLU packages were installed but everything looks ok here too.

2 Answers 2

Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion ‘needed != ((void *)0)’ failed!

This is a bug in glibc, or a corruption in one of your shared libraries. The glibc code reads:

Your options at this point are:

  • reinstall and verify md5sums for all libraries involved to rule out on-disk corruption, and
  • install debuginfo package for glibc, and try to understand which library and which symbol version is triggering the assertion, or
  • report this in appropriate bug tracker for your Linux distro.

Setting LD_DEBUG=symbols,bindings or even LD_DEBUG=all may also provide some clues on exactly which symbols are being looked up.

Оцените статью