Open tylerecouture opened 7 years ago
Need more info: what platform and where did you get the binaries for resynthesizer? The error message seems to say that resynthesizer plugin was built for a different architecture than the gimp libraries. Maybe one was built for 32-bit and the other for 64-bit. For example, I think someone can install 64-bit linux, but to run binaries built for 32-bit linux, you might need to install extra packages. I can do more research once you tell me your details.
Thanks for the reply! We are running Ubuntu 16.04 (64 bit). From my travels on the interweb it appears that no 64bit build is available except through Otto's gimp-plugin-registry package?
Running Debian bullseye/sid and using Gimp 2.10. I extracted the files of this plugin into .config/GIMP/2.10/plug-ins/ Also, I have installed gimp-python via apt.
When I start Gimp, it prints out this error message:
~/.config/GIMP/2.10/plug-ins/resynthesizer-gui: error while loading shared libraries: libgimpui-2.0.so.0: wrong ELF class: ELFCLASS64
gimp: LibGimpBase-WARNUNG: gimp: gimp_wire_read(): error
~/.config/GIMP/2.10/plug-ins/resynthesizer: error while loading shared libraries: libgimpui-2.0.so.0: wrong ELF class: ELFCLASS64
gimp: LibGimpBase-WARNUNG: gimp: gimp_wire_read(): error
and if I still try to apply e.g. "heal selection", this error occurs:
Taceback (most recent call last): File "/usr/lib/gimp/2.0/python/gimpfu.py", line 740, in response dialog.res = run_script(params) File "/usr/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script return apply(function, params) File "/home/roni/.config/GIMP/2.10/plug-ins/plugin-heal-selection.py", line 148, in heal_selection pdb.plug_in_resynthesizer(timg, tdrawable, 0,0, useBorder, work_drawable.ID, -1, -1, 0.0, 0.117, 16, 500) gimp.error: procedure not found
Any ideas how to resolve this issue?
Its a 32 versus 64 bit problem. It seems like the shared library is compiled 64bit (ELFCLASS64 in the message) but the calling app (resynthesizer or GIMP) is compiled 32-bit. I would guess you did not build the resynthesizer yourself, but downloaded a binary (that someone else built) that was compiled 32-bit. You probably need to download a packaging of resynthesizer that was built 64-bit.
I'm getting these errors when trying to run the plugin in GIMP 2.8.20
Any ideas whay I can do?