On Sat, 11 May 2019, Marcin Błażejowski wrote: > On 11.05.2019 16:43, Cottrell, Allin wrote: > >> On Sat, May 11, 2019 at 8:16 AM Marcin Błażejowski <marcin(a)wrzosy.nsb.pl> >> wrote: >>> Hi, >>> >>> let start fresh gretl, define "New data set" as whatever and try to save >>> as gdt: gretl crashes and gdb says: "/usr/local/bin/gretl_x11: symbol >>> lookup error: /usr/local/bin/gretl_x11: undefined symbol: >>> dataset_is_subsampled". >> robroy:~/src$ git pull >> Already up to date. >> robroy:~/src$ find . -name "*.c" | xargs grep dataset_is_subsampled >> ./gui/dialogs.c: if (dataset_is_subsampled(dataset)) { >> ./gui/library.c: if (dataset_is_subsampled(dataset)) { >> ./gui/library.c: if (dataset_is_subsampled(dataset)) { >> ./gui/library.c: if (dataset_is_subsampled(dataset)) { >> ./lib/src/subsample.c:int dataset_is_subsampled (const DATASET *dset) >> ./lib/src/subsample.c: } else if (!dataset_is_subsampled(dset)) { >> robroy:~/src$ find . -name "*.h" | xargs grep dataset_is_subsampled >> ./lib/src/subsample.h:int dataset_is_subsampled (const DATASET *dset); > > Oh, > > the same as last time: in GNOME works fine, in Plasma gretl crashes. > > Maybe thise week I'll find some time to debug it.
Ok, good luck! I have no knowledge of Plasma, but given the error you describe I wonder if Plasma indulges in the sort of monkeying with upstream code that could be found in Ubuntu's "Unity" -- that is, driving a wedge between an application and the libraries against which it's linked, via LD_PRELOAD or equivalent. In this case, gretl_x11 is (supposed to be) linked against libgretl, which contains the public symbol dataset_is_subsampled, yet that symbol is apparently not found. Either your gretl build is broken, or some third party (Plasma?) is intercepting and breaking the required linkage. Allin