Solved

help with installing library

Posted on 2006-11-21
3
244 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 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now