compiling gtk2 I get the folllowing error;

checking for XOpenDisplay in -lX11... no
configure: error: *** libX11 not found. Check 'config.log' 

config log states that is looking in the right place;

 $ ./configure --enable-static --x-libraries=/usr/X11R6/lib --x-includes=/usr/X
11R6/include --prefix=/usr/X11R6 --target=i386-unknown-freebsd4.7

and the library is there;

root# ls -l /usr/X11R6/lib/libX11*
-rw-r--r--  1 root  wheel  1344166 Feb 27 00:14 /usr/X11R6/lib/libX11.a
lrwxr-xr-x  1 root  wheel       11 Mar  7 00:25 /usr/X11R6/lib/libX11.so -> libX11.so.6
-rwxr-xr-x  1 root  wheel   866767 Feb 27 00:14 /usr/X11R6/lib/libX11.so.6

and ldconfig knows it's there;

root# ldconfig -r | grep libX11
        72:-lX11.6 => /usr/lib/libX11.so.6
        117:-lX11.6 => /usr/X11R6/lib/libX11.so.6
root# 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to