Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

wxCrafter library not loaded #210

Closed
eranif opened this Issue Jan 20, 2014 · 15 comments

Comments

Projects
None yet
6 participants
Owner

eranif commented Jan 20, 2014

When starting CodeLite, wxCrafter.so is not loaded. The following error appears in ~/.codelite/codelite.log:

[ 20:40:38:357 SYS ] Starting codelite...
[ 20:40:39:363 ERR ] Failed to load plugin's dll: /usr/lib64/codelite/wxCrafter.so
[ 20:40:39:363 ERR ] /usr/lib64/codelite/wxCrafter.so: symbol _ZThn744_N14wxPropertyGrid5ClearEv, version WXU_3.0 not defined in file libwx_gtk2u_propgrid-3.0.so.0 with link time reference
[ 20:40:47:480 SYS ] Bye

More information:
CodeLite 5.4
wxCrafter 1.4
wxgtk 3.0.0-2
Arch Linux 3.12.7-2-ARCH

rprego commented Jan 21, 2014

I was the creator of this issue on Sourceforge before the move to GitHub; I would be glad to provide any information to assist with resolving this issue.

Owner

eranif commented Jan 21, 2014

Hi,
Where did you get the wxCrafter.so and codelite 5.4 ? (we don't provide ArchLinux for 5.4 atm - I got the binaries need to upload them...)
Is this a self compiled codelite?

Thanks
Eran

rprego commented Jan 21, 2014

I installed it from the Arch Linux AUR (https://aur.archlinux.org/packages/codelite/).
Upon installation, it grabs the 5.4 source package from Sourceforge and the Fedora wxCrafter.so from the codelite repo.

Collaborator

dghart commented Jan 22, 2014

Hi,

(I build the fedora and debian wxCrafter packages.)
I can think of 3 possible reasons for this issue:

  1. wxCrafter (and CodeLite itself?) are being installed to /usr/lib64/, while the wxWidgets libs are in /usr/lib/. I doubt if that's the cause though; the linker should be able to cope, and the libs are being found.
  2. The arch wxWidgets build is in some way incompatible with the unofficial fedora one used to build wxCrafter.
  3. When I build CodeLite and wxCrafter packages, I generally find that a single 64-bit wxCrafter.so built on the latest fedora will work on all fedora/suse versions, and another built on debian wheezy will work on various ubuntu versions too. However this sometimes fails, for no obvious reason e.g. for 5.4/1.4, it failed for ubuntu saucy 32-bit but succeeded for 64-bit :/, so I have to re-build wxCrafter on the offending version. When this happens, I get the same sort of error on loading as you found.

Solutions: You could try downloading the debian wxCrafter.so, http://repos.codelite.org/wxCrafterLibs/wheezy/64/wxCrafter.so, then 'installing' it by hand into the CodeLite dir. No promises, though.
Otherwise someone will need to build wxCrafter on arch...

rprego commented Jan 25, 2014

Unfortunately the Debain wxCrafter.so won't work for Arch due to the libraries it depends on having different names (I only include a snippet of the ldd output below):

# ldd wxCrafter.so
libwx_gtk2u_unofficial_aui-3.0.so.0 => not found
libwx_gtk2u_unofficial_propgrid-3.0.so.0 => not found
libwx_gtk2u_unofficial_stc-3.0.so.0 => not found
libwx_gtk2u_unofficial_richtext-3.0.so.0 => not found
libwx_gtk2u_unofficial_ribbon-3.0.so.0 => not found
libwx_gtk2u_unofficial_xrc-3.0.so.0 => not found
libwx_gtk2u_unofficial_webview-3.0.so.0 => not found
libwx_gtk2u_unofficial_html-3.0.so.0 => not found
libwx_gtk2u_unofficial_qa-3.0.so.0 => not found
libwx_gtk2u_unofficial_adv-3.0.so.0 => not found
libwx_gtk2u_unofficial_core-3.0.so.0 => not found

I would be happy to build wxCrafter on Arch and contribute it back to the project, given the source code.

Fisiu commented Jan 27, 2014

I'm facing with the same issue on openSUSE 13.1. I use wxWidgets_3.0 from X11:wxWidgets repository. Just build codelite-5.4 against it. wxCrafter rpm installed from http://repos.codelite.org/wxCrafterLibs/fedora/64/wxcrafter-1.4-1.x86_64.rpm
ldd wxCrafter.so

linux-vdso.so.1 (0x00007fffe4f85000)
libwx_gtk2u_aui-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_gtk2u_aui-3.0.so.0 (0x00007f171a2b6000)
libwx_gtk2u_propgrid-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_gtk2u_propgrid-3.0.so.0 (0x00007f1719fd9000)
libwx_gtk2u_stc-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_gtk2u_stc-3.0.so.0 (0x00007f1719b9c000)
libwx_gtk2u_richtext-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_gtk2u_richtext-3.0.so.0 (0x00007f17197ea000)
libwx_gtk2u_ribbon-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_gtk2u_ribbon-3.0.so.0 (0x00007f171957d000)
libwx_gtk2u_xrc-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_gtk2u_xrc-3.0.so.0 (0x00007f1719281000)
libwx_gtk2u_webview-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_gtk2u_webview-3.0.so.0 (0x00007f1719063000)
libwx_gtk2u_html-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_gtk2u_html-3.0.so.0 (0x00007f1718d90000)
libwx_gtk2u_qa-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_gtk2u_qa-3.0.so.0 (0x00007f1718b68000)
libwx_gtk2u_adv-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_gtk2u_adv-3.0.so.0 (0x00007f1718792000)
libwx_gtk2u_core-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_gtk2u_core-3.0.so.0 (0x00007f1717fe7000)
libwx_baseu_xml-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_baseu_xml-3.0.so.0 (0x00007f1717dd8000)
libwx_baseu_net-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_baseu_net-3.0.so.0 (0x00007f1717b94000)
libwx_baseu-3.0.so.0 => /usr/lib64/wx-3.0-stl/libwx_baseu-3.0.so.0 (0x00007f171774c000)
libwxsqlite3.so => /usr/lib64/codelite/libwxsqlite3.so (0x00007f1717494000)
liblibcodelite.so => /usr/lib64/codelite/liblibcodelite.so (0x00007f1716ef4000)
libplugin.so => /usr/lib64/codelite/libplugin.so (0x00007f17168e3000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f17165db000)
libm.so.6 => /lib64/libm.so.6 (0x00007f17162d8000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f17160c0000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1715ea2000)
libc.so.6 => /lib64/libc.so.6 (0x00007f1715af3000)
libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007f17154b3000)
libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x00007f17151fe000)
libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f1714fad000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f1714ca9000)
libwebkitgtk-1.0.so.0 => /usr/lib64/libwebkitgtk-1.0.so.0 (0x00007f17130d6000)
libmspack.so.0 => /usr/lib64/libmspack.so.0 (0x00007f1712ec1000)
libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x00007f1712ca0000)
libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007f1712a54000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f1712715000)
libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x00007f1712508000)
libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007f17121e9000)
libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007f1711fe2000)
libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f1711da5000)
libtiff.so.5 => /usr/lib64/libtiff.so.5 (0x00007f1711b30000)
libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f1711905000)
libz.so.1 => /lib64/libz.so.1 (0x00007f17116ef000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f17114eb000)
/lib64/ld-linux-x86-64.so.2 (0x00007f171ac90000)
libssh.so.4 => /usr/lib64/libssh.so.4 (0x00007f17112a9000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007f17110a6000)
libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f1710ea1000)
libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f1710c9b000)
libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007f1710a77000)
libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007f171070f000)
libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007f17104fb000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f17102be000)
libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f17100b3000)
libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007f170feb0000)
libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f170fca0000)
libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f170fa95000)
libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007f170f88a000)
libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007f170f687000)
libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007f170f483000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f170f271000)
libffi.so.4 => /usr/lib64/libffi.so.4 (0x00007f170f069000)
libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007f170ee02000)
libjavascriptcoregtk-1.0.so.0 => /usr/lib64/libjavascriptcoregtk-1.0.so.0 (0x00007f170e787000)
libenchant.so.1 => /usr/lib64/libenchant.so.1 (0x00007f170e57b000)
libgailutil.so.18 => /usr/lib64/libgailutil.so.18 (0x00007f170e372000)
libgeoclue.so.0 => /usr/lib64/libgeoclue.so.0 (0x00007f170e15b000)
libgstapp-1.0.so.0 => /usr/lib64/libgstapp-1.0.so.0 (0x00007f170df4e000)
libgstaudio-1.0.so.0 => /usr/lib64/libgstaudio-1.0.so.0 (0x00007f170dd07000)
libgstpbutils-1.0.so.0 => /usr/lib64/libgstpbutils-1.0.so.0 (0x00007f170dae1000)
libgstvideo-1.0.so.0 => /usr/lib64/libgstvideo-1.0.so.0 (0x00007f170d89e000)
libgstbase-1.0.so.0 => /usr/lib64/libgstbase-1.0.so.0 (0x00007f170d645000)
libgstreamer-1.0.so.0 => /usr/lib64/libgstreamer-1.0.so.0 (0x00007f170d340000)
libjpeg.so.8 => /usr/lib64/libjpeg.so.8 (0x00007f170d0ef000)
libsoup-2.4.so.1 => /usr/lib64/libsoup-2.4.so.1 (0x00007f170ce29000)
libxslt.so.1 => /usr/lib64/libxslt.so.1 (0x00007f170cbea000)
libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f170c87f000)
libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f170c61d000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f170c37b000)
libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00007f170c0c8000)
libicui18n.so.51.2 => /usr/lib64/libicui18n.so.51.2 (0x00007f170bcb6000)
libicuuc.so.51.2 => /usr/lib64/libicuuc.so.51.2 (0x00007f170b939000)
libXt.so.6 => /usr/lib64/libXt.so.6 (0x00007f170b6d2000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f170b4b1000)
libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007f170b208000)
libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007f170afe5000)
libxcb-shm.so.0 => /usr/lib64/libxcb-shm.so.0 (0x00007f170ade2000)
libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 (0x00007f170abd8000)
librt.so.1 => /lib64/librt.so.1 (0x00007f170a9cf000)
liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007f170a7a9000)
libjbig.so.2 => /usr/lib64/libjbig.so.2 (0x00007f170a59c000)
libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007f170a1b1000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f1709f8c000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f1709d75000)
libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f1709b22000)
libdbus-glib-1.so.2 => /usr/lib64/libdbus-glib-1.so.2 (0x00007f17098f9000)
libgsttag-1.0.so.0 => /usr/lib64/libgsttag-1.0.so.0 (0x00007f17096c1000)
libglapi.so.0 => /usr/lib64/libglapi.so.0 (0x00007f1709499000)
libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007f1709297000)
libxcb-glx.so.0 => /usr/lib64/libxcb-glx.so.0 (0x00007f170907e000)
libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007f1708e79000)
libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007f1708c6d000)
libicudata.so.51.2 => /usr/lib64/libicudata.so.51.2 (0x00007f1708a6b000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f1708863000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f1708647000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f1708442000)
libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x00007f170823b000)
libgbm.so.1 => /usr/lib64/libgbm.so.1 (0x00007f1708033000)
libwayland-client.so.0 => /usr/lib64/libwayland-client.so.0 (0x00007f1707e25000)
libwayland-server.so.0 => /usr/lib64/libwayland-server.so.0 (0x00007f1707c15000)
libudev.so.1 => /usr/lib64/libudev.so.1 (0x00007f1707a03000)
libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007f17077e6000)
libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f170759e000)
libuuid.so.1 => /usr/lib64/libuuid.so.1 (0x00007f1707398000)

