ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] ldconfig & symlinks
Date: Mon, 24 Nov 2003 10:29:42 +0300
Message-ID: <20031124072942.GA1743@sirius.home> (raw)
In-Reply-To: <3FC1AEA4.000007.12590@tide.yandex.ru>

[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]

On Mon, Nov 24, 2003 at 10:09:24AM +0300, Alexey Novikov wrote:
> Доброго времени суток!
> 
> Наткнулся тут на одну проблему (раньше я ее почему-то не замечал).
> Итак имеем:
> Master 2.0 + 
> kernel-std-up-2.4.22-alt7(+kernel-modules-nvidia-4496) +
> XFree86-4.3.0(+NVIDIA_GLX +Mesa) +
> WineX-3.0
> 
> В результате, получается, что в /usr/X11R6/lib имеем:
> libGLwrapper.so... (XFree86-libs)
> libGL.so.1.2(XFree86-libs)
> libGL.so.1.4.5...(Mesa)
> libGL.so.nvidia(NVIDIA_GLX)
> 
> Проблема в следующем: если сделать ldconfig (без опции -X), то
> симлинк libGL.so.1 указывает на libGLwrapper, который, как я понимаю,
> грузит свою libGL.so.1.2 и в результате в WineX имеем софтовый рендеринг
> без текстур...:( Если его поправить на libGL.so.nvidia, то все OK.
> Поправить-то его не проблема, но дело в том, что во многих
> rpm-ках (lib<что-то там>.rpm) в post скрипте идет запуск ldconfig
> без параметров, в результате чего линк опять слетает.
> Отсюда два вопроса:
> 1. Откуда ldconfig узнает, что надо создать линк на libGLwrapper?
> 2. Как прибить отдельно взятую symlink, чтобы ldconfig ее не правил?

Дело тут не в этом - по каким-то причинам libGLwrapper не может
определить правильный вариант libGL.  Это и надо лечить - возможно,
обновлением libGLwrapper (раз уж всё остальное из этой области уже
обновлено).

libGLwrapper определяет нужную библиотеку по результату
XvQueryAdaptors (можно посмотреть через xvinfo - для выбора
libGL.so.nvidia в имени должно присутствовать NV).  Кроме того, должно
работать расширение GLX (см. glxinfo).

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-11-24  7:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-24  7:09 Alexey Novikov
2003-11-24  7:29 ` Sergey Vlasov [this message]
2003-11-24  8:04   ` Alexey Novikov
2003-11-24  8:12     ` Sergey Vlasov
2003-11-24 10:59       ` Alexey Novikov
2003-11-25  6:45         ` Alexey Novikov
2003-11-25  7:08           ` Sergey Vlasov
2003-11-25  7:34             ` Alexey Novikov
2003-11-25  8:02               ` Alexey Novikov
2003-11-25  8:23                 ` [Comm] Re: BTS (was: ldconfig & symlinks) Vitaly Ostanin
2003-12-01  5:25                 ` [Comm] ldconfig & symlinks Alexey Novikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031124072942.GA1743@sirius.home \
    --to=vsu@altlinux.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git