* guile-1.8.8 problems on GNU/Linux AMD64
@ 2010-12-16 19:59 Nelson H. F. Beebe
2010-12-17 13:39 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Nelson H. F. Beebe @ 2010-12-16 19:59 UTC (permalink / raw)
To: bug-guile; +Cc: beebe
A build of guile-1.8.8 on GNU/Linux AMD64 fails because the included
libtool is overriding library paths, and supplying incorrect 32-bit
paths:
% env CC=gcc CXX=g++ LDFLAGS="-L/usr/local/lib64 -Wl,-rpath,/usr/local/lib64" ./configure && make
...
libtool: link: gcc -g -O2 -Wall -Wmissing-prototypes -Werror -Wl,-rpath -Wl,/usr/local/lib64 -o gen-scmconfig gen-scmconfig.o -L/usr/local/lib64 /usr/local/lib/libgmp.so -lcrypt -lm /usr/local/lib64/libltdl.so -ldl -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib64 -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib64
/usr/local/lib/libgmp.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
I tried replacing -lgmp with /usr/local/lib64/libgmp.so in Makefiles,
and that got somewhat further:
% find . -name Makefile | xargs sed -i -e 's@-lgmp@/usr/local/lib64/libgmp.so@'
% make all check
...
PASS: stack-limit-calibration.scm
=============
1 test passed
=============
...
PASS: test-scm-with-guile
===================
All 16 tests passed
===================
...
Running ports.test
UNRESOLVED: ports.test: port-for-each: passing freed cell
Running posix.test
...
Running socket.test
ERROR: socket.test: AF_INET6/SOCK_STREAM: bind/sockaddr - arguments: ((wrong-type-arg #f "Wrong type: ~S" (#(10 1 9998 0 0)) (#(10 1 9998 0 0))))
ERROR: socket.test: AF_INET6/SOCK_STREAM: connect/sockaddr - arguments: ((wrong-type-arg #f "Wrong type: ~S" (#(10 1 8889 0 0)) (#(10 1 8889 0 0))))
At that point, the tests hang in a wait state, without any
CPU consumption, so I killed the build.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu -
- 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: guile-1.8.8 problems on GNU/Linux AMD64
2010-12-16 19:59 guile-1.8.8 problems on GNU/Linux AMD64 Nelson H. F. Beebe
@ 2010-12-17 13:39 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2010-12-17 13:39 UTC (permalink / raw)
To: bug-guile
Hi,
"Nelson H. F. Beebe" <beebe@math.utah.edu> writes:
> A build of guile-1.8.8 on GNU/Linux AMD64 fails because the included
> libtool is overriding library paths, and supplying incorrect 32-bit
> paths:
>
> % env CC=gcc CXX=g++ LDFLAGS="-L/usr/local/lib64 -Wl,-rpath,/usr/local/lib64" ./configure && make
> ...
> libtool: link: gcc -g -O2 -Wall -Wmissing-prototypes -Werror -Wl,-rpath -Wl,/usr/local/lib64 -o gen-scmconfig gen-scmconfig.o -L/usr/local/lib64 /usr/local/lib/libgmp.so -lcrypt -lm /usr/local/lib64/libltdl.so -ldl -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib64 -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib64
> /usr/local/lib/libgmp.so: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
Can you post the excerpt of config.log that relates to GMP detection?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-17 13:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-16 19:59 guile-1.8.8 problems on GNU/Linux AMD64 Nelson H. F. Beebe
2010-12-17 13:39 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).