You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
Cannot load plugins after successful compilation. pgModeler starts, but plugins are not loaded and error is reported before the main window opens.
My qmake was like this:
→ /usr/bin/qmake -r PREFIX=$INSTALLATION_ROOT BINDIR=$INSTALLATION_ROOT \
PRIVATEBINDIR=$INSTALLATION_ROOT PRIVATELIBDIR=$INSTALLATION_ROOT/lib PLUGINSDIR=$INSTALLATION_ROOT/plugins pgmodeler.pro
Reading /home/milan/Applications/pgmodeler/libutils/libutils.pro
Reading /home/milan/Applications/pgmodeler/libparsers/libparsers.pro
Reading /home/milan/Applications/pgmodeler/libpgmodeler/libpgmodeler.pro
Reading /home/milan/Applications/pgmodeler/libpgconnector/libpgconnector.pro
Reading /home/milan/Applications/pgmodeler/libobjrenderer/libobjrenderer.pro
Reading /home/milan/Applications/pgmodeler/libpgmodeler_ui/libpgmodeler_ui.pro
Reading /home/milan/Applications/pgmodeler/plugins/plugins.pro
Reading /home/milan/Applications/pgmodeler/plugins/dummy/dummy.pro
Reading /home/milan/Applications/pgmodeler/plugins/xml2object/xml2object.pro
Reading /home/milan/Applications/pgmodeler/plugins/graphicalquerybuilder/graphicalquerybuilder.pro
Reading /home/milan/Applications/pgmodeler/crashhandler/crashhandler.pro
Reading /home/milan/Applications/pgmodeler/main-cli/main-cli.pro
Reading /home/milan/Applications/pgmodeler/main/main.pro
** pgModeler build details **
PREFIX = /home/milan/Apps/pgModeler
BINDIR = /home/milan/Apps/pgModeler
PRIVATEBINDIR = /home/milan/Apps/pgModeler
PRIVATELIBDIR = /home/milan/Apps/pgModeler/lib
PLUGINSDIR = /home/milan/Apps/pgModeler/plugins
SHAREDIR = /home/milan/Apps/pgModeler/share/pgmodeler
CONFDIR = /home/milan/Apps/pgModeler/share/pgmodeler/conf
DOCDIR = /home/milan/Apps/pgModeler/share/pgmodeler
LANGDIR = /home/milan/Apps/pgModeler/share/pgmodeler/lang
SAMPLESDIR = /home/milan/Apps/pgModeler/share/pgmodeler/samples
SCHEMASDIR = /home/milan/Apps/pgModeler/share/pgmodeler/schemas
* To change a variable value run qmake again setting the desired value e.g.:
> qmake PREFIX+=/usr/local -r pgmodeler.pro
* Proceed with build process by running:
> make && make install
Upon starting pgmodeler, I get the following stack trace:
[0] src/settings/pluginsconfigwidget.cpp (151)
virtual void PluginsConfigWidget::loadConfiguration()
[PluginsNotLoaded] One or more plugins were not activated due to errors during the loading process! Check the exception stack for more details.
[1] src/settings/pluginsconfigwidget.cpp (143)
virtual void PluginsConfigWidget::loadConfiguration()
[PluginNotLoaded] Could not load the plugin `xml2object' from the library `/home/milan/Apps/pgModeler/plugins/xml2object/libxml2object.so'! Message returned by plugin manager: `Cannot load library /home/milan/Apps/pgModeler/plugins/xml2object/libxml2object.so: (/lib/libpgmodeler.so.1: undefined symbol: _ZN12SchemaParser16CharIniAttributeE)'
[2] src/settings/pluginsconfigwidget.cpp (143)
virtual void PluginsConfigWidget::loadConfiguration()
[PluginNotLoaded] Could not load the plugin `graphicalquerybuilder' from the library `/home/milan/Apps/pgModeler/plugins/graphicalquerybuilder/libgraphicalquerybuilder.so'! Message returned by plugin manager: `Cannot load library /home/milan/Apps/pgModeler/plugins/graphicalquerybuilder/libgraphicalquerybuilder.so: (/lib/libpgmodeler.so.1: undefined symbol: _ZN12SchemaParser16CharIniAttributeE)'
[3] src/settings/pluginsconfigwidget.cpp (143)
virtual void PluginsConfigWidget::loadConfiguration()
[PluginNotLoaded] Could not load the plugin `dummy' from the library `/home/milan/Apps/pgModeler/plugins/dummy/libdummy.so'! Message returned by plugin manager: `Cannot load library /home/milan/Apps/pgModeler/plugins/dummy/libdummy.so: (/lib/libpgmodeler.so.1: undefined symbol: _ZN12SchemaParser16CharIniAttributeE)'
All the files, including plugins, are placed in correct places upon make install:
Bug description
Cannot load plugins after successful compilation. pgModeler starts, but plugins are not loaded and error is reported before the main window opens.
My qmake was like this:
Upon starting pgmodeler, I get the following stack trace:
All the files, including plugins, are placed in correct places upon
make install
:How to reproduce
Checkout the current 0.9.4-beta1 branch, setup plugins and compile.
Expected behavior
pgmodeler starts with plugins.
Info about your desktop
The text was updated successfully, but these errors were encountered: