It would be fine if the DLD could handle linker scripts, or at least would generate an appropriate error message.
In Debian and Gentoo libncurses.so is such a script. At the moment this happens in stable gst: st> PackageLoader fileInPackage: 'NCurses' "Global garbage collection... done" Loading package NCurses PackageLoader st> NCWindow helloWorld Object: CFunctionDescriptor new: 1 "<0x7f3fb73c2fe0>" error: Invalid C call-out initscr SystemExceptions.CInterfaceError(Exception)>>signal (ExcHandling.st:254) SystemExceptions.CInterfaceError class(Exception class)>>signal: (ExcHandling.st:161) CFunctionDescriptor(CCallable)>>callInto: (CCallable.st:165) NCWindow class>>primInitScr (NCurses.star#VFS.ZipFile/ncurses.st:1) NCWindow class>>initscr (NCurses.star#VFS.ZipFile/ncurses.st:1360) NCWindow class>>helloWorld (NCurses.star#VFS.ZipFile/ncurses.st:2740) UndefinedObject>>executeStatements (a String:1) nil If I load the real library it succeeds: st> DLD addLibrary: 'libncurses.so.5' DLD st> NCWindow helloWorld NCWindow st> Cheers, Wolfgang _______________________________________________ help-smalltalk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-smalltalk
