Resolved by myself. QPIDC_MODULE_DIR was defined to my _installed_ qpid copy in /usr/local/lib64/qpid/client (including legacystore) and that variable was used as default value of --module-dir option. So legacystore was loaded from installed but not built qpid.
Setting --module-dir=./src/ resolved it. ----- Original Message ----- > From: "Pavel Moravec" <[email protected]> > To: [email protected] > Sent: Thursday, June 26, 2014 4:22:18 PM > Subject: How to enable linearstore? > > Hi all, > I wanted to enable linearstore in upstream qpid but failed so - any idea what > I did wrong? > > 1) svn checkout https://svn.apache.org/repos/asf/qpid/trunk/qpid qpid > 2) cd qpid/cpp > 3) set in src/legacystore.cmake "legacystore_default OFF" on both places > 4) set in src/linearstore.cmake "linearstore_default ON" on both places > 5) mkdir BLD; cd BLD; cmake ..; make > 6) ./src/qpidd --load-module=src/linearstore.so > --load-module=src/liblinearstoreutils.so --data-dir=.qpidd/ > --store-dir=.qpidd/ > returns me: > > 2014-06-26 15:16:09 [Broker] critical Unexpected error: msgstore: If > --data-dir is blank or --no-data-dir is specified, --store-dir must be > present. > > The interesting point is, this error comes from _legacy_ store > (src/qpid/legacystore/StorePlugin.cpp). > > Why if I disabled legacy store? > > Thanks in advance for any help. > > > > Kind regards, > Pavel > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
