unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#14550: libltdl not found during configure of Guile 2.0.9
@ 2013-06-03 19:38 Eric Sheibley
  2013-06-04 10:24 ` Ludovic Courtès
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Eric Sheibley @ 2013-06-03 19:38 UTC (permalink / raw)
  To: 14550

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

When configuring Guile 2.0.9 for Solaris 10  64 bit 148888-03 Sparc, I get
the error in the subject. I did a find . -name libltdl -print and libltdl is
found in /usr/lib, usr/local/lib and /lib. The version of libtool I have
installed is 2.4.2. This is really holding me up on being able to finish
upgrading other software.

 

Eric


[-- Attachment #2: Type: text/html, Size: 1944 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14550: libltdl not found during configure of Guile 2.0.9
  2013-06-03 19:38 bug#14550: libltdl not found during configure of Guile 2.0.9 Eric Sheibley
@ 2013-06-04 10:24 ` Ludovic Courtès
  2013-06-04 18:33 ` Eric Sheibley
  2013-06-05 13:13 ` bug#14550: " e_sheibley
  2 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2013-06-04 10:24 UTC (permalink / raw)
  To: Eric Sheibley; +Cc: 14550

Hi,

Thanks for the report.

"Eric Sheibley" <e_sheibley@verizon.net> skribis:

> When configuring Guile 2.0.9 for Solaris 10  64 bit 148888-03 Sparc, I get
> the error in the subject. I did a find . -name libltdl -print and libltdl is
> found in /usr/lib, usr/local/lib and /lib.

Can you check the config.log file, and send the excerpt around the line
that contains the error message about ltdl not being found?

> The version of libtool I have installed is 2.4.2.

That should be OK.

Thanks,
Ludo’.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14550: libltdl not found during configure of Guile 2.0.9
  2013-06-03 19:38 bug#14550: libltdl not found during configure of Guile 2.0.9 Eric Sheibley
  2013-06-04 10:24 ` Ludovic Courtès
@ 2013-06-04 18:33 ` Eric Sheibley
  2013-06-05 10:56   ` Ludovic Courtès
  2013-06-05 13:13 ` bug#14550: " e_sheibley
  2 siblings, 1 reply; 8+ messages in thread
From: Eric Sheibley @ 2013-06-04 18:33 UTC (permalink / raw)
  To: 14550

