Solved

help with installing library

Posted on 2006-11-21
3
252 Views
Last Modified: 2010-04-20
Hi all,

I am compiling a program with -lX11 and compiler says ther e is no such library.
I thought I need to install XFree86 devel lib to be able to compile (maybe this is wrong already?)
This is onFedora6 and I don't have installation disks from it so I brought RedHat9.
First, failed dependancies led me to istalling XFree86-libs-data, but that fails because lots of files from this lib conflict with xorg-x11-libs.
Is there a way out of this situation?

thnx
0
Comment
Question by:ole111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Expert Comment

by:talkster5
ID: 17990606
Have you tried using something like up2date to install the package rather than doing everything manually as it should then install the dependencies as well? If up2date does not work it may be worth a try installing YUM and using the DAG repository.
0
 

Author Comment

by:ole111
ID: 17998371
YUM works with Fedora. Among the list of software I found xorg-x11-devel, which I installed.
The compiler still gives the error:
/usr/bin/ld: cannot find -lX11

Do I need another package? Or maybe the problem is somewhere else?
0
 
LVL 3

Accepted Solution

by:
talkster5 earned 50 total points
ID: 17998426
Hi,
Please take a look at the following link and see if it helps solve your problem:

http://www.geektimes.com/linux/troubleshooting/ld-cannot-find-lX11.html

Thanks.
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question