Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

libX11 not found

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
mike_c
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 76
Joined: Tue Dec 09, 2003 1:19 am

libX11 not found

  • Quote

Post by mike_c » Mon Nov 08, 2004 4:54 am

Hi

I'm trying to build a package that needs libX11, and I get this message when i ./configure

Code: Select all

configure: error: ***libX11 not found. Check '
i did a find for libX11.so and it appears to be at /usr/X11R6/lib/libX11.so

how do i tell gcc to always look in that directory for .so files?

Mike
Top
ep98
Apprentice
Apprentice
User avatar
Posts: 232
Joined: Tue Jul 08, 2003 7:13 pm
Location: Bulgaria
Contact:
Contact ep98
Website

  • Quote

Post by ep98 » Mon Nov 08, 2004 7:08 am

u cant install X11 application without Xorg-x11 or the old and unmaintained xfree86, check your paths in /etc/ld.so.conf if u have allready installed X11, and insert the line, where are your X11 libraries
If u cant give advice, dont send the helpless to the HOWTO's way or Google.com way.
Top
monicajae
Guru
Guru
User avatar
Posts: 363
Joined: Wed Sep 03, 2003 12:29 am
Location: Dorset, VT

  • Quote

Post by monicajae » Wed Jan 19, 2005 4:01 am

So, wait, what the hell is the solution???????
Top
ReiserFS
n00b
n00b
Posts: 39
Joined: Sun Jan 02, 2005 8:38 am
Location: Hong Kong

  • Quote

Post by ReiserFS » Wed Jan 19, 2005 10:58 am

Emerge is nothing than a install from stratch. So what you should do is to download the package. and install it by hand. after ./configure you can tune and tweak the makefile, let it know the position of X11 lib. I personally recommend the "software installation howto", though old, but useful.

Just because some packages written before 2004 has the default X11 lib directory name of Xfree86, now it changed!
Top
iTux
Guru
Guru
Posts: 586
Joined: Tue Sep 07, 2004 11:50 pm
Location: Toronto

Re: libX11 not found

  • Quote

Post by iTux » Thu Jan 20, 2005 12:28 am

mike_c wrote:Hi

I'm trying to build a package that needs libX11, and I get this message when i ./configure

Code: Select all

configure: error: ***libX11 not found. Check '
i did a find for libX11.so and it appears to be at /usr/X11R6/lib/libX11.so

how do i tell gcc to always look in that directory for .so files?

Mike
Try:
./configure (your options) LDFLAGS="-L/usr/X11R6/lib" CPPFLAGS="-I/usr/X11R6/include"

gcc options
-L - add path to lib path searched
-I - similar but for header files


iTux
Top
monicajae
Guru
Guru
User avatar
Posts: 363
Joined: Wed Sep 03, 2003 12:29 am
Location: Dorset, VT

  • Quote

Post by monicajae » Thu Jan 20, 2005 12:51 am

can't I put those lines in the make.conf file?

I"m not "./configging" I'm emerging...
Top
Roguelazer
Veteran
Veteran
User avatar
Posts: 1233
Joined: Mon Feb 10, 2003 8:49 pm
Location: San Francisco, CA
Contact:
Contact Roguelazer
Website

  • Quote

Post by Roguelazer » Thu Jan 20, 2005 1:04 am

Code: Select all

# emerge xorg-x11
# env-update
# emerge [whatever package you were trying to emerge before]
Registered Linux User #263260
Top
monicajae
Guru
Guru
User avatar
Posts: 363
Joined: Wed Sep 03, 2003 12:29 am
Location: Dorset, VT

  • Quote

Post by monicajae » Thu Jan 20, 2005 3:46 am

Roguelazer wrote:

Code: Select all

# emerge xorg-x11
# env-update
# emerge [whatever package you were trying to emerge before]
Oh did I mention? I had to re-install xfree because xorg-x11 wouldn't work for me. there's another post related to my problem: http://forums.gentoo.org/viewtopic.php? ... highlight=

So, any other suggestions? i just want to get it to emerge already.

MJ
Top
monicajae
Guru
Guru
User avatar
Posts: 363
Joined: Wed Sep 03, 2003 12:29 am
Location: Dorset, VT

  • Quote

Post by monicajae » Thu Jan 20, 2005 5:26 am

i can't believe i'm the only person who has or has had this problem. is it possible to install xorg-x11 then xfree on top of it?

Here's more to it:

Code: Select all

checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for XOpenDisplay in -lX11... no
configure: error: *** libX11 not found. Check 'config.log' for more details.

Top
stahlsau
Guru
Guru
User avatar
Posts: 584
Joined: Fri Jan 09, 2004 8:16 am
Location: WildWestwoods

  • Quote

Post by stahlsau » Thu Dec 08, 2005 10:04 pm

yo,
there are more of us...search the forums for "Could not find XOpenDisplay in -lX11".
No idea how to solve it til now and no time now, too. I'll look into it tomorrow.
Top
Post Reply

10 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic