You are not logged in.
Hi,
>makepkg
...
gcc -O2 -g -Werror -Wall -Wsign-compare -Wstrict-aliasing -std=gnu11 -fshort-wchar -fPIC -flto -fvisibility=hidden -D_GNU_SOURCE -I/home/pusheax/work/build/efivar-git/src/efivar_build/src/include/efivar/ -Wmaybe-uninitialized -fno-merge-constants -Wl,--fatal-warnings,--no-allow-shlib-undefined,--default-symver -Wl,-O2 -static -Wl,-no-fatal-warnings -o efivar-static efivar.c dp.o dp-acpi.o dp-hw.o dp-media.o dp-message.o efivarfs.o export.o guid.o guids.o guid-symbols.o lib.o vars.o -ldl -lpopt
/usr/bin/ld: cannot find -lpopt
collect2: error: ld returned 1 exit status
But popt(option parser) is installed:
>sudo pacman -Ql popt
popt /usr/
popt /usr/include/
popt /usr/include/popt.h
popt /usr/lib/
popt /usr/lib/libpopt.so
popt /usr/lib/libpopt.so.0
popt /usr/lib/libpopt.so.0.0.0
popt /usr/lib/pkgconfig/
popt /usr/lib/pkgconfig/popt.pc
popt /usr/share/
popt /usr/share/licenses/
popt /usr/share/licenses/popt/
popt /usr/share/licenses/popt/LICENSE
...
Searching google gives result about installing devel package of popt in other distros.
I just don't understand why it's not linking.
Last edited by corrupt (2015-09-14 20:59:48)
Offline
It turns out it searches for a static libpopt.a
attempt to open /usr/lib/libpopt.a failed
Solved.
Update: remaining question is where to find libpopt.a. I guess using ABS or custom package.
Last edited by corrupt (2015-09-14 22:21:03)
Offline