ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Artem <u2u@nm.ru>
To: community@altlinux.ru
Subject: [Comm] ld не находит библиотеки в /usr/X11R6/lib
Date: Sat, 10 Jan 2004 21:32:57 +0200
Message-ID: <40005369.2050208@nm.ru> (raw)

Сравнение логов configure
Под root:

   ......

   сonfigure:4135: gcc -o conftest -g -O2 -I/usr/include/gtk-2.0
   -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/pango-1.0 -I/usr/include/Xft2
   -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -pthread
   -I/usr/include/gnet-2.0 -I/usr/lib/gnet-2.0/include/ 
-I/usr/include/glib-2.0
   -I/usr/lib/glib-2.0/include     conftest.c  -Wl,--export-dynamic 
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
   -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 
-ldl -lglib-2.0   -pthread
   -lgnet-2.0 -lgthread-2.0 -lglib-2.0
    >&5
   configure:4141: $? = 0

   .....

А теперь то же самое под "рядовым" пользователем:
         .....

   configure:4135: gcc -o conftest -g -O2 -I/usr/include/gtk-2.0
   -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/pango-1.0 -I/usr/include/Xft2
   -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -pthread
   -I/usr/include/gnet-2.0 -I/usr/lib/gnet-2.0/include/ 
-I/usr/include/glib-2.0
   -I/usr/lib/glib-2.0/include     conftest.c  -Wl,--export-dynamic 
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
   -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 
-ldl -lglib-2.0   -pthread
   -lgnet-2.0 -lgthread-2.0 -lglib-2.0
    >&5
   /usr/bin/ld: warning: libXi.so.6, needed by 
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so, not 
found (try using -rpath or -rpath-link)
   /usr/bin/ld: warning: libXinerama.so.1, needed by 
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so, not 
found (try using -rpath or -rpath-link)
   /usr/bin/ld: warning: libXext.so.6, needed by 
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so, not 
found (try using -rpath or -rpath-link)
   /usr/bin/ld: warning: libXrender.so.1, needed by 
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so, not 
found (try using -rpath or -rpath-link)
   /usr/bin/ld: warning: libX11.so.6, needed by 
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so, not 
found (try using -rpath or -rpath-link)
   /usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so: 
undefined reference to `XSetInputFocus'
   /usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so: 
undefined reference to `XFreePixmap'
   /usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so: 
undefined reference to `XSetWMProtocols'
   /usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so: 
undefined reference to `XShmDetach'
   /usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so: 
undefined reference to `XLowerWindow'
   /usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so: 
undefined reference to `XCreateFontCursor'

   .........................
   .........................
Где что смотреть, подскажите, коль не трудно?




                 reply	other threads:[~2004-01-10 19:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=40005369.2050208@nm.ru \
    --to=u2u@nm.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