On Thu, 16 Nov 2006 21:20:20 -0500
 Dan Espen <[EMAIL PROTECTED]> wrote:
"Peter Scott" <[EMAIL PROTECTED]> writes:
I have just upgraded(?) from Fedora Core 5 to Fedora
Core 6, and since I like fvwm a lot and have an excellent config file for fvwm, I tried building fvwm-2.5.18. but it
fails in the final steps.

./configure works cleanly with no options.
make bombs with this error message:

gcc -DFVWM_MODULEDIR=\"/usr/local/libexec/fvwm/2.5.16\" -DFVWM_DATADIR=\"/usr/local/share/fvwm\" -DFVWM_CONFDIR=\"/usr/local/etc\" -DFVWM_COLORSET_PRIVATE=1 -DLOCALEDIR=\"/usr/local/share/locale\" -Wall
...
-L/usr/lib64 -lXpm -lstroke -lSM -lICE -lXext -lX11 -lm -lpng -lz
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make[2]: *** [fvwm] Error 1

[...]

libXext is installed:  locate libXext yields:

/usr/lib/libXext.so.6
/usr/lib/libXext.so.6.4.0
/usr/lib64/libXext.so.6
/usr/lib64/libXext.so.6.4.0

You appear to be missing the soft link for the library
itself.  It should look something like:

lrwxrwxrwx  /usr/X11R6/lib/libXext.so -> libXext.so.6.4
lrwxrwxrwx /usr/X11R6/lib/libXext.so.6 -> libXext.so.6.4
-rwxr-xr-x  /usr/X11R6/lib/libXext.so.6.4

There needs to be one file named libXext.so.
Create a soft link.

--
Dan Espen E-mail: [EMAIL PROTECTED]


Thanks so much Dan for this suggestion.  I created the
soft link:

(as root in /usr/lib64):

ln -s libXext.so.6.4.0 libXext.so

so that ll -h libXext* yields:


lrwxrwxrwx 1 root root 16 Nov 16 21:09 libXext.so -> libXext.so.6.4.0 lrwxrwxrwx 1 root root 16 Nov 14 03:30 libXext.so.6 -> libXext.so.6.4.0
-rwxr-xr-x 1 root root 71K Jul 12 23:42 libXext.so.6.4.0

and now the build completes cleanly!  I guess I don't
need the static library.  onwards!

-- Peter

Reply via email to