codelite.log tells us, that our wxWidgets lib (libwx_gtk2u_propgrid-3.0.so.0) has missing symbols: libwx_gtk2u_propgrid-3.0.so.0

Did You use any fancy option to build wxWidgets you ship?

Collaborator

dghart commented Jan 27, 2014

Did You use any fancy option to build wxWidgets you ship?

Nothing that I'd call unusual. I adapted it from an old official wx2.8 one. You can see for yourself if you d/l the source rpm (or ask me on #codelite).

I use wxWidgets_3.0 from X11:wxWidgets repository

I'm glad to hear that there is a Suse wx3.0 now, though it doesn't seem to have reached the standard 13.1 repo. Once it does, or for future Suse releases, I'll build wxCrafter packages against it.

@dghart dghart closed this Jan 27, 2014

@dghart dghart reopened this Jan 27, 2014

Fisiu commented Jan 30, 2014

wxWidgets-3_0 is on the way into Factory: https://build.opensuse.org/request/show/213979
Anyway, 13.1 won't get wxWidgets 3.0 in standard repository. If users want it now, they can install it from X11:wxWidgets.

@eranif eranif closed this Jun 4, 2014

enjolras commented Jun 5, 2014

Hi,

I'm the Arch Linux packager of codelite. I'm finishing pkg for the lastest version 6.0 and the wxCrafter.so problem persists:

