[Github-comments] [geany/geany-plugins] Added common utils lib (#620)

LarsGit223 notifications at xxxxx
Mon Oct 9 07:36:17 UTC 2017


@codebrainz: no, still does not work. To say it clearly: I can link successfully but the workbench plugin cannot be loaded any more. I still get that debug messages and the plugin manager doesn't show the workbench plugin any more and so I cannot start/use it.

This is the ```workbench``` part from the ```make install``` output:
```
Making install in workbench
make[1]: Entering directory '/home/lars/DokuWiki/repos/gp-branch-workbench3/geany-plugins/workbench'
Making install in src
make[2]: Entering directory '/home/lars/DokuWiki/repos/gp-branch-workbench3/geany-plugins/workbench/src'
make[3]: Entering directory '/home/lars/DokuWiki/repos/gp-branch-workbench3/geany-plugins/workbench/src'
make[3]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/lib/geany'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   workbench.la '/usr/local/lib/geany'
libtool: warning: relinking 'workbench.la'
libtool: install: (cd /home/lars/DokuWiki/repos/gp-branch-workbench3/geany-plugins/workbench/src; /bin/bash "/home/lars/DokuWiki/repos/gp-branch-workbench3/geany-plugins/libtool"  --silent --tag CC --mode=relink gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DPREFIX=\"/usr/local\" -DDOCDIR=\"/usr/local/share/doc/geany-plugins\" -DGEANYPLUGINS_DATADIR=\"/usr/local/share\" -DPKGDATADIR=\"/usr/local/share/geany-plugins\" -DLIBDIR=\"/usr/local/lib\" -DPKGLIBDIR=\"/usr/local/lib/geany-plugins\" -DPLUGINDATADIR=\"/usr/local/share/geany-plugins/workbench\" -DPLUGINDOCDIR=\"/usr/local/share/doc/geany-plugins/workbench\" -DPLUGINLIBDIR=\"/usr/local/lib/geany-plugins/workbench\" -DPLUGIN=\"workbench\" -DGTK -pthread -I/usr/local/include/geany -I/usr/local/include/geany/tagmanager -I/usr/local/include/geany/scintilla -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -Wimplicit-function-declaration -Wmissing-parameter-type -Wold-style-declaration -Wpointer-arith -Wshadow -Wundef -Wwrite-strings -I../../utils/src -g -O2 -module -avoid-version -no-undefined -Wl,-z,defs -o workbench.la -rpath /usr/local/lib/geany workbench_la-plugin_main.lo workbench_la-wb_globals.lo workbench_la-workbench.lo workbench_la-wb_project.lo workbench_la-dialogs.lo workbench_la-menu.lo workbench_la-popup_menu.lo workbench_la-sidebar.lo workbench_la-utils.lo -L/usr/local/lib -lgeany -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lglib-2.0 ../../utils/src/libgeanypluginutils.la )
libtool: install: /usr/bin/install -c .libs/workbench.soT /usr/local/lib/geany/workbench.so
libtool: install: /usr/bin/install -c .libs/workbench.lai /usr/local/lib/geany/workbench.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib/geany
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/geany
```
At the end of the very long line I see ```../../utils/src/libgeanypluginutils.la```: is that correct that there is a relative path?

I see the utils lib being installed under:
- /usr/local/lib/libgeanypluginutils.la
- /usr/local/lib/libgeanypluginutils.so
- /usr/local/lib/libgeanypluginutils.so.0
- /usr/local/lib/libgeanypluginutils.so.0.0.0
I can see all the plugin libs under ```/usr/local/lib/geany```, including the workbench libs.

But I still cannot load it. The debug messages in geany still show:
```
09:20:25: Geany INFO		: Can't load plugin: libgeanypluginutils.so.0: cannot open shared object file: No such file or directory
09:20:25: Geany INFO		: Failed to load "/usr/local/lib/geany/workbench.so" - ignoring plugin!
```
What I wonder about is that there is no path in front of libgeanypluginutils.so.0 and I am not sure if it has any meaning that the output says ```Can't load plugin: libgeanypluginutils.so.0```. I mean it is not really a plugin. But maybe that has no meaning.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/620#issuecomment-335083934
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171009/53a4c4e2/attachment.html>


More information about the Github-comments mailing list