Missing libX11.a
I'm trying to compile a program and during the linking stage it says that it can't find -lX11. I have libX11.so, but I do not have libX11.a. I'm running Red Hat Enterprise 5. Does anyone have any idea how I can get or build libX11.a.
Thanks! |
Maybe this is not of great help, but on Red Hat Enterprise 4 I have the static library
Code:
/usr/X11R6/lib/libX11.a Code:
rpm -V xorg-x11-devel |
Thanks for the reply. However, xorg-x11-devel doesn't exist in the RHEL5 repositories. So, I'm still out of luck. I wonder if I added the RHEL4 repositories to my yum search if I could get it. But, I'm not sure exactly how to add a repository.
|
Hmmm... I think it would not be a good idea to add a RHEL4 repository, since a lot of things could have been changed between the two releases and this may result in some unpredictable behavior. Anyway, can you tell me the name of the package who provides the existing libX11.so? You can try
Code:
rpm -qf /usr/X11R6/lib/libX11.so |
My libX11.so came from this rpm: libX11-devel-1.0.3-8.0.1.el5
Thanks. |
All times are GMT -5. The time now is 01:05 AM. |