LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-27-2010, 06:19 PM   #1
maxreason
Member
 
Registered: Dec 2007
Location: phobos, mars
Distribution: 64-bit ubuntu 12.04 LTS
Posts: 205

Rep: Reputation: 15
how to find and install 32-bit X11 libraries on 64-bit ubuntu 10.04


I just created a new 64-bit ubuntu 10.04 system with codeblocks 10.05 to continue developing a 3D graphics engine/server that I put aside about 1 year ago. After some futzing, I can get simple new test projects to compile and execute, but I cannot get my 3D engine to compile.

The problem is the following. The compiler appears to compile all the files successfully, but then stops and issues the following error message:

ld cannot find -lX11

I only had the 32-bit implementation of my code working when I stopped developing a year ago, so I need to get that working first.

As far as I can tell, the problem is this. I installed the xorg-dev package, which installed the 64-bit include files and library files, but not the 32-bit include files and library files. Try as I might, I cannot find any separate package that includes the 32-bit include files and library files. Actually, I assume a single set of include files will support both 32-bit and 64-bit development... but I'm pretty sure I do need to install a set of 32-bit libraries on my computer to compile this application. I did manage to find and install both 32-bit and 64-bit versions of the OpenGL libraries, but I can't find the X11 files.

Is this probably my problem? If so, how do I download and install those 32-bit libraries on my 64-bit ubuntu 10.04 system?
 
Old 08-27-2010, 08:25 PM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by maxreason View Post
[FONT=Georgia]
Is this probably my problem? If so, how do I download and install those 32-bit libraries on my 64-bit ubuntu 10.04 system?
See this on installing the ia32-libs package:
http://maketecheasier.com/run-32-bit...nux/2009/08/10
http://packages.ubuntu.com/lucid/ia32-libs
Hope this helps.
 
  


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
Howto install 32-bit libraries on 64-bit Linux using yum shawn_t Linux - Server 16 07-13-2012 02:46 AM
Wine 32 bit on Slackware 13 64 bit problems: configure can't find some libraries ozanbaba Slackware 28 11-26-2010 02:42 PM
how to find and install 32-bit X11 libraries on 64-bit ubuntu 10.04 maxreason Linux - Software 8 08-30-2010 08:51 PM
LXer: Ubuntu 32-bit, 32-bit PAE, 64-bit Benchmarks LXer Syndicated Linux News 0 12-30-2009 11:00 AM
how do I install 32-bit compiler libraries onto a 64-bit machine? charleycat Linux - Software 1 08-16-2007 01:45 PM


All times are GMT -5. The time now is 01:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration