Loading .so's / updating ltdl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Loading .so's / updating ltdl

Mike Anderson-3
I've been able to load .so libraries by copying ltdl.m4 to acinclude.m4,
as suggested by the libtool documentation (I also copied in newer
versions of ltdl.c and ltdl.h).

This works, but I don't really know what I'm doing. In particular, it
seems 'suspicious' that there isn't an acinclude.m4 already.

Regards all,

Mike


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Loading .so's / updating ltdl

Paolo Bonzini
Mike Anderson wrote:
> I've been able to load .so libraries by copying ltdl.m4 to acinclude.m4,
> as suggested by the libtool documentation (I also copied in newer
> versions of ltdl.c and ltdl.h).
>
> This works, but I don't really know what I'm doing. In particular, it
> seems 'suspicious' that there isn't an acinclude.m4 already.
>  
Instead of a single acinclude.m4, there are many files in the config
directory, including config/ltdl.m4.

This one had a mismatch with the libtool.m4, whose origin I don't know.

This stupid patch will do:

--- orig/config/ltdl.m4
+++ mod/config/ltdl.m4
@@ -213,7 +213,7 @@
   [libltdl_cv_shlibext],
 [
 module=yes
-eval libltdl_cv_shlibext=$shrext
+eval libltdl_cv_shlibext=$shrext_cmds
   ])
 if test -n "$libltdl_cv_shlibext"; then
   AC_DEFINE_UNQUOTED(LTDL_SHLIB_EXT, "$libltdl_cv_shlibext",

Paolo, back from the dead


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk