FWIW I can reproduce the issue.  See below...

René Berber via Cygwin wrote:
On 11/22/2023 10:27 PM, J.F. Huesman via Cygwin wrote:

(I tried to reply to this message twice and got mailer-daemon failure
notices both times. My apologies if this is a duplicate message.) Yes, they are installed. which xwin xinit/usr/bin/xwin/usr/bin/xinit

When I try to run inkscape, I don't get any errors and there were no
messages about missing programs or dependencies when I ran the
installer. I'm not trying to start a GUI. I have a script that I used
to batch convert svg images in a folder to png. When that script
wouldn't work (I've used it on other machines, including this one
years ago using 32-bit cygwin instead of 64-bit that I'm using now) I
started trying to invoke it from the command line, and that's when I
discovered it's not doing anything. If I start Cygwin64 WindowMaker
and type "inkscape" into the right-click run dialogue, I get a popup
window, ErrorCould not execute command: inkscape

OK, then start from the basics:

$ ldd $(which inkscape)

Look at the output.  Is any dll shown as missing?

In the answer is no, then next check your anti-virus.  Is it blocking the program? Is it injecting a dll?

Another set of tests would be, is the program installed correctly? i.e. is it executable? Is not corrupt? A bit more difficult: is it loading libraries into valid space (non colliding, in available memory).

I installed inkscape and tried running the .exe. It returns to shell prompt but its exit code is 127, indicating a problem starting the process up. ldd doesn't show anything amiss; as an aside that's an unusually long list of DLLs.

I ran 'strace -o inkscape.out inkscape -V' and looked at the traced output.
It ends with:

--- Process 11940 (pid: 11940), exception c0000139 at 00007ffaecf324f6
--- Process 11940 (pid: 11940) thread 1172 exited with status 0xc0000139
--- Process 11940 (pid: 11940) thread 1888 exited with status 0xc0000139
--- Process 11940 (pid: 11940) thread 5544 exited with status 0xc0000139
--- Process 11940 (pid: 11940) exited with status 0xc0000139

I grep'd /usr/include/w32api/ntstatus.h for that status and got:
#define STATUS_ENTRYPOINT_NOT_FOUND ((NTSTATUS)0xC0000139)

I then tried running inkscape.exe from a Command Prompt window and got a popup:
"The procedure entry point g_cclosure_marshal_VOID__BOOLEAN could not be located
in the dynamic link library C:\cygwin64\bin\inkscape.exe."

Why this happens, I leave to somebody experienced with building inkscape itself.
HTH,

..mark

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to