pcre problem with compiling on Linux

Jul 19, 4:43 am
#1
Joined: Jul 19, 2025
Posts: 1
Hi guys! Did a quick search, but didn't really find this specific problem. I've tried compiling the game some time ago, the resulting binary starts but crashes when trying to start new game:

Segmentation fault
./ivan(_ZN18globalerrorhandler22DumpStackTraceToStdErrEi+0x38)[0x59fcb7da3076]
./ivan(_Z12CrashHandleri+0x19)[0x59fcb7d2e2c2]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7360fc042520]
/lib/x86_64-linux-gnu/libc.so.6(rewind+0xd)[0x7360fc087f2d]
./ivan(_ZN8iosystem14StringQuestionER8festringRKS0_2v2immbbPFbiS1_E+0x23b)[0x59fcb7da4b5f]
./ivan(_ZN4game4InitERK8festring+0x146)[0x59fcb7c41c76]
./ivan(main+0xa91)[0x59fcb7d2edae]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7360fc029d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7360fc029e40]
./ivan(_start+0x25)[0x59fcb7ae6bf5]

Then I got the most recent pcre-8.45 from the sourceforge, compiled it and installed, then at the end of the IVAN compilation I got this warning:

/usr/bin/ld: warning: libpcre.so.3, needed by /lib/x86_64-linux-gnu/libglib-2.0.so.0, may conflict with libpcre.so.1

and now the resulting binary doesn't start and the error message is:

./ivan: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

What should I do?

I'm using Ubuntu with 6.8.0-60-generic kernel
Jump to