[GH-ISSUE #65] spt: symbol lookup error: spt: undefined symbol: CRYPTO_set_locking_callback #44

Closed
opened 2026-02-28 14:46:34 +03:00 by kerem · 6 comments
Owner

Originally created by @rothgar on GitHub (Oct 14, 2019).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/65

I'm on Ubuntu 19.10 and getting this error

spt: symbol lookup error: spt: undefined symbol: CRYPTO_set_locking_callback
cargo version
cargo 1.38.0 (23ef9a4ef 2019-08-20)

I saw other issues with libssl and I fixed my problems from the recommendations in those tickets but still getting this error.

Here's a quick strace -ff spt I didn't have time to dig into the problem but thought you'd want to know.

$ strace -ff spt | xclip -selection clipboard 
execve("/home/jgarr/.cargo/bin/spt", ["spt"], 0x7ffca3f90b48 /* 78 vars */) = 0
brk(NULL)                               = 0x55ad341f6000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=115558, ...}) = 0
mmap(NULL, 115558, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fbfd3127000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/haswell/x86_64/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/tls/haswell/x86_64", 0x7ffef831d590) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/haswell/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/tls/haswell", 0x7ffef831d590) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/x86_64/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/tls/x86_64", 0x7ffef831d590) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/tls", 0x7ffef831d590) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/haswell/x86_64/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/haswell/x86_64", 0x7ffef831d590) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/haswell/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/haswell", 0x7ffef831d590) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/x86_64/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/x86_64", 0x7ffef831d590) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\333\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=585504, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbfd3125000
mmap(NULL, 588080, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd3095000
mmap(0x7fbfd30b1000, 315392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0x7fbfd30b1000
mmap(0x7fbfd30fe000, 106496, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x69000) = 0x7fbfd30fe000
mmap(0x7fbfd3118000, 53248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x82000) = 0x7fbfd3118000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\220\7\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=2925408, ...}) = 0
mmap(NULL, 2940776, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2dc7000
mmap(0x7fbfd2e3f000, 1671168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x78000) = 0x7fbfd2e3f000
mmap(0x7fbfd2fd7000, 577536, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x210000) = 0x7fbfd2fd7000
mmap(0x7fbfd3064000, 188416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x29c000) = 0x7fbfd3064000
mmap(0x7fbfd3092000, 12136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbfd3092000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=18656, ...}) = 0
mmap(NULL, 20752, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2dc1000
mmap(0x7fbfd2dc2000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fbfd2dc2000
mmap(0x7fbfd2dc4000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fbfd2dc4000
mmap(0x7fbfd2dc5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fbfd2dc5000
close(3)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2603\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=39880, ...}) = 0
mmap(NULL, 44000, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2db6000
mmap(0x7fbfd2db9000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fbfd2db9000
mmap(0x7fbfd2dbd000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fbfd2dbd000
mmap(0x7fbfd2dbf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7fbfd2dbf000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200|\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=149840, ...}) = 0
mmap(NULL, 132288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2d95000
mmap(0x7fbfd2d9c000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fbfd2d9c000
mmap(0x7fbfd2dab000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7fbfd2dab000
mmap(0x7fbfd2db0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7fbfd2db0000
mmap(0x7fbfd2db2000, 13504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbfd2db2000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0203\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=100736, ...}) = 0
mmap(NULL, 103504, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2d7b000
mmap(0x7fbfd2d7e000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fbfd2d7e000
mmap(0x7fbfd2d8f000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7fbfd2d8f000
mmap(0x7fbfd2d93000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fbfd2d93000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200l\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2000480, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbfd2d79000
mmap(NULL, 2008696, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2b8e000
mmap(0x7fbfd2bb3000, 1519616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7fbfd2bb3000
mmap(0x7fbfd2d26000, 299008, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x198000) = 0x7fbfd2d26000
mmap(0x7fbfd2d6f000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e0000) = 0x7fbfd2d6f000
mmap(0x7fbfd2d75000, 13944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbfd2d75000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\362\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1365096, ...}) = 0
mmap(NULL, 1364240, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2a40000
mmap(0x7fbfd2a4f000, 679936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x7fbfd2a4f000
mmap(0x7fbfd2af5000, 618496, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb5000) = 0x7fbfd2af5000
mmap(0x7fbfd2b8c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14b000) = 0x7fbfd2b8c000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbfd2a3e000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbfd2a3a000
arch_prctl(ARCH_SET_FS, 0x7fbfd2a3ba40) = 0
mprotect(0x7fbfd2d6f000, 12288, PROT_READ) = 0
mprotect(0x7fbfd2b8c000, 4096, PROT_READ) = 0
mprotect(0x7fbfd2d93000, 4096, PROT_READ) = 0
mprotect(0x7fbfd2db0000, 4096, PROT_READ) = 0
mprotect(0x7fbfd2dbf000, 4096, PROT_READ) = 0
mprotect(0x7fbfd2dc5000, 4096, PROT_READ) = 0
mprotect(0x7fbfd3064000, 180224, PROT_READ) = 0
mprotect(0x7fbfd3118000, 36864, PROT_READ) = 0
writev(2, [{iov_base="spt", iov_len=3}, {iov_base=": ", iov_len=2}, {iov_base="symbol lookup error", iov_len=19}, {iov_base=": ", iov_len=2}, {iov_base="spt", iov_len=3}, {iov_base=": ", iov_len=2}, {iov_base="undefined symbol: CRYPTO_set_loc"..., iov_len=45}, {iov_base="", iov_len=0}, {iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 10spt: symbol lookup error: spt: undefined symbol: CRYPTO_set_locking_callback
) = 77
exit_group(127)                         = ?
+++ exited with 127 +++
Originally created by @rothgar on GitHub (Oct 14, 2019). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/65 I'm on Ubuntu 19.10 and getting this error ``` spt: symbol lookup error: spt: undefined symbol: CRYPTO_set_locking_callback ``` ``` cargo version cargo 1.38.0 (23ef9a4ef 2019-08-20) ``` I saw other issues with libssl and I fixed my problems from the recommendations in those tickets but still getting this error. Here's a quick `strace -ff spt` I didn't have time to dig into the problem but thought you'd want to know. ``` $ strace -ff spt | xclip -selection clipboard execve("/home/jgarr/.cargo/bin/spt", ["spt"], 0x7ffca3f90b48 /* 78 vars */) = 0 brk(NULL) = 0x55ad341f6000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=115558, ...}) = 0 mmap(NULL, 115558, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fbfd3127000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/haswell/x86_64/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib/x86_64-linux-gnu/tls/haswell/x86_64", 0x7ffef831d590) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/haswell/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib/x86_64-linux-gnu/tls/haswell", 0x7ffef831d590) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/x86_64/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib/x86_64-linux-gnu/tls/x86_64", 0x7ffef831d590) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib/x86_64-linux-gnu/tls", 0x7ffef831d590) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/haswell/x86_64/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib/x86_64-linux-gnu/haswell/x86_64", 0x7ffef831d590) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/haswell/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib/x86_64-linux-gnu/haswell", 0x7ffef831d590) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/x86_64/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib/x86_64-linux-gnu/x86_64", 0x7ffef831d590) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\333\1\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=585504, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbfd3125000 mmap(NULL, 588080, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd3095000 mmap(0x7fbfd30b1000, 315392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0x7fbfd30b1000 mmap(0x7fbfd30fe000, 106496, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x69000) = 0x7fbfd30fe000 mmap(0x7fbfd3118000, 53248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x82000) = 0x7fbfd3118000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\220\7\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=2925408, ...}) = 0 mmap(NULL, 2940776, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2dc7000 mmap(0x7fbfd2e3f000, 1671168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x78000) = 0x7fbfd2e3f000 mmap(0x7fbfd2fd7000, 577536, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x210000) = 0x7fbfd2fd7000 mmap(0x7fbfd3064000, 188416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x29c000) = 0x7fbfd3064000 mmap(0x7fbfd3092000, 12136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbfd3092000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=18656, ...}) = 0 mmap(NULL, 20752, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2dc1000 mmap(0x7fbfd2dc2000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fbfd2dc2000 mmap(0x7fbfd2dc4000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fbfd2dc4000 mmap(0x7fbfd2dc5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fbfd2dc5000 close(3) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2603\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=39880, ...}) = 0 mmap(NULL, 44000, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2db6000 mmap(0x7fbfd2db9000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fbfd2db9000 mmap(0x7fbfd2dbd000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fbfd2dbd000 mmap(0x7fbfd2dbf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7fbfd2dbf000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200|\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=149840, ...}) = 0 mmap(NULL, 132288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2d95000 mmap(0x7fbfd2d9c000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fbfd2d9c000 mmap(0x7fbfd2dab000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7fbfd2dab000 mmap(0x7fbfd2db0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7fbfd2db0000 mmap(0x7fbfd2db2000, 13504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbfd2db2000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0203\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=100736, ...}) = 0 mmap(NULL, 103504, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2d7b000 mmap(0x7fbfd2d7e000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fbfd2d7e000 mmap(0x7fbfd2d8f000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7fbfd2d8f000 mmap(0x7fbfd2d93000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fbfd2d93000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200l\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=2000480, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbfd2d79000 mmap(NULL, 2008696, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2b8e000 mmap(0x7fbfd2bb3000, 1519616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7fbfd2bb3000 mmap(0x7fbfd2d26000, 299008, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x198000) = 0x7fbfd2d26000 mmap(0x7fbfd2d6f000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e0000) = 0x7fbfd2d6f000 mmap(0x7fbfd2d75000, 13944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbfd2d75000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\362\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=1365096, ...}) = 0 mmap(NULL, 1364240, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbfd2a40000 mmap(0x7fbfd2a4f000, 679936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x7fbfd2a4f000 mmap(0x7fbfd2af5000, 618496, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb5000) = 0x7fbfd2af5000 mmap(0x7fbfd2b8c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14b000) = 0x7fbfd2b8c000 close(3) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbfd2a3e000 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbfd2a3a000 arch_prctl(ARCH_SET_FS, 0x7fbfd2a3ba40) = 0 mprotect(0x7fbfd2d6f000, 12288, PROT_READ) = 0 mprotect(0x7fbfd2b8c000, 4096, PROT_READ) = 0 mprotect(0x7fbfd2d93000, 4096, PROT_READ) = 0 mprotect(0x7fbfd2db0000, 4096, PROT_READ) = 0 mprotect(0x7fbfd2dbf000, 4096, PROT_READ) = 0 mprotect(0x7fbfd2dc5000, 4096, PROT_READ) = 0 mprotect(0x7fbfd3064000, 180224, PROT_READ) = 0 mprotect(0x7fbfd3118000, 36864, PROT_READ) = 0 writev(2, [{iov_base="spt", iov_len=3}, {iov_base=": ", iov_len=2}, {iov_base="symbol lookup error", iov_len=19}, {iov_base=": ", iov_len=2}, {iov_base="spt", iov_len=3}, {iov_base=": ", iov_len=2}, {iov_base="undefined symbol: CRYPTO_set_loc"..., iov_len=45}, {iov_base="", iov_len=0}, {iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 10spt: symbol lookup error: spt: undefined symbol: CRYPTO_set_locking_callback ) = 77 exit_group(127) = ? +++ exited with 127 +++ ```
kerem closed this issue 2026-02-28 14:46:34 +03:00
Author
Owner

@Rigellute commented on GitHub (Oct 15, 2019):

Hmm... I 've not seen this exact error before.

Perhaps you've already done this, but could you try this?

sudo apt-get update
sudo apt-get install build-essential
<!-- gh-comment-id:542074891 --> @Rigellute commented on GitHub (Oct 15, 2019): Hmm... I 've not seen this exact error before. Perhaps you've already done this, but could you try this? ```bash sudo apt-get update sudo apt-get install build-essential ```
Author
Owner

@rothgar commented on GitHub (Oct 15, 2019):

Thanks, the system is up to date and rebooted and build-essential is installed. I just did a cargo install --force spotify-tui and now I'm back at the libssl error

spt: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

I already had libssl-dev and pkg-config installed like the other issue recommended.
I don't have that shared library in /lib/x86_64-linux-gnu

/lib/x86_64-linux-gnu 
$ ls -AlFh libssl*
-rw-r--r-- 1 root root 349K Jul 12 04:48 libssl3.so
-rw-r--r-- 1 root root 978K Jun 20 10:31 libssl.a
lrwxrwxrwx 1 root root   13 Jun 20 10:31 libssl.so -> libssl.so.1.1
-rw-r--r-- 1 root root 572K Jun 20 10:31 libssl.so.1.1

I can manually make the symlink but I suspect it's the root of my original problem too (maybe another library also miissing)

<!-- gh-comment-id:542242441 --> @rothgar commented on GitHub (Oct 15, 2019): Thanks, the system is up to date and rebooted and build-essential is installed. I just did a `cargo install --force spotify-tui` and now I'm back at the libssl error ``` spt: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory ``` I already had libssl-dev and pkg-config installed like the other issue recommended. I don't have that shared library in /lib/x86_64-linux-gnu ``` /lib/x86_64-linux-gnu $ ls -AlFh libssl* -rw-r--r-- 1 root root 349K Jul 12 04:48 libssl3.so -rw-r--r-- 1 root root 978K Jun 20 10:31 libssl.a lrwxrwxrwx 1 root root 13 Jun 20 10:31 libssl.so -> libssl.so.1.1 -rw-r--r-- 1 root root 572K Jun 20 10:31 libssl.so.1.1 ``` I can manually make the symlink but I suspect it's the root of my original problem too (maybe another library also miissing)
Author
Owner

@Rigellute commented on GitHub (Oct 15, 2019):

Thanks for the update.

openssl is proving to be quite tricky!

This is also what's stopping me from cross compiling from macOS to linux.

<!-- gh-comment-id:542333214 --> @Rigellute commented on GitHub (Oct 15, 2019): Thanks for the update. `openssl` is proving to be quite tricky! This is also what's stopping me from cross compiling from macOS to linux.
Author
Owner

@Rigellute commented on GitHub (Jan 26, 2020):

Is this still an issue?

<!-- gh-comment-id:578514961 --> @Rigellute commented on GitHub (Jan 26, 2020): Is this still an issue?
Author
Owner

@rothgar commented on GitHub (Jan 27, 2020):

I tried to build it again with cargo and got the same error but I'm able to use the snap package without problems so I'm fine closing this as not reproducible.

<!-- gh-comment-id:578965977 --> @rothgar commented on GitHub (Jan 27, 2020): I tried to build it again with cargo and got the same error but I'm able to use the snap package without problems so I'm fine closing this as not reproducible.
Author
Owner

@Rigellute commented on GitHub (Jan 29, 2020):

Thanks @rothgar

<!-- gh-comment-id:579702362 --> @Rigellute commented on GitHub (Jan 29, 2020): Thanks @rothgar
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#44
No description provided.