Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

help with installing library

Posted on 2006-11-21
3
Medium Priority
?
259 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
  • 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 200 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

972 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