Fabian, in Fedora 14, this does not seem to work for me. Starting mserver5 results in the following errors:
======== # MonetDB 5 server v11.1.0 # Not released # Serving database 'demo', using 4 threads # Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked # Found 7.749 GiB available main-memory. # Copyright (c) 1993-July 2008 CWI. # Copyright (c) August 2008-2011 MonetDB B.V., all rights reserved # Visit http://monetdb.cwi.nl/ for further information #warning: please don't forget to set your vault key! #(see /ufs/manegold/_/scratch0/Monet/HG/Mar2011/prefix/_/etc/monetdb5.conf) !TypeException:batcalc.rank_grp[3]:object code for command sql.rank_grp missing !TypeException:batcalc.rank_grp[1]:object code for command sql.rank missing !TypeException:batcalc.dense_rank_grp[3]:object code for command sql.dense_rank_grp missing !TypeException:batcalc.dense_rank_grp[1]:object code for command sql.dense_rank missing !TypeException:sql.zero_or_one[7]:object code for command calc.str missing !SyntaxException:parseError:command tostr() :str address mbrTOSTR; !SyntaxException:parseError: ^<address> not found [... many more of these ...] !TypeException:user.main[2415]:object code for command geom.prelude missing !TypeException:user.main[2415]:'geom.prelude' undefined in: _2415:void := geom.prelude() ======== When I set the first mdlopen() back to dlopen(), it works for me on Fedora 14, again: ======== diff -r 970a2994b23a monetdb5/mal/mal_linker.mx --- a/monetdb5/mal/mal_linker.mx Sun Mar 06 15:55:34 2011 +0100 +++ b/monetdb5/mal/mal_linker.mx Sun Mar 06 16:47:27 2011 +0100 @@ -261,7 +261,7 @@ snprintf(nme, MAXPATHLEN, "%s%c%s_%s%s", mod_path, DIR_SEP, SO_PREFIX, s, SO_EXT); #endif - handle = mdlopen(nme, mode); + handle = dlopen(nme, mode); /* try .so */ if (handle == NULL && strcmp(SO_EXT, ".so") != 0) { snprintf(nme, MAXPATHLEN, "%s%c%s_%s.so", ======== I cannot tell, though (i.e., haven't tested) whether this also work on Windows ... Shall I check in the above fix, and you can re-start testing on all platforms? Stefan On Sun, Mar 06, 2011 at 02:14:49PM +0100, Fabian Groffen wrote: > Changeset: dbfbd70e35cf for MonetDB > URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=dbfbd70e35cf > Modified Files: > monetdb5/mal/mal_linker.mx > Branch: Mar2011 > Log Message: > > loadLibrary: use mdlopen instead of dlopen directly > > mdlopen is wrapped for windows, which I didn't notice yesterday, hence I > unintendedly dropped the m. This may explain why windows can't load the > modules any more now. > (transplanted from 24ffad33e6ac5b67a339fd5c03777e3dbd53ab15) > > > diffs (26 lines): > > diff --git a/monetdb5/mal/mal_linker.mx b/monetdb5/mal/mal_linker.mx > --- a/monetdb5/mal/mal_linker.mx > +++ b/monetdb5/mal/mal_linker.mx > @@ -261,19 +261,19 @@ > snprintf(nme, MAXPATHLEN, "%s%c%s_%s%s", > mod_path, DIR_SEP, SO_PREFIX, s, SO_EXT); > #endif > - handle = dlopen(nme, mode); > + handle = mdlopen(nme, mode); > /* try .so */ > if (handle == NULL && strcmp(SO_EXT, ".so") != 0) { > snprintf(nme, MAXPATHLEN, "%s%c%s_%s.so", > mod_path, DIR_SEP, SO_PREFIX, s); > - handle = dlopen(nme, mode); > + handle = mdlopen(nme, mode); > } > #ifdef __APPLE__ > /* try .bundle */ > if (handle == NULL && strcmp(SO_EXT, ".bundle") != 0) { > snprintf(nme, MAXPATHLEN, "%s%c%s_%s.bundle", > mod_path, DIR_SEP, SO_PREFIX, s); > - handle = dlopen(nme, mode); > + handle = mdlopen(nme, mode); > } > #endif > if (handle != NULL) { > _______________________________________________ > Checkin-list mailing list > [email protected] > http://mail.monetdb.org/mailman/listinfo/checkin-list -- | Stefan.Manegold @ CWI.nl | DB Architectures (INS1) | | http://CWI.nl/~manegold/ | Science Park 123 (L321) | | Tel.: +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) | _______________________________________________ Checkin-list mailing list [email protected] http://mail.monetdb.org/mailman/listinfo/checkin-list
