lX11 lXext lXi missing

While I try to compile a sample script

gcc sample1.c -lMesaGLU -lMesaGL -lXext -lX11 -lm -lglut -lXi -lXmu  -B/usr/X11/lib

I got errors that the file lXext -lX11 -lXi are missing better not found. So questions is where to find? (Most wanted is a rpm File.)

I use Suse 6.2 so perhaps it is somewhere on the cd?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

First, check whether the library are really missing on your system, or it is just gcc that couldn't find them.
If you have "locate", find them using it(example):
[finik@finik]$ locate libX11
otherwise use "find" for the same effect.

So, say you've found them in some <directory>,
now you have to include the -L<directory> parameter in the gcc command line.
I'm 90% sure the libraries are on your system,
it is an essential part of the X-Free system.
The header files, however may not be present,
then you can check whether you've installed
X-Free developement package (sorry, don't know how it is done in Suse)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mgoergenAuthor Commented:
Perfekt that was the problem

Now it works fine
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.