Re: undefined symbol tgetent
On 2018-11-12, tfrohw...@fastmail.com wrote: > 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... Yes, this should workaround the problem in most if not all affected ports. (it won't work for setuid prpgrams, but I don't think any of the affected ports are setuid). We are looking at a more general fix.
Re: undefined symbol tgetent
On 2018-11-12, Michael Steeves wrote: > 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? The problem is known and understood. It's now a matter of either (1) pushing for a general solution in base or (2) fixing all 30+ potentially affected ports individually. We'll just have to wait until somebody gets around to doing either. Building the port yourself will just reproduce the problem. -- Christian "naddy" Weisgerber na...@mips.inka.de
Re: undefined symbol tgetent
On November 12, 2018 3:35:10 AM UTC, Michael Steeves 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)
undefined symbol tgetent
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 -- Michael Steeves (stee...@raingods.net)