ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] ld не находит библиотеки в /usr/X11R6/lib
@ 2004-01-10 19:32 Artem
  0 siblings, 0 replies; only message in thread
From: Artem @ 2004-01-10 19:32 UTC (permalink / raw)
  To: community

Сравнение логов 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'

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-10 19:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-10 19:32 [Comm] ld не находит библиотеки в /usr/X11R6/lib Artem

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