[-- Attachment #1: Type: text/plain, Size: 96 bytes --]

Ludo,

The only thing around the error in the config log is to view the README
file. 

 

Eric


[-- Attachment #2: Type: text/html, Size: 1733 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14550: libltdl not found during configure of Guile 2.0.9
  2013-06-04 18:33 ` Eric Sheibley
@ 2013-06-05 10:56   ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2013-06-05 10:56 UTC (permalink / raw)
  To: Eric Sheibley; +Cc: 14550

"Eric Sheibley" <e_sheibley@verizon.net> skribis:

> The only thing around the error in the config log is to view the README
> file. 

I was actually referring to the file named ‘config.log’.

When everything goes well, it contains something like this:

--8<---------------cut here---------------start------------->8---
configure:41904: checking for libltdl
configure:41926: gcc -o conftest -g -O2   conftest.c  -lltdl >&5
configure:41926: $? = 0
configure:41936: result: yes
configure:41943: checking how to link with libltdl
configure:41945: result: -lltdl
--8<---------------cut here---------------end--------------->8---

In your case, the lines after ‘checking for libltdl’ probably show a
compiler or linker error.  Could you send those lines?

Thanks in advance,
Ludo’.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14550: Re: bug#14550: libltdl not found during configure of Guile 2.0.9
  2013-06-03 19:38 bug#14550: libltdl not found during configure of Guile 2.0.9 Eric Sheibley
  2013-06-04 10:24 ` Ludovic Courtès
  2013-06-04 18:33 ` Eric Sheibley
@ 2013-06-05 13:13 ` e_sheibley
  2013-06-05 21:27   ` Ludovic Courtès
  2 siblings, 1 reply; 8+ messages in thread
From: e_sheibley @ 2013-06-05 13:13 UTC (permalink / raw)
  To: ludo

[-- Attachment #1: Type: text/html, Size: 1561 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14550: libltdl not found during configure of Guile 2.0.9
  2013-06-05 13:13 ` bug#14550: " e_sheibley
@ 2013-06-05 21:27   ` Ludovic Courtès
  2013-06-10 19:50     ` Eric Sheibley
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2013-06-05 21:27 UTC (permalink / raw)
  To: e_sheibley; +Cc: 14550

Eric,

(Please keep 14550@debbugs.gnu.org Cc'd.)

e_sheibley@verizon.net skribis:

> It doesn't even get that far. It stops at checking for libltdl and
> says to view the README file for more information.

I know.  Yet, ‘configure’ creates a ‘config.log’ file with additional
details, as I explained.  Can you please check its contents according to
the recommendations I gave?

Thanks in advance,
Ludo’.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14550: libltdl not found during configure of Guile 2.0.9
  2013-06-05 21:27   ` Ludovic Courtès
@ 2013-06-10 19:50     ` Eric Sheibley
  2013-06-10 20:48       ` Mark H Weaver
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Sheibley @ 2013-06-10 19:50 UTC (permalink / raw)
  To: 'Ludovic Courtès '; +Cc: 14550

Ludo,
I figured it out but now I am getting another error when running 'make all'
CCLD guile
Undefined symbol		first referenced in file
ffi_closure_alloc		./.libs/libguile-2.0.so
ffi_type_pointer
ffi_prep_closure_loc
ffi_type_uint8
ffi_type_sint8
ffi_type_float
GC_unregister_my_thread
ffi_type_uint32
ffi_type_uint16
ffi_type_uint64
ffi_type_sint32
ffi_type_sint16
ffi_type_sint64
ffi_type_void
ffi_type_double
GC_register_my_thread
ffi_call
ffi_closure_free
ffi_prop_cif
GC_pthread_create
GC_pthread_detach
ld:fatal:symbol reference errors. No output written to .lib/guile
collect2: ld returned 1 exit status

I get this error when using either the Solaris 10 built in gcc version 3.4.3 or Solaris Studio version 12.3 as the compiler.

Eric

-----Original Message-----
From: Ludovic "Courtès" [mailto:ludo@gnu.org] 
Sent: Wednesday, June 05, 2013 17:27
To: e_sheibley@verizon.net
Cc: 14550@debbugs.gnu.org
Subject: Re: bug#14550: libltdl not found during configure of Guile 2.0.9

Eric,

(Please keep 14550@debbugs.gnu.org Cc'd.)

e_sheibley@verizon.net skribis:

> It doesn't even get that far. It stops at checking for libltdl and 
> says to view the README file for more information.

I know.  Yet, ‘configure’ creates a ‘config.log’ file with additional details, as I explained.  Can you please check its contents according to the recommendations I gave?

Thanks in advance,
Ludo’.






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14550: libltdl not found during configure of Guile 2.0.9
  2013-06-10 19:50     ` Eric Sheibley
@ 2013-06-10 20:48       ` Mark H Weaver
  0 siblings, 0 replies; 8+ messages in thread
From: Mark H Weaver @ 2013-06-10 20:48 UTC (permalink / raw)
  To: Eric Sheibley; +Cc: 14550, 'Ludovic Courtès'

Hi Eric,

"Eric Sheibley" <e_sheibley@verizon.net> writes:

> Ludo,
> I figured it out but now I am getting another error when running 'make all'
> CCLD guile
> Undefined symbol		first referenced in file
> ffi_closure_alloc		./.libs/libguile-2.0.so
> ffi_type_pointer
> ffi_prep_closure_loc
> ffi_type_uint8
> ffi_type_sint8
> ffi_type_float
> GC_unregister_my_thread
> ffi_type_uint32
> ffi_type_uint16
> ffi_type_uint64
> ffi_type_sint32
> ffi_type_sint16
> ffi_type_sint64
> ffi_type_void
> ffi_type_double
> GC_register_my_thread
> ffi_call
> ffi_closure_free
> ffi_prop_cif
> GC_pthread_create
> GC_pthread_detach
> ld:fatal:symbol reference errors. No output written to .lib/guile
> collect2: ld returned 1 exit status
>
> I get this error when using either the Solaris 10 built in gcc version 3.4.3 or Solaris Studio version 12.3 as the compiler.

Apparently you're not successfully linking to libffi, which should
contain those ffi_* symbols.  What FFI-related options or environment
variables did you pass to ./configure?  I'd like to see the output of
"grep -i libffi config.log".

It also appears that Guile was configured with thread support, but that
your libgc was built without thread support.  If you don't need thread
support, then I suggest passing "--without-threads" to ./configure,
otherwise you'll need to rebuild libgc (preferably version 7.2d) with
thread support.

     Regards,
       Mark





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-06-10 20:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 19:38 bug#14550: libltdl not found during configure of Guile 2.0.9 Eric Sheibley
2013-06-04 10:24 ` Ludovic Courtès
2013-06-04 18:33 ` Eric Sheibley
2013-06-05 10:56   ` Ludovic Courtès
2013-06-05 13:13 ` bug#14550: " e_sheibley
2013-06-05 21:27   ` Ludovic Courtès
2013-06-10 19:50     ` Eric Sheibley
2013-06-10 20:48       ` Mark H Weaver

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).