List Info

Thread: Loading .so's / updating ltdl




Loading .so's / updating ltdl
user name
2006-05-07 13:35:56
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
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
Loading .so's / updating ltdl
user name
2006-05-17 14:23:16
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
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )