ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@elan.com.ua>
To: Community@altlinux.ru
Subject: [Comm] Ошибка ли указывать библиотеку -lGL 2 раза?
Date: Mon, 11 Apr 2005 15:26:47 +0300
Message-ID: <425A6D07.7080106@elan.com.ua> (raw)

Здравствуйте!
Вот пытаюсь собрать программку. Не проходит configure. Жалуется что не
может найти GL, когда все вроде есть. Смущает то, -lGL повторяется 2
раза. Может это ошибка?

configure:1686: checking for working libGC
configure:1706: gcc -o conftest -g -O2   conftest.c  -lGC -lGL -lSDL
-lpthread -lGL 1>&5
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
#line 1688 "configure"
#include "confdefs.h"

      #include <unistd.h>
      #include <stdlib.h>
      #include <libGC/diom.h>
      #include <libGC/dl.h>
      #include <libGC/configfile.h>
      #include <libGC/net.h>

int main() {

      diom_init("", "");
      cf_openFile("");
      return 0;

; return 0; }


$ sudo ldconfig -p | grep GL
        libGLw.so.1 (libc6) => /usr/X11R6/lib/libGLw.so.1
        libGLw.so (libc6) => /usr/X11R6/lib/libGLw.so
        libGLcore.so.1 (ELF) => /usr/X11R6/lib/libGLcore.so.1
        libGLcore.so.1 (ELF) => /usr/lib/libGLcore.so.1
        libGLU.so.1 (libc6) => /usr/X11R6/lib/libGLU.so.1
        libGLU.so (libc6) => /usr/X11R6/lib/libGLU.so
        libGL.so.1.2 (libc6) => /usr/X11R6/lib/libGL.so.1.2
        libGL.so.1 (libc6) => /usr/X11R6/lib/libGL.so.1
        libGL.so.nvidia (libc6) => /usr/X11R6/lib/libGL.so.nvidia
        libGL.so (libc6) => /usr/X11R6/lib/libGL.so

-- 
С уважением,
Дубровский Вячеслав.



             reply	other threads:[~2005-04-11 12:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-11 12:26 Slava Dubrovskiy [this message]
2005-04-11 14:22 ` Yury Aliaev
2005-04-12  7:02   ` Slava Dubrovskiy
2005-04-12  8:43     ` [Comm] Ошибка ли указ ывать " Eugene Ostapets
2005-04-12  9:05       ` Slava Dubrovskiy
2005-04-12  9:10         ` Alexey I. Froloff
2005-04-12  9:36           ` Slava Dubrovskiy
2005-04-12  9:44             ` Alexey I. Froloff
2005-04-12  9:58               ` Slava Dubrovskiy
2005-04-12 10:10                 ` Alexey Rusakov
2005-04-12 11:57                   ` [Comm] Ошибки a340gc (was:Ошибка ли указ ывать библиотеку -lGL 2 раза?) Slava Dubrovskiy
2005-04-12  9:19         ` [Comm] Ошибка ли указ ывать библиотеку -lGL 2 раза? Nick S. Grechukh
2005-04-12  9:26           ` Slava Dubrovskiy
2005-04-12 10:42     ` [Comm] Ошибка ли указывать " Yury Aliaev

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=425A6D07.7080106@elan.com.ua \
    --to=slava@elan.com.ua \
    --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