emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-23.1.96: problem on GNU/Linux AMD64 (Red Hat 4.8)


From: Neal Becker
Subject: Re: emacs-23.1.96: problem on GNU/Linux AMD64 (Red Hat 4.8)
Date: Wed, 21 Apr 2010 12:05:02 -0400
User-agent: KNode/4.4.2

Nelson H. F. Beebe wrote:

> A build of emacs-23.1.96 on GNU/Linux AMD64 (Red Hat 4.8) with
> 
> % set path=(/bin /usr/bin)
> % env LDFLAGS='-Wl,-rpath,/usr/local/lib64 -L/usr/local/lib64' ./configure
> && make all check
> 
> failed like this:
> 
> configure:15477: gcc -o conftest   -O2  -D_BSD_SOURCE   \
> -Wl,-rpath,/usr/local/lib64 -L/usr/local/lib64 -Wl,-znocombreloc \
> -L/usr/X11R6/lib conftest.c -lungif  -lX11   >&5
> /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching
> for -lX11 /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when
> searching for -lX11 /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
> configure:15484: $? = 1
> 
> On Red Hat and OpenSuSE AMD64 systems, the default world is 64-bit,
> and libraries reside in /usr/local/lib64; the companion /usr/local/lib
> holds only 32-bit libraries. Thus it is WRONG WRONG WRONG for
> configure to be sticking in -L/usr/X11R6/lib, overriding the correct
> settings supplied in LDFLAGS!

Builds fine on fedora 12 x86_64 using a (slightly modified) version of the 
rawhide spec file.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]