LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2012, 11:16 PM   #1
caelum1955
LQ Newbie
 
Registered: Jul 2012
Location: Bellingham WA USA
Distribution: Debian (squeeze)
Posts: 3

Rep: Reputation: Disabled
X11 lib installed but not found


This is my first post. Used Ubuntu for several years. I'm on an amd64 machine. Just installed Debian and found that according to synaptic libX11-6 is installed, but when a program tries to access libX11 I get:

Quote:
error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
dpkg -s libx11 shows:
Quote:
Package `libx11' is not installed and no info is available.
gcc -libX11 shows:
Quote:
/usr/bin/ld: cannot find -libX11
ldd (myprogram) shows:
Quote:
libX11.so.6 => not found
How can synaptic show that libX11 in installed but nothing can find it? Puzzled!?
 
Old 07-05-2012, 12:09 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,720

Rep: Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704
Hi,

what is this program that can't find libX11.so.6? Did you compile it yourself? Is it a 32 or 64 bit binary?

The package that provides this should be libX11-6, and the file should be /usr/lib/x86_64-linux-gnu/libX11.so.6 (at least that is the situation on Sid).


Evo2.
 
Old 07-05-2012, 12:28 AM   #3
caelum1955
LQ Newbie
 
Registered: Jul 2012
Location: Bellingham WA USA
Distribution: Debian (squeeze)
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
what is this program that can't find libX11.so.6? Did you compile it yourself? Is it a 32 or 64 bit binary?
The program is rebol from www.rebol.com. I did not compile it myself. I am fairly sure it is 32 bit binary?
 
Old 07-05-2012, 12:33 AM   #4
caelum1955
LQ Newbie
 
Registered: Jul 2012
Location: Bellingham WA USA
Distribution: Debian (squeeze)
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for your reply evo2, your questions put me on the right track.

After installing ia32-libs everything works. Hope that helps another linux user who wants to use rebol, rebview, rebcmdview, the Rebol SDK or any other program from www.rebol.com.
 
Old 07-05-2012, 12:59 AM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,720

Rep: Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704
Hi,

glad you were able to get it working: this is a common issue when trying to run 32 bit binaries on a 64 bit system. Please use "Thread Tools" dropdown menu near the top of the page to mark the thead as "[SOLVED]".

Cheers,

Evo2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which X11 lib under which #define ? samrat_rao Linux - Software 7 02-24-2009 03:41 AM
Anyone familiar with an ancient X11 lib called InterViews? map250r Linux - Software 2 02-20-2009 03:17 PM
Using aa-lib with X11 Exeis Linux - Software 0 12-12-2006 01:26 PM
Core 4 - X11-devel complains about X11-libs which are installed Ephracis Fedora 3 09-05-2005 10:32 AM
gcc vs. g++ -> iostream lib found vs. not found CooManChu Linux - General 1 12-11-2004 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration