Re: FVWM: build failure: cannot find -lXext on FC6
On 2006.11.16 21:29:34 -0800, Peter Scott wrote: On Thu, 16 Nov 2006 21:20:20 -0500 Dan Espen [EMAIL PROTECTED] wrote: Peter Scott [EMAIL PROTECTED] writes: 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. 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! JFYI you can just run ldconfig to have those symlinks created for all libraries in /lib, /usr/lib and whatever is in your /etc/ld.so.conf. Looks like your upgrade forgot to do that ;) HTH Björn
FVWM: build failure: cannot find -lXext on FC6
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 -Wno-implicit-int -g -O2 -o fvwm menus.o style.o events.o move_resize.o add_window.o builtins.o borders.o icons.o fvwm.o module_interface.o frame.o virtual.o stack.o ewmh.o menustyle.o session.o colorset.o placement.o functions.o gnome.o focus.o conditional.o geometry.o ewmh_events.o windowlist.o menuitem.o ewmh_icons.o decorations.o update.o expand.o misc.o functable.o bindings.o cursor.o colormaps.o ewmh_conf.o modconf.o read.o menucmd.o ewmh_names.o icccm2.o schedule.o windowshade.o focus_policy.o repeat.o execcontext.o menudim.o condrc.o -L../libs -lfvwm -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 Any suggestions for how to make this work? Here are some relevant lines from config.log: hostname = localhost.localdomain uname -m = x86_64 uname -r = 2.6.18-1.2849.fc6 uname -s = Linux uname -v = #1 SMP Fri Nov 10 12:34:46 EST 2006 I am running this on a machine with an AMD Athlon 64x2 3800+ CPU fvwm-2.5.16 built fine for FC5 but does not on FC6. Any help would be much welcomed! -- Peter
Re: FVWM: build failure: cannot find -lXext on FC6
... -L../libs -lfvwm -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 Any suggestions for how to make this work? It looks as if you are missing libXext.a. The *.a are often found in a development package, while the *.so are in a runtime package or some such.
Re: FVWM: build failure: cannot find -lXext on FC6
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]
Re: FVWM: build failure: cannot find -lXext on FC6
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