Undefined symbol in libnixstore.so due to ABI break in AWS SDK
Description:
Version 1.11.486 of the AWS SDK for C++ added an optional parameter to TransferManager::UploadFile
. This breaks the ABI of libaws-cpp-sdk-transfer.so
and causes an undefined symbol error with programs that link to libnixstore.so
:
$ nix-channel --help
nix-channel: symbol lookup error: /usr/lib/libnixstore.so: undefined symbol: _ZN3Aws8Transfer15TransferManager10UploadFileERKSt10shared_ptrISdERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_SD_RKSt3mapISB_SB_St4lessISB_ESaISt4pairISC_SB_EEERKS2_IKNS_6Client18AsyncCallerContextEE
I've reported this to the AWS SDK repository but it should also be fixable by rebuilding the nix
package since the change is API compatible.
Additional info:
- package version(s):
nix
2.24.11-6,aws-sdk-cpp-s3
1.11.488-1 - config and/or log files:
- link to upstream bug report, if any: https://github.com/aws/aws-sdk-cpp/issues/3258
Steps to reproduce:
- Attempt to run any program that links to
libnixstore.so
, e.g.nix-channel