ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Re: ld -L/usr/X11R6/lib как передать это в  ./configure
Date: Sun, 11 Nov 2001 11:19:27 +0300
Message-ID: <20011111111927.B23132@localhost.localdomain> (raw)
In-Reply-To: <3BEDD2E8.1070208@altlinux.ru>

Hello DH,

On Sun, Nov 11, 2001 at 04:22:48AM +0300, DH wrote:
>
> AVL wrote:
> 
> >On Fri, 09 Nov 2001 02:54:02 +0300
> >DH <dh@altlinux.ru> wrote:
> >
> >
> >>AVL wrote:
> >>
> >>
> >>>есть стандартный метод добавить путь в поиск библиотек.
> >>>уже который раз собираю прогу и натыкаюсь на один и тотже сценарий.
> >>>./configure
> >>>.....
> >>>checking for glBegin in -lGL... no
> >>>configure: error: OpenGL is needed
> >>>
> >>>знаю что надо добавить -L/usr/X11R6/lib
> >>>а как это сделать корректно?
> >>>какая это опция?
> >>>
> >>>
> >>
> >>
> >>А добавить /usr/X11R6/lib в /etc/ld.so.conf не пробовали?
> >>
> >
> >а он там есть :(((
> 
> 
> А ldconfig запустить?
> А точно этот каталог нужен?

ld.so.conf не влияет на пути поиска библиотек gcc/ld.
Для configure обычно нужно установить параметр окружения LDFLAGS:

LDFLAGS=-L/usr/X11R6/lib \
./configure <опции>

Либо, более правильно, посмотреть в опциях (configure --help) на
предмет указания пути к библиотекам X или OpenGL.

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
The tree of research must from time to time be refreshed with the blood
of bean counters.
		-- Alan Kay



  parent reply	other threads:[~2001-11-11  8:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-08 22:21 [sisyphus] " AVL
2001-11-08 23:54 ` DH
2001-11-11  1:03   ` AVL
2001-11-11  1:22     ` DH
2001-11-11  7:19       ` Alexey Voinov
2001-11-11  8:19       ` Mikhail Zabaluev [this message]
2001-11-11 10:24         ` [sisyphus] " AVL
2001-11-11 13:34           ` Mikhail Zabaluev
2001-11-11 14:26             ` AVL
2001-11-11 23:15                 ` AVL

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=20011111111927.B23132@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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