[ 13:48:34:669 ERR ] Failed to load plugin's dll: /usr/lib64/codelite/wxCrafter.so
[ 13:48:34:671 ERR ] /usr/lib64/codelite/wxCrafter.so: symbol _ZThn744_N14wxPropertyGrid5ClearEv, version WXU_3.0 not defined in file libwx_gtk2u_propgrid-3.0.so.0 with link time reference

Seems obvious that the only way of fixing it is by compiling wxCrafter.so for Arch (Fedora's build worked until CodeLite 5.3/wxCrafter 1.3, but not anymore). I'd be happy of contributing builds for Arch (I'll need the sources for that and, of course, I'm willing to honor any required NDAs) or helping CodeLite team, in any way they can find useful, to do it. There's a pretty good CodeLite userbase in Arch, and it's a pitty that they can't take advantage of the wxCrafter plugin.

Bets regards

Owner

eranif commented Jun 5, 2014

Please contact me with your private email

Thanks
Eran

On Thu, Jun 5, 2014 at 3:05 PM, enjolras notifications@github.com wrote:

Hi,

I'm the Arch Linux packager of codelite. I'm finishing pkg for the lastest
version 6.0 and the wxCrafter.so persists:

[ 13:48:34:669 ERR ] Failed to load plugin's dll: /usr/lib64/codelite/wxCrafter.so
[ 13:48:34:671 ERR ] /usr/lib64/codelite/wxCrafter.so: symbol _ZThn744_N14wxPropertyGrid5ClearEv, version WXU_3.0 not defined in file libwx_gtk2u_propgrid-3.0.so.0 with link time reference

Seems obvious that the only way of fixing it is by compiling wxCrafter.so
for Arch (Fedora's build worked until CodeLite 5.3/wxCrafter 1.3, but not
anymore). I'd be happy of contributing builds for Arch (I'll need the
sources for that and, of course, I'm willing to honor any required NDAs) or
helping CodeLite team, in any way they can find useful, to do it. There's a
pretty good CodeLite userbase in Arch, and it's a pitty that they can't
take advantage of the wxCrafter plugin.

Bets regards


Reply to this email directly or view it on GitHub
#210 (comment).

Eran Ifrah
Author of codelite, a cross platform open source C/C++ IDE:
http://www.codelite.org
wxCrafter, a wxWidgets RAD: http://wxcrafter.codelite.org

@eranif eranif reopened this Jun 5, 2014

Owner

eranif commented Jun 6, 2014

The ArchLinux binaries have been updated

@eranif eranif closed this Jun 6, 2014

I recently registered wxCrafter, having read this thread and assumed that I'd be able to run it on my Arch distro. However, the Arch directories (http://repos.codelite.org/wxCrafter-2.0/ArchLinux/32/ and http://repos.codelite.org/wxCrafter-2.0/ArchLinux/64/) appear to be empty.

Is Arch no longer supported? I tried other wxCrafter.so files but am running into the same "_ZThn720_N14wxPropertyGrid5ClearEv, version WXU_3.0 not defined" issue.

Owner

eranif commented Apr 12, 2015

I recently registered wxCrafter, having read this thread and assumed that I'd be able to run it on my
Arch distro. However, the Arch directories (http://repos.codelite.org/wxCrafter-2.0/ArchLinux/32/ and
http://repos.codelite.org/wxCrafter-2.0/ArchLinux/64/) appear to be empty.

This is why I encourage people to try before they register...

@wallacewinfrey: we have 2 options here:

  • I can send you the tar ball for wxCrafter 2.0 and you can build it
  • I can refund you the money

Let me know me what you prefer

@eranif Even if it doesn't work, I don't need a refund. There are plenty of other platforms I can run it on and I support the work you're doing. I mentioned registration in case that was relevant to the issue somehow :-)

Please send me the tarball and I'll build it. Is the tarball for the plugin or the stand-alone?

Thank you for the prompt reply.

Owner

eranif commented Apr 12, 2015

@wallacewinfrey Please contact me with your private email so I will send you the tar ball + build instructions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment