[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: extending AND embedding it



Add -rdynamic to the end of your linking command for the MzScheme
embedding. That causes the linker to export global symbols for use by
shared libraries (i.e., extensions).

Matthew

----------------------------------------

Quoting Giorgio Marzano:
> If i do "(load-extension "...")" from the command line it goes ok, but i can't
> neither
> 
> scheme_load_extension("...",e);
> 
> nor 
> 
> scheme_eval("(load-extension \"...\"",e);
> 
> If i try i only get
> 
> load-extension: couldn't open
> "foobar.so" (foobar.so: undefined symbol: scheme_true)
> 
> I am using the  version "102"  of mzscheme under Linux.