PureBasic Linux - Segmentation fault (core dumped)

Linux specific forum
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

PureBasic Linux - Segmentation fault (core dumped)

Post by Mistrel »

I'm having trouble getting PureBasic for Linux setup. I've run ./checkinstall.sh and still have some missing dependencies such as libgnome-2.0 but I don't think this should be a problem if I'm building from the command line and use a limited set of commands for testing.

I've tried to build on Ubuntu 16.04 LTS and Debian 10.8 but I keep getting the following error:

Code: Select all

******************************************
PureBasic 5.73 LTS (Linux - x64) Free
******************************************

Loading external modules...
Starting compilation...
Starting compilation...
3 lines processed.
Creating the executable.
Segmentation fault
Error: Assembler
My program is simple:

Code: Select all

OpenConsole()
PrintN("123")
I am logging into the machine remotely so I am calling pbcompiler directly:

Code: Select all

export PUREBASIC_HOME=/opt/purebasic/

$PUREBASIC_HOME/compilers/pbcompiler test.pb -e test
I also had the same result trying PureBasic 5.62 on Ubuntu so this isn't an issue with the most recent build.

Does anyone have any idea what's wrong or how to debug this further?