Buy commercial curl support. We
help you work out your issues, debug your libcurl applications, use the API,
port to new platforms, add new features and more. With a team lead by the
curl founder Daniel himself.
libpsl error on fedora-20
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Ben Greear via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 7 Nov 2024 08:48:24 -0800
Hello,
I am seeing this configure error on fedora-20 after pulling latest curl
(and removing all of my local hacks since upstream curl now has the patch
to bind to interface and IP at the same time).
Configure called as:
$ ./configure --enable-warnings --enable-debug -enable-werror --with-openssl --with-libssh2 --enable-ares=/home/greearb/git/btbits/l4libs/c-ares.ct
--prefix=/home/greearb/git/btbits/server/local/
configure:27384: checking for pkg-config
2638 configure:27415: result: /usr/bin/pkg-config
2639 configure:27440: checking for libpsl options with pkg-config
2640 configure:27454: result: found
2641 configure:27484: checking for psl_builtin in -lpsl
2642 configure:27506: gcc -o conftest -Werror-implicit-function-declaration -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline
-Wnested- externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wbad-function-cast -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef
-Wno-format-nonliteral -Wendif- labels -Wstrict-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wstrict-aliasing=3 -Wattributes
-Wdiv-by-zero -Wformat-security -Wmissing-field- initializers -Wmissing-noreturn -Wunreachable-code -Wunused-parameter -Wpragmas
-Wredundant-decls -Wcast-align -Waddress -Wtype-limits -Wold-style-declaration -Wmissing- parameter-type -Wempty-body -Wclobbered -Wignored-qualifiers
-Wconversion -Wtrampolines -Wsign-conversion -Wno-error=sign-conversion -Wvla -ftree-vrp -Wdouble-promotion - Wformat=2 -Wno-system-headers
-Wno-deprecated-declarations -D_GNU_SOURCE -I/usr/include/libpsl -I/usr/lib/libpsl/include -L/usr/lib conftest.c -lpsl -llibpsl - lssl -lcrypto
-lssl -lcrypto -lldap -llber -lz >&5
2643 conftest.c:62:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
2644 char psl_builtin ();
2645 ^
2646 /usr/bin/ld: cannot find -llibpsl
[greearb_at_v-f20-32 curl-git]$ locate libpsl
/usr/include/libpsl.h
/usr/lib/libpsl.so
/usr/lib/libpsl.so.0
/usr/lib/libpsl.so.0.2.2
/usr/lib/pkgconfig/libpsl.pc
[greearb_at_v-f20-32 curl-git]$ cat /usr/lib/pkgconfig/libpsl.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include
Name: libpsl
Description: Publix Suffix List C library.
Version: 0.5.1
URL: http://github.com/rockdaboot/libpsl
Libs: -L${libdir} -llibpsl
Cflags: -I${includedir}/libpsl -I${libdir}/libpsl/include
I guess this a bug in the package config for psl on this old platform?
Thanks,
Ben
Date: Thu, 7 Nov 2024 08:48:24 -0800
Hello,
I am seeing this configure error on fedora-20 after pulling latest curl
(and removing all of my local hacks since upstream curl now has the patch
to bind to interface and IP at the same time).
Configure called as:
$ ./configure --enable-warnings --enable-debug -enable-werror --with-openssl --with-libssh2 --enable-ares=/home/greearb/git/btbits/l4libs/c-ares.ct
--prefix=/home/greearb/git/btbits/server/local/
configure:27384: checking for pkg-config
2638 configure:27415: result: /usr/bin/pkg-config
2639 configure:27440: checking for libpsl options with pkg-config
2640 configure:27454: result: found
2641 configure:27484: checking for psl_builtin in -lpsl
2642 configure:27506: gcc -o conftest -Werror-implicit-function-declaration -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline
-Wnested- externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wbad-function-cast -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef
-Wno-format-nonliteral -Wendif- labels -Wstrict-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wstrict-aliasing=3 -Wattributes
-Wdiv-by-zero -Wformat-security -Wmissing-field- initializers -Wmissing-noreturn -Wunreachable-code -Wunused-parameter -Wpragmas
-Wredundant-decls -Wcast-align -Waddress -Wtype-limits -Wold-style-declaration -Wmissing- parameter-type -Wempty-body -Wclobbered -Wignored-qualifiers
-Wconversion -Wtrampolines -Wsign-conversion -Wno-error=sign-conversion -Wvla -ftree-vrp -Wdouble-promotion - Wformat=2 -Wno-system-headers
-Wno-deprecated-declarations -D_GNU_SOURCE -I/usr/include/libpsl -I/usr/lib/libpsl/include -L/usr/lib conftest.c -lpsl -llibpsl - lssl -lcrypto
-lssl -lcrypto -lldap -llber -lz >&5
2643 conftest.c:62:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
2644 char psl_builtin ();
2645 ^
2646 /usr/bin/ld: cannot find -llibpsl
[greearb_at_v-f20-32 curl-git]$ locate libpsl
/usr/include/libpsl.h
/usr/lib/libpsl.so
/usr/lib/libpsl.so.0
/usr/lib/libpsl.so.0.2.2
/usr/lib/pkgconfig/libpsl.pc
[greearb_at_v-f20-32 curl-git]$ cat /usr/lib/pkgconfig/libpsl.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include
Name: libpsl
Description: Publix Suffix List C library.
Version: 0.5.1
URL: http://github.com/rockdaboot/libpsl
Libs: -L${libdir} -llibpsl
Cflags: -I${includedir}/libpsl -I${libdir}/libpsl/include
I guess this a bug in the package config for psl on this old platform?
Thanks,
Ben
-- Ben Greear <greearb_at_candelatech.com> Candela Technologies Inc http://www.candelatech.com -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2024-11-07