For the lazy, you can also install ncurses5-compat-libs package from my personal repository.
[bpiotrowski]
Server = https://pkgbuild.com/~bpiotrowski/repo
Git Clone URL: | https://aur.archlinux.org/ncurses5-compat-libs.git (read-only, click to copy) |
---|---|
Package Base: | ncurses5-compat-libs |
Description: | System V Release 4.0 curses emulation library, ABI 5 |
Upstream URL: | http://invisible-island.net/ncurses/ncurses.html |
Licenses: | MIT |
Conflicts: | libtinfo5 |
Provides: | libtinfo5 |
Submitter: | Barthalion |
Maintainer: | micwoj92 |
Last Packager: | micwoj92 |
Votes: | 590 |
Popularity: | 1.99 |
First Submitted: | 2015-09-18 21:03 (UTC) |
Last Updated: | 2024-07-16 20:06 (UTC) |
« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 27 Next › Last »
For the lazy, you can also install ncurses5-compat-libs package from my personal repository.
[bpiotrowski]
Server = https://pkgbuild.com/~bpiotrowski/repo
Links offline ...
I'm also getting the "checking whether able to link to dl*() functions... configure: error: Cannot link test program for libdl"
error.
As a hacky workaround, you could download the PKGBUILD and append --without-dlsym
to the ./configure line (do not use dlsym() to load GPM dynamically, which skips the libdl dependency), but then you might lose mouse support via GPM.
The sample program compiles cleanly on my system which has /usr/lib/libdl-2.26.so if I specify -ldl
explicitly:
cat > test.c <<EOF
#include <dlfcn.h>
int main (void) {
void *obj;
if ((obj = dlopen("filename", 0)) != 0) {
if (dlsym(obj, "symbolname") == 0) {
dlclose(obj);
}
}
return 0;
}
EOF
gcc test.c
/tmp/ccbVksNq.o: In function 'main':
test.c:(.text+0x15): undefined reference to `dlopen'
test.c:(.text+0x33): undefined reference to `dlsym'
test.c:(.text+0x44): undefined reference to `dlclose'
collect2: error: ld returned 1 exit status
gcc test.c -ldl
# Works, no output
ldd /usr/lib/libdl-2.26.so
linux-vdso.so.1 (0x00007fff02b87000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fd6cef60000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007fd6cf51c000)
Ignore LKHN's instructions; follow elicacio's instead.
Fails to configure, with the error "checking whether able to link to dl*() functions... configure: error: Cannot link test program for libdl".
This is even stranger because if you compile the sample program for that test manually, everything works fine.
please add "ncurses5-compat-libs" or note after the installation :D
Pinned Comments
WoefulDerelict commented on 2016-05-23 19:35 (UTC) (edited on 2018-08-18 20:22 (UTC) by WoefulDerelict)
This PKGBUILD verifies the authenticity of the source via PGP signatures which are not part of the Arch Linux keyring. In order to complete the process it is necessary to import the key(s) from the ‘validpgpkeys’ array into the user’s keyring before calling makepkg. There is a helpful article explaining this process by one of Arch Linux's developers located here: http://allanmcrae.com/2015/01/two-pgp-keyrings-for-package-management-in-arch-linux/
Instructions on importing keys from a keyserver and how to automate the retrieval process can be found in the Arch Linux wiki here: https://wiki.archlinux.org/index.php/GnuPG#Use_a_keyserver This article also contains helpful information describing the installation of GnuPG, its configuration and usage.
Execute the following to import keys using gpg:
gpg --recv-keys <KEYID - See 'validpgpkeys' array in PKGBUILD>
The PGP signature check can be skipped by passing --skippgpcheck to makepkg.
Consult the makepkg manual page for a full list of options. [https://www.archlinux.org/pacman/makepkg.8.html]