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?

Thanks
LVL 1
mgoergenAsked:
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.

finikCommented:
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
/usr/X11R6/lib/libX11.so.6
/usr/X11R6/lib/libX11.so.6.1
/usr/X11R6/lib/libX11.a
/usr/X11R6/lib/libX11.so
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)
0

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
0
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
Installation

From novice to tech pro — start learning today.