You are not logged in.

#1 2015-10-16 18:19:24

joejoejoe
Banned
Registered: 2015-08-14
Posts: 32

[SOLVED] libcurl error undefined symbol after upgrade of pacman

-- mod note: split from here. Trilby --

I have this same problem. It happened when I ran

pacman -Sy pacman

on an old system, then right after that any time I try to install something, for example by running

pacman -S <anything>

then I get the undefined symbol error:

┌─[11:17:04/hypership/root/~]
└─╼ pacman -S archlinux-keyring
resolving dependencies...
looking for conflicting packages...

Packages (1) archlinux-keyring-20150605-1

Total Download Size:   0.49 MiB
Total Installed Size:  0.67 MiB
Net Upgrade Size:      0.10 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
pacman: symbol lookup error: /usr/lib/libcurl.so.4: undefined symbol: SSL_CTX_set_alpn_protos

Here are some details:

┌─[11:13:51/hypership/root/~]
└─╼ pacman -Qo /usr/local/lib/libcurl.so.4
error: failed to read file '/usr/local/lib/libcurl.so.4': No such file or directory

┌─[11:14:00/hypership/root/~]
└─╼ pacman -Qi curl
Name           : curl
Version        : 7.45.0-1
Description    : An URL retrieval utility and library
Architecture   : i686
URL            : http://curl.haxx.se
Licenses       : MIT
Groups         : None
Provides       : libcurl.so=4-32
Depends On     : ca-certificates  krb5  libidn  libssh2  openssl  zlib
Optional Deps  : None
Required By    : aurvote  dovecot  git  pacman  php  vorbis-tools
Optional For   : gnupg
Conflicts With : None
Replaces       : None
Installed Size : 1348.00 KiB
Packager       : Dave Reisner <dreisner@archlinux.org>
Build Date     : Wed 07 Oct 2015 09:44:09 AM PDT
Install Date   : Thu 15 Oct 2015 06:53:41 PM PDT
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By   : Signature

┌─[11:21:43/hypership/root/~]
└─╼ ldd /usr/lib/libcurl.so.4
        linux-gate.so.1 (0xb77a3000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0xb76d3000)
        libssh2.so.1 => /usr/lib/libssh2.so.1 (0xb76a9000)
        libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0xb7644000)
        libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0xb747b000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb7432000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7364000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7331000)
        libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0xb732c000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7315000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0xb72f8000)
        libc.so.6 => /usr/lib/libc.so.6 (0xb7149000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0xb7144000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7137000)
        libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0xb7132000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0xb7119000)
        /usr/lib/ld-linux.so.2 (0xb77a4000)

┌─[11:21:54/hypership/root/~]
└─╼ ldd /usr/lib/libcurl.so.4 | awk '{print $3}' | LC_ALL=C pacman -Qo -
/usr/lib/libidn.so.11 is owned by libidn 1.28-2
/usr/lib/libssh2.so.1 is owned by libssh2 1.4.3-2
/usr/lib/libssl.so.1.0.0 is owned by openssl 1.0.1.g-1
/usr/lib/libcrypto.so.1.0.0 is owned by openssl 1.0.1.g-1
/usr/lib/libgssapi_krb5.so.2 is owned by krb5 1.12.1-1
/usr/lib/libkrb5.so.3 is owned by krb5 1.12.1-1
/usr/lib/libk5crypto.so.3 is owned by krb5 1.12.1-1
/usr/lib/libcom_err.so.2 is owned by e2fsprogs 1.42.9-1
/usr/lib/libz.so.1 is owned by zlib 1.2.8-3
/usr/lib/libpthread.so.0 is owned by glibc 2.18-12
/usr/lib/libc.so.6 is owned by glibc 2.18-12
/usr/lib/libdl.so.2 is owned by glibc 2.18-12
/usr/lib/libkrb5support.so.0 is owned by krb5 1.12.1-1
/usr/lib/libkeyutils.so.1 is owned by keyutils 1.5.8-1
/usr/lib/libresolv.so.2 is owned by glibc 2.18-12

Any ideas what might be wrong and how to fix it? Is there any more info I can post that might be useful in figuring out what's wrong?

Last edited by joejoejoe (2015-10-16 19:10:29)

Offline

#2 2015-10-16 18:25:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,579
Website

Re: [SOLVED] libcurl error undefined symbol after upgrade of pacman

That is in no way related to the error discussed in the thread you tried to hijack.

Also, this is about the worst way to do a partial upgrade.

Solution: use an archlinux live media and update your system properly.

EDIT: I see this is in TGN as was the thread it was split from ... moving to N.C.

joejoejoe - feel free to edit your post now and chose a title you would like for this thread.  I imagine the one I chose may not be preferred.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2015-10-16 18:28:18

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,372

