Solved

help with installing library

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

758 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

22 Experts available now in Live!

Get 1:1 Help Now