ports/lang/scm(scm-5d6) has loadable module support, but this port fails to load external modules. This failure is occured when scm calls dlsym(3) to access external modules. Fix: Apply this patch to ports/lang/scm/patch-build.scm and rebuild. This patch appends linker option "-export-dynamic" to build scm executable. How-To-Repeat: %script scm Script started on Fri May 31 19:52:00 2002 SCM version 5d6, Copyright (C) 1990-1999 Free Software Foundation. SCM comes with ABSOLUTELY NO WARRANTY; for details type `(terms)'. This is free software, and you are welcome to redistribute it under certain conditions; type `(terms)' for details. ;loading /usr/local/lib/scm/slib/require ;done loading /usr/local/lib/scm/slib/require.scm ;loading /usr/local/lib/scm/Link ;done loading /usr/local/lib/scm/Link.scm ;loading /usr/local/lib/scm/Transcen ;done loading /usr/local/lib/scm/Transcen.scm > (error "This is test") ERROR: This is test ;STACK TRACE 1; (#@define ((cep (#@current-error-port))) (#@if (#@acro-call d ... 2; (#@error "This is test") * Breakpoint established: (continue <val>) to return. ;loading /usr/local/lib/scm/slib/debug ; loading /usr/local/lib/scm/slib/trace ; loading /usr/local/lib/scm/slib/qp ; done loading /usr/local/lib/scm/slib/qp.scm ; loading /usr/local/lib/scm/slib/alist ; done loading /usr/local/lib/scm/slib/alist.scm ; done loading /usr/local/lib/scm/slib/trace.scm ; loading /usr/local/lib/scm/slib/break ; done loading /usr/local/lib/scm/slib/break.scm dyn:link: /usr/local/lib/scm/ioext.so: Undefined symbol "s_try_create_file" ;While loading "/usr/local/lib/scm/slib/debug.scm", line 22: ERROR: Couldn't link files ("/usr/local/lib/scm/ioext.so") ;STACK TRACE 1; (#@define ((cep (#@current-error-port))) (#@if (#@acro-call d ... 2; (#@let* ((path (#@catalog:get #@feature))) (#@cond ((#@and (# ... ... * Breakpoint established: (continue <val>) to return. ; loading /usr/local/lib/scm/slib/debug dyn:link: /usr/local/lib/scm/ioext.so: Undefined symbol "s_try_create_file" (repeat until scm is killed) Script done on Fri May 31 19:52:16 2002
State Changed From-To: open->closed Committed, thanks!