Re: [SOLVED] libcurl error undefined symbol after upgrade of pacman

pacman -Ql curl?
Maybe you just need to pacman -S curl (assuming you already have the curl in your cache).


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#4 2015-10-16 18:55:25

joejoejoe
Banned
Registered: 2015-08-14
Posts: 32

Re: [SOLVED] libcurl error undefined symbol after upgrade of pacman

Hi @Trilby,

That is in no way related to the error discussed in the thread you tried to hijack.

It seems related, as I'm getting that exact same error. The problem with the live media approach is that this is a system on Linode. I can't really launch the live media there. I think I might have to download the image, then do the surgery.

Hi nomorewindows,

Here's pacman -Ql curl:

┌─[11:22:33/hypership/root/~]
└─╼ pacman -Ql curl
curl /usr/
curl /usr/bin/
curl /usr/bin/curl
curl /usr/bin/curl-config
curl /usr/include/
curl /usr/include/curl/
curl /usr/include/curl/curl.h
curl /usr/include/curl/curlbuild-32.h
curl /usr/include/curl/curlbuild.h
curl /usr/include/curl/curlrules.h
curl /usr/include/curl/curlver.h
curl /usr/include/curl/easy.h
curl /usr/include/curl/mprintf.h
curl /usr/include/curl/multi.h
curl /usr/include/curl/stdcheaders.h
curl /usr/include/curl/typecheck-gcc.h
curl /usr/lib/
curl /usr/lib/libcurl.so
curl /usr/lib/libcurl.so.4
curl /usr/lib/libcurl.so.4.4.0
curl /usr/lib/pkgconfig/
curl /usr/lib/pkgconfig/libcurl.pc
curl /usr/share/
curl /usr/share/aclocal/
curl /usr/share/aclocal/libcurl.m4
curl /usr/share/licenses/
curl /usr/share/licenses/curl/
curl /usr/share/licenses/curl/COPYING
curl /usr/share/man/
curl /usr/share/man/man1/
curl /usr/share/man/man1/curl-config.1.gz
curl /usr/share/man/man1/curl.1.gz
curl /usr/share/man/man3/
curl /usr/share/man/man3/CURLINFO_ACTIVESOCKET.3.gz
curl /usr/share/man/man3/CURLINFO_APPCONNECT_TIME.3.gz
curl /usr/share/man/man3/CURLINFO_CERTINFO.3.gz
curl /usr/share/man/man3/CURLINFO_CONDITION_UNMET.3.gz
curl /usr/share/man/man3/CURLINFO_CONNECT_TIME.3.gz
curl /usr/share/man/man3/CURLINFO_CONTENT_LENGTH_DOWNLOAD.3.gz
curl /usr/share/man/man3/CURLINFO_CONTENT_LENGTH_UPLOAD.3.gz
curl /usr/share/man/man3/CURLINFO_CONTENT_TYPE.3.gz
curl /usr/share/man/man3/CURLINFO_COOKIELIST.3.gz
curl /usr/share/man/man3/CURLINFO_EFFECTIVE_URL.3.gz
curl /usr/share/man/man3/CURLINFO_FILETIME.3.gz
curl /usr/share/man/man3/CURLINFO_FTP_ENTRY_PATH.3.gz
curl /usr/share/man/man3/CURLINFO_HEADER_SIZE.3.gz
curl /usr/share/man/man3/CURLINFO_HTTPAUTH_AVAIL.3.gz
curl /usr/share/man/man3/CURLINFO_HTTP_CONNECTCODE.3.gz
curl /usr/share/man/man3/CURLINFO_LASTSOCKET.3.gz
curl /usr/share/man/man3/CURLINFO_LOCAL_IP.3.gz
curl /usr/share/man/man3/CURLINFO_LOCAL_PORT.3.gz
curl /usr/share/man/man3/CURLINFO_NAMELOOKUP_TIME.3.gz
curl /usr/share/man/man3/CURLINFO_NUM_CONNECTS.3.gz
curl /usr/share/man/man3/CURLINFO_OS_ERRNO.3.gz
curl /usr/share/man/man3/CURLINFO_PRETRANSFER_TIME.3.gz
curl /usr/share/man/man3/CURLINFO_PRIMARY_IP.3.gz
curl /usr/share/man/man3/CURLINFO_PRIMARY_PORT.3.gz
curl /usr/share/man/man3/CURLINFO_PRIVATE.3.gz
curl /usr/share/man/man3/CURLINFO_PROXYAUTH_AVAIL.3.gz
curl /usr/share/man/man3/CURLINFO_REDIRECT_COUNT.3.gz
curl /usr/share/man/man3/CURLINFO_REDIRECT_TIME.3.gz
curl /usr/share/man/man3/CURLINFO_REDIRECT_URL.3.gz
curl /usr/share/man/man3/CURLINFO_REQUEST_SIZE.3.gz
curl /usr/share/man/man3/CURLINFO_RESPONSE_CODE.3.gz
curl /usr/share/man/man3/CURLINFO_RTSP_CLIENT_CSEQ.3.gz
curl /usr/share/man/man3/CURLINFO_RTSP_CSEQ_RECV.3.gz
curl /usr/share/man/man3/CURLINFO_RTSP_SERVER_CSEQ.3.gz
curl /usr/share/man/man3/CURLINFO_RTSP_SESSION_ID.3.gz
curl /usr/share/man/man3/CURLINFO_SIZE_DOWNLOAD.3.gz
curl /usr/share/man/man3/CURLINFO_SIZE_UPLOAD.3.gz
curl /usr/share/man/man3/CURLINFO_SPEED_DOWNLOAD.3.gz
curl /usr/share/man/man3/CURLINFO_SPEED_UPLOAD.3.gz
curl /usr/share/man/man3/CURLINFO_SSL_ENGINES.3.gz
curl /usr/share/man/man3/CURLINFO_SSL_VERIFYRESULT.3.gz
curl /usr/share/man/man3/CURLINFO_STARTTRANSFER_TIME.3.gz
curl /usr/share/man/man3/CURLINFO_TLS_SESSION.3.gz
curl /usr/share/man/man3/CURLINFO_TOTAL_TIME.3.gz
curl /usr/share/man/man3/CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.3.gz
curl /usr/share/man/man3/CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.3.gz
curl /usr/share/man/man3/CURLMOPT_MAXCONNECTS.3.gz
curl /usr/share/man/man3/CURLMOPT_MAX_HOST_CONNECTIONS.3.gz
curl /usr/share/man/man3/CURLMOPT_MAX_PIPELINE_LENGTH.3.gz
curl /usr/share/man/man3/CURLMOPT_MAX_TOTAL_CONNECTIONS.3.gz
curl /usr/share/man/man3/CURLMOPT_PIPELINING.3.gz
curl /usr/share/man/man3/CURLMOPT_PIPELINING_SERVER_BL.3.gz
curl /usr/share/man/man3/CURLMOPT_PIPELINING_SITE_BL.3.gz
curl /usr/share/man/man3/CURLMOPT_PUSHDATA.3.gz
curl /usr/share/man/man3/CURLMOPT_PUSHFUNCTION.3.gz
curl /usr/share/man/man3/CURLMOPT_SOCKETDATA.3.gz
curl /usr/share/man/man3/CURLMOPT_SOCKETFUNCTION.3.gz
curl /usr/share/man/man3/CURLMOPT_TIMERDATA.3.gz
curl /usr/share/man/man3/CURLMOPT_TIMERFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_ACCEPTTIMEOUT_MS.3.gz
curl /usr/share/man/man3/CURLOPT_ACCEPT_ENCODING.3.gz
curl /usr/share/man/man3/CURLOPT_ADDRESS_SCOPE.3.gz
curl /usr/share/man/man3/CURLOPT_APPEND.3.gz
curl /usr/share/man/man3/CURLOPT_AUTOREFERER.3.gz
curl /usr/share/man/man3/CURLOPT_BUFFERSIZE.3.gz
curl /usr/share/man/man3/CURLOPT_CAINFO.3.gz
curl /usr/share/man/man3/CURLOPT_CAPATH.3.gz
curl /usr/share/man/man3/CURLOPT_CERTINFO.3.gz
curl /usr/share/man/man3/CURLOPT_CHUNK_BGN_FUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_CHUNK_DATA.3.gz
curl /usr/share/man/man3/CURLOPT_CHUNK_END_FUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_CLOSESOCKETDATA.3.gz
curl /usr/share/man/man3/CURLOPT_CLOSESOCKETFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_CONNECTTIMEOUT.3.gz
curl /usr/share/man/man3/CURLOPT_CONNECTTIMEOUT_MS.3.gz
curl /usr/share/man/man3/CURLOPT_CONNECT_ONLY.3.gz
curl /usr/share/man/man3/CURLOPT_CONV_FROM_NETWORK_FUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_CONV_FROM_UTF8_FUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_CONV_TO_NETWORK_FUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_COOKIE.3.gz
curl /usr/share/man/man3/CURLOPT_COOKIEFILE.3.gz
curl /usr/share/man/man3/CURLOPT_COOKIEJAR.3.gz
curl /usr/share/man/man3/CURLOPT_COOKIELIST.3.gz
curl /usr/share/man/man3/CURLOPT_COOKIESESSION.3.gz
curl /usr/share/man/man3/CURLOPT_COPYPOSTFIELDS.3.gz
curl /usr/share/man/man3/CURLOPT_CRLF.3.gz
curl /usr/share/man/man3/CURLOPT_CRLFILE.3.gz
curl /usr/share/man/man3/CURLOPT_CUSTOMREQUEST.3.gz
curl /usr/share/man/man3/CURLOPT_DEBUGDATA.3.gz
curl /usr/share/man/man3/CURLOPT_DEBUGFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_DEFAULT_PROTOCOL.3.gz
curl /usr/share/man/man3/CURLOPT_DIRLISTONLY.3.gz
curl /usr/share/man/man3/CURLOPT_DNS_CACHE_TIMEOUT.3.gz
curl /usr/share/man/man3/CURLOPT_DNS_INTERFACE.3.gz
curl /usr/share/man/man3/CURLOPT_DNS_LOCAL_IP4.3.gz
curl /usr/share/man/man3/CURLOPT_DNS_LOCAL_IP6.3.gz
curl /usr/share/man/man3/CURLOPT_DNS_SERVERS.3.gz
curl /usr/share/man/man3/CURLOPT_DNS_USE_GLOBAL_CACHE.3.gz
curl /usr/share/man/man3/CURLOPT_EGDSOCKET.3.gz
curl /usr/share/man/man3/CURLOPT_ERRORBUFFER.3.gz
curl /usr/share/man/man3/CURLOPT_EXPECT_100_TIMEOUT_MS.3.gz
curl /usr/share/man/man3/CURLOPT_FAILONERROR.3.gz
curl /usr/share/man/man3/CURLOPT_FILETIME.3.gz
curl /usr/share/man/man3/CURLOPT_FNMATCH_DATA.3.gz
curl /usr/share/man/man3/CURLOPT_FNMATCH_FUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_FOLLOWLOCATION.3.gz
curl /usr/share/man/man3/CURLOPT_FORBID_REUSE.3.gz
curl /usr/share/man/man3/CURLOPT_FRESH_CONNECT.3.gz
curl /usr/share/man/man3/CURLOPT_FTPPORT.3.gz
curl /usr/share/man/man3/CURLOPT_FTPSSLAUTH.3.gz
curl /usr/share/man/man3/CURLOPT_FTP_ACCOUNT.3.gz
curl /usr/share/man/man3/CURLOPT_FTP_ALTERNATIVE_TO_USER.3.gz
curl /usr/share/man/man3/CURLOPT_FTP_CREATE_MISSING_DIRS.3.gz
curl /usr/share/man/man3/CURLOPT_FTP_FILEMETHOD.3.gz
curl /usr/share/man/man3/CURLOPT_FTP_RESPONSE_TIMEOUT.3.gz
curl /usr/share/man/man3/CURLOPT_FTP_SKIP_PASV_IP.3.gz
curl /usr/share/man/man3/CURLOPT_FTP_SSL_CCC.3.gz
curl /usr/share/man/man3/CURLOPT_FTP_USE_EPRT.3.gz
curl /usr/share/man/man3/CURLOPT_FTP_USE_EPSV.3.gz
curl /usr/share/man/man3/CURLOPT_FTP_USE_PRET.3.gz
curl /usr/share/man/man3/CURLOPT_GSSAPI_DELEGATION.3.gz
curl /usr/share/man/man3/CURLOPT_HEADER.3.gz
curl /usr/share/man/man3/CURLOPT_HEADERDATA.3.gz
curl /usr/share/man/man3/CURLOPT_HEADERFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_HEADEROPT.3.gz
curl /usr/share/man/man3/CURLOPT_HTTP200ALIASES.3.gz
curl /usr/share/man/man3/CURLOPT_HTTPAUTH.3.gz
curl /usr/share/man/man3/CURLOPT_HTTPGET.3.gz
curl /usr/share/man/man3/CURLOPT_HTTPHEADER.3.gz
curl /usr/share/man/man3/CURLOPT_HTTPPOST.3.gz
curl /usr/share/man/man3/CURLOPT_HTTPPROXYTUNNEL.3.gz
curl /usr/share/man/man3/CURLOPT_HTTP_CONTENT_DECODING.3.gz
curl /usr/share/man/man3/CURLOPT_HTTP_TRANSFER_DECODING.3.gz
curl /usr/share/man/man3/CURLOPT_HTTP_VERSION.3.gz
curl /usr/share/man/man3/CURLOPT_IGNORE_CONTENT_LENGTH.3.gz
curl /usr/share/man/man3/CURLOPT_INFILESIZE.3.gz
curl /usr/share/man/man3/CURLOPT_INFILESIZE_LARGE.3.gz
curl /usr/share/man/man3/CURLOPT_INTERFACE.3.gz
curl /usr/share/man/man3/CURLOPT_INTERLEAVEDATA.3.gz
curl /usr/share/man/man3/CURLOPT_INTERLEAVEFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_IOCTLDATA.3.gz
curl /usr/share/man/man3/CURLOPT_IOCTLFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_IPRESOLVE.3.gz
curl /usr/share/man/man3/CURLOPT_ISSUERCERT.3.gz
curl /usr/share/man/man3/CURLOPT_KEYPASSWD.3.gz
curl /usr/share/man/man3/CURLOPT_KRBLEVEL.3.gz
curl /usr/share/man/man3/CURLOPT_LOCALPORT.3.gz
curl /usr/share/man/man3/CURLOPT_LOCALPORTRANGE.3.gz
curl /usr/share/man/man3/CURLOPT_LOGIN_OPTIONS.3.gz
curl /usr/share/man/man3/CURLOPT_LOW_SPEED_LIMIT.3.gz
curl /usr/share/man/man3/CURLOPT_LOW_SPEED_TIME.3.gz
curl /usr/share/man/man3/CURLOPT_MAIL_AUTH.3.gz
curl /usr/share/man/man3/CURLOPT_MAIL_FROM.3.gz
curl /usr/share/man/man3/CURLOPT_MAIL_RCPT.3.gz
curl /usr/share/man/man3/CURLOPT_MAXCONNECTS.3.gz
curl /usr/share/man/man3/CURLOPT_MAXFILESIZE.3.gz
curl /usr/share/man/man3/CURLOPT_MAXFILESIZE_LARGE.3.gz
curl /usr/share/man/man3/CURLOPT_MAXREDIRS.3.gz
curl /usr/share/man/man3/CURLOPT_MAX_RECV_SPEED_LARGE.3.gz
curl /usr/share/man/man3/CURLOPT_MAX_SEND_SPEED_LARGE.3.gz
curl /usr/share/man/man3/CURLOPT_NETRC.3.gz
curl /usr/share/man/man3/CURLOPT_NETRC_FILE.3.gz
curl /usr/share/man/man3/CURLOPT_NEW_DIRECTORY_PERMS.3.gz
curl /usr/share/man/man3/CURLOPT_NEW_FILE_PERMS.3.gz
curl /usr/share/man/man3/CURLOPT_NOBODY.3.gz
curl /usr/share/man/man3/CURLOPT_NOPROGRESS.3.gz
curl /usr/share/man/man3/CURLOPT_NOPROXY.3.gz
curl /usr/share/man/man3/CURLOPT_NOSIGNAL.3.gz
curl /usr/share/man/man3/CURLOPT_OPENSOCKETDATA.3.gz
curl /usr/share/man/man3/CURLOPT_OPENSOCKETFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_PASSWORD.3.gz
curl /usr/share/man/man3/CURLOPT_PATH_AS_IS.3.gz
curl /usr/share/man/man3/CURLOPT_PINNEDPUBLICKEY.3.gz
curl /usr/share/man/man3/CURLOPT_PIPEWAIT.3.gz
curl /usr/share/man/man3/CURLOPT_PORT.3.gz
curl /usr/share/man/man3/CURLOPT_POST.3.gz
curl /usr/share/man/man3/CURLOPT_POSTFIELDS.3.gz
curl /usr/share/man/man3/CURLOPT_POSTFIELDSIZE.3.gz
curl /usr/share/man/man3/CURLOPT_POSTFIELDSIZE_LARGE.3.gz
curl /usr/share/man/man3/CURLOPT_POSTQUOTE.3.gz
curl /usr/share/man/man3/CURLOPT_POSTREDIR.3.gz
curl /usr/share/man/man3/CURLOPT_PREQUOTE.3.gz
curl /usr/share/man/man3/CURLOPT_PRIVATE.3.gz
curl /usr/share/man/man3/CURLOPT_PROGRESSDATA.3.gz
curl /usr/share/man/man3/CURLOPT_PROGRESSFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_PROTOCOLS.3.gz
curl /usr/share/man/man3/CURLOPT_PROXY.3.gz
curl /usr/share/man/man3/CURLOPT_PROXYAUTH.3.gz
curl /usr/share/man/man3/CURLOPT_PROXYHEADER.3.gz
curl /usr/share/man/man3/CURLOPT_PROXYPASSWORD.3.gz
curl /usr/share/man/man3/CURLOPT_PROXYPORT.3.gz
curl /usr/share/man/man3/CURLOPT_PROXYTYPE.3.gz
curl /usr/share/man/man3/CURLOPT_PROXYUSERNAME.3.gz
curl /usr/share/man/man3/CURLOPT_PROXYUSERPWD.3.gz
curl /usr/share/man/man3/CURLOPT_PROXY_SERVICE_NAME.3.gz
curl /usr/share/man/man3/CURLOPT_PROXY_TRANSFER_MODE.3.gz
curl /usr/share/man/man3/CURLOPT_PUT.3.gz
curl /usr/share/man/man3/CURLOPT_QUOTE.3.gz
curl /usr/share/man/man3/CURLOPT_RANDOM_FILE.3.gz
curl /usr/share/man/man3/CURLOPT_RANGE.3.gz
curl /usr/share/man/man3/CURLOPT_READDATA.3.gz
curl /usr/share/man/man3/CURLOPT_READFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_REDIR_PROTOCOLS.3.gz
curl /usr/share/man/man3/CURLOPT_REFERER.3.gz
curl /usr/share/man/man3/CURLOPT_RESOLVE.3.gz
curl /usr/share/man/man3/CURLOPT_RESUME_FROM.3.gz
curl /usr/share/man/man3/CURLOPT_RESUME_FROM_LARGE.3.gz
curl /usr/share/man/man3/CURLOPT_RTSP_CLIENT_CSEQ.3.gz
curl /usr/share/man/man3/CURLOPT_RTSP_REQUEST.3.gz
curl /usr/share/man/man3/CURLOPT_RTSP_SERVER_CSEQ.3.gz
curl /usr/share/man/man3/CURLOPT_RTSP_SESSION_ID.3.gz
curl /usr/share/man/man3/CURLOPT_RTSP_STREAM_URI.3.gz
curl /usr/share/man/man3/CURLOPT_RTSP_TRANSPORT.3.gz
curl /usr/share/man/man3/CURLOPT_SASL_IR.3.gz
curl /usr/share/man/man3/CURLOPT_SEEKDATA.3.gz
curl /usr/share/man/man3/CURLOPT_SEEKFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_SERVICE_NAME.3.gz
curl /usr/share/man/man3/CURLOPT_SHARE.3.gz
curl /usr/share/man/man3/CURLOPT_SOCKOPTDATA.3.gz
curl /usr/share/man/man3/CURLOPT_SOCKOPTFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_SOCKS5_GSSAPI_NEC.3.gz
curl /usr/share/man/man3/CURLOPT_SOCKS5_GSSAPI_SERVICE.3.gz
curl /usr/share/man/man3/CURLOPT_SSH_AUTH_TYPES.3.gz
curl /usr/share/man/man3/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.3.gz
curl /usr/share/man/man3/CURLOPT_SSH_KEYDATA.3.gz
curl /usr/share/man/man3/CURLOPT_SSH_KEYFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_SSH_KNOWNHOSTS.3.gz
curl /usr/share/man/man3/CURLOPT_SSH_PRIVATE_KEYFILE.3.gz
curl /usr/share/man/man3/CURLOPT_SSH_PUBLIC_KEYFILE.3.gz
curl /usr/share/man/man3/CURLOPT_SSLCERT.3.gz
curl /usr/share/man/man3/CURLOPT_SSLCERTTYPE.3.gz
curl /usr/share/man/man3/CURLOPT_SSLENGINE.3.gz
curl /usr/share/man/man3/CURLOPT_SSLENGINE_DEFAULT.3.gz
curl /usr/share/man/man3/CURLOPT_SSLKEY.3.gz
curl /usr/share/man/man3/CURLOPT_SSLKEYTYPE.3.gz
curl /usr/share/man/man3/CURLOPT_SSLVERSION.3.gz
curl /usr/share/man/man3/CURLOPT_SSL_CIPHER_LIST.3.gz
curl /usr/share/man/man3/CURLOPT_SSL_CTX_DATA.3.gz
curl /usr/share/man/man3/CURLOPT_SSL_CTX_FUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_SSL_ENABLE_ALPN.3.gz
curl /usr/share/man/man3/CURLOPT_SSL_ENABLE_NPN.3.gz
curl /usr/share/man/man3/CURLOPT_SSL_FALSESTART.3.gz
curl /usr/share/man/man3/CURLOPT_SSL_OPTIONS.3.gz
curl /usr/share/man/man3/CURLOPT_SSL_SESSIONID_CACHE.3.gz
curl /usr/share/man/man3/CURLOPT_SSL_VERIFYHOST.3.gz
curl /usr/share/man/man3/CURLOPT_SSL_VERIFYPEER.3.gz
curl /usr/share/man/man3/CURLOPT_SSL_VERIFYSTATUS.3.gz
curl /usr/share/man/man3/CURLOPT_STDERR.3.gz
curl /usr/share/man/man3/CURLOPT_TCP_KEEPALIVE.3.gz
curl /usr/share/man/man3/CURLOPT_TCP_KEEPIDLE.3.gz
curl /usr/share/man/man3/CURLOPT_TCP_KEEPINTVL.3.gz
curl /usr/share/man/man3/CURLOPT_TCP_NODELAY.3.gz
curl /usr/share/man/man3/CURLOPT_TELNETOPTIONS.3.gz
curl /usr/share/man/man3/CURLOPT_TFTP_BLKSIZE.3.gz
curl /usr/share/man/man3/CURLOPT_TIMECONDITION.3.gz
curl /usr/share/man/man3/CURLOPT_TIMEOUT.3.gz
curl /usr/share/man/man3/CURLOPT_TIMEOUT_MS.3.gz
curl /usr/share/man/man3/CURLOPT_TIMEVALUE.3.gz
curl /usr/share/man/man3/CURLOPT_TLSAUTH_PASSWORD.3.gz
curl /usr/share/man/man3/CURLOPT_TLSAUTH_TYPE.3.gz
curl /usr/share/man/man3/CURLOPT_TLSAUTH_USERNAME.3.gz
curl /usr/share/man/man3/CURLOPT_TRANSFERTEXT.3.gz
curl /usr/share/man/man3/CURLOPT_TRANSFER_ENCODING.3.gz
curl /usr/share/man/man3/CURLOPT_UNIX_SOCKET_PATH.3.gz
curl /usr/share/man/man3/CURLOPT_UNRESTRICTED_AUTH.3.gz
curl /usr/share/man/man3/CURLOPT_UPLOAD.3.gz
curl /usr/share/man/man3/CURLOPT_URL.3.gz
curl /usr/share/man/man3/CURLOPT_USERAGENT.3.gz
curl /usr/share/man/man3/CURLOPT_USERNAME.3.gz
curl /usr/share/man/man3/CURLOPT_USERPWD.3.gz
curl /usr/share/man/man3/CURLOPT_USE_SSL.3.gz
curl /usr/share/man/man3/CURLOPT_VERBOSE.3.gz
curl /usr/share/man/man3/CURLOPT_WILDCARDMATCH.3.gz
curl /usr/share/man/man3/CURLOPT_WRITEDATA.3.gz
curl /usr/share/man/man3/CURLOPT_WRITEFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_XFERINFODATA.3.gz
curl /usr/share/man/man3/CURLOPT_XFERINFOFUNCTION.3.gz
curl /usr/share/man/man3/CURLOPT_XOAUTH2_BEARER.3.gz
curl /usr/share/man/man3/curl_easy_cleanup.3.gz
curl /usr/share/man/man3/curl_easy_duphandle.3.gz
curl /usr/share/man/man3/curl_easy_escape.3.gz
curl /usr/share/man/man3/curl_easy_getinfo.3.gz
curl /usr/share/man/man3/curl_easy_init.3.gz
curl /usr/share/man/man3/curl_easy_pause.3.gz
curl /usr/share/man/man3/curl_easy_perform.3.gz
curl /usr/share/man/man3/curl_easy_recv.3.gz
curl /usr/share/man/man3/curl_easy_reset.3.gz
curl /usr/share/man/man3/curl_easy_send.3.gz
curl /usr/share/man/man3/curl_easy_setopt.3.gz
curl /usr/share/man/man3/curl_easy_strerror.3.gz
curl /usr/share/man/man3/curl_easy_unescape.3.gz
curl /usr/share/man/man3/curl_escape.3.gz
curl /usr/share/man/man3/curl_formadd.3.gz
curl /usr/share/man/man3/curl_formfree.3.gz
curl /usr/share/man/man3/curl_formget.3.gz
curl /usr/share/man/man3/curl_free.3.gz
curl /usr/share/man/man3/curl_getdate.3.gz
curl /usr/share/man/man3/curl_getenv.3.gz
curl /usr/share/man/man3/curl_global_cleanup.3.gz
curl /usr/share/man/man3/curl_global_init.3.gz
curl /usr/share/man/man3/curl_global_init_mem.3.gz
curl /usr/share/man/man3/curl_mprintf.3.gz
curl /usr/share/man/man3/curl_multi_add_handle.3.gz
curl /usr/share/man/man3/curl_multi_assign.3.gz
curl /usr/share/man/man3/curl_multi_cleanup.3.gz
curl /usr/share/man/man3/curl_multi_fdset.3.gz
curl /usr/share/man/man3/curl_multi_info_read.3.gz
curl /usr/share/man/man3/curl_multi_init.3.gz
curl /usr/share/man/man3/curl_multi_perform.3.gz
curl /usr/share/man/man3/curl_multi_remove_handle.3.gz
curl /usr/share/man/man3/curl_multi_setopt.3.gz
curl /usr/share/man/man3/curl_multi_socket.3.gz
curl /usr/share/man/man3/curl_multi_socket_action.3.gz
curl /usr/share/man/man3/curl_multi_strerror.3.gz
curl /usr/share/man/man3/curl_multi_timeout.3.gz
curl /usr/share/man/man3/curl_multi_wait.3.gz
curl /usr/share/man/man3/curl_share_cleanup.3.gz
curl /usr/share/man/man3/curl_share_init.3.gz
curl /usr/share/man/man3/curl_share_setopt.3.gz
curl /usr/share/man/man3/curl_share_strerror.3.gz
curl /usr/share/man/man3/curl_slist_append.3.gz
curl /usr/share/man/man3/curl_slist_free_all.3.gz
curl /usr/share/man/man3/curl_strequal.3.gz
curl /usr/share/man/man3/curl_unescape.3.gz
curl /usr/share/man/man3/curl_version.3.gz
curl /usr/share/man/man3/curl_version_info.3.gz
curl /usr/share/man/man3/libcurl-easy.3.gz
curl /usr/share/man/man3/libcurl-errors.3.gz
curl /usr/share/man/man3/libcurl-multi.3.gz
curl /usr/share/man/man3/libcurl-share.3.gz
curl /usr/share/man/man3/libcurl-symbols.3.gz
curl /usr/share/man/man3/libcurl-thread.3.gz
curl /usr/share/man/man3/libcurl-tutorial.3.gz
curl /usr/share/man/man3/libcurl.3.gz

Running pacman -S curl didn't help:

┌─[11:53:30/hypership/root/~]
└─╼ pacman -S curl
warning: curl-7.45.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) curl-7.45.0-1

Total Installed Size:  1.32 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                             [################################################################] 100%
(1/1) checking package integrity                                                                           [################################################################] 100%
(1/1) loading package files                                                                                [################################################################] 100%
(1/1) checking for file conflicts                                                                          [################################################################] 100%
(1/1) checking available disk space                                                                        [################################################################] 100%
(1/1) reinstalling curl                                                                                    [################################################################] 100%

┌─[11:53:38/hypership/root/~]
└─╼ pacman -S archlinux-keyring
resolving dependencies...
looking for conflicting packages...

Packages (1) archlinux-keyring-20150605-1

Total Download Size:   0.49 MiB
Total Installed Size:  0.67 MiB
Net Upgrade Size:      0.10 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
pacman: symbol lookup error: /usr/lib/libcurl.so.4: undefined symbol: SSL_CTX_set_alpn_protos

Offline

#5 2015-10-16 19:01:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,579
Website

Re: [SOLVED] libcurl error undefined symbol after upgrade of pacman

If you haven't cleared your cache, you could try downgrading whatever you have upgraded since the last sync - it looks like pacman and curl at least - then do a proper upgrade.

If this fails, restore to your last backup (do you have nightly backups), then do a proper upgrade.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2015-10-16 19:06:38

progandy
Member
Registered: 2012-05-17
Posts: 5,210

Re: [SOLVED] libcurl error undefined symbol after upgrade of pacman

SSL_CTX_set_alpn_protos points towards openssl as the outdated package that prevents pacman from performing the upgrade. Since that was the result of a partial pacman upgrade, try to downgrade it again.
Edit: Damn, I should learn to doublecheck before submitting.

Last edited by progandy (2015-10-16 19:17:48)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#7 2015-10-16 19:08:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,579
Website

Re: [SOLVED] libcurl error undefined symbol after upgrade of pacman

Progandy, EVERYTHING is outdated.  He started with an old system, then upgraded only pacman.  When that gave curl errors, he upgraded only curl.  Now that is giving SSL errors.  Updating openSSL will just push this back to yet another package.  Such stepwise upgrading will never solve the problem - and will probably not even work as he wont be able to download the packages.  He needs to undo the little bit of damage done so far (not create more) then do a proper upgrade.

If by some chance all the needed package files are already stored locally (I don't see  how they could be, but if we're being kept in the dark on some of the steps this might be) then a `pacman -Su` would fix everything.  But I'm pretty sure that'd currently fail.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2015-10-16 19:09:55

joejoejoe
Banned
Registered: 2015-08-14
Posts: 32

Re: [SOLVED] libcurl error undefined symbol after upgrade of pacman

@Trilby, Thanks, downgraded and [SOLVED].

Offline

#9 2015-10-16 19:11:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,579
Website

Re: [SOLVED] libcurl error undefined symbol after upgrade of pacman

Glad that helped.  But you've downgraded and undone the damage.  Please make sure to do a completely proper upgrade with `pacman -Syu` - and read the partial upgrade wiki link I provided: never use `pacman -Sy` (without a 'u').


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB