On November 12, 2018 3:35:10 AM UTC, Michael Steeves <stee...@raingods.net> wrote: >I'd e-mailed about the list about getting this error when trying to >launch R: > >22:29 steevmi1@pattern:~$ R > >R version 3.5.1 (2018-07-02) -- "Feather Spray" >Copyright (C) 2018 The R Foundation for Statistical Computing >Platform: x86_64-unknown-openbsd6.4 (64-bit) > >R is free software and comes with ABSOLUTELY NO WARRANTY. >You are welcome to redistribute it under certain conditions. >Type 'license()' or 'licence()' for distribution details. > > Natural language support but running in an English locale > > R is a collaborative project with many contributors. > Type 'contributors()' for more information and > 'citation()' on how to cite R or R packages in publications. > > Type 'demo()' for some demos, 'help()' for on-line help, or > 'help.start()' for an HTML browser interface to help. > Type 'q()' to quit R. > > R:/usr/lib/libreadline.so.4.0: undefined symbol 'tgetent' > ld.so: R: lazy binding failed! > Killed > >I'm also seeing this with gpg2: > >22:30 steevmi1@pattern:~$ gpg2 --full-generate-key >gpg (GnuPG) 2.2.10; Copyright (C) 2018 Free Software Foundation, Inc. >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. > >Please select what kind of key you want: > (1) RSA and RSA (default) > (2) DSA and Elgamal > (3) DSA (sign only) > (4) RSA (sign only) >gpg2:/usr/lib/libreadline.so.4.0: undefined symbol 'tgetent' >ld.so: gpg2: lazy binding failed! >Killed > >I've updated my system to the latest snapshot, and then upgraded all >the >packages (and rebooted for good measure), but I still see these errors. >I >assume there's no simple fix for this, and I'd need to either file bugs >(and >wait until they're fixed), or else build the ports myself? > >-Mike
This is an issue with readline with several ports that's fallout from the switch to ld.lld as far as I understand. I learned today that you can preload libncurses for the moment as a workaround until this is fixed. It works at least with gpg2 for me: $ LD_PRELOAD="libncurses.so" gpg2 -e May also work with R... (sent from my phone)