Huo Linhe
|
a3498bacc9
|
fix: undefined reference to `psl_*` while linking s3 libcurl to taosd
Environment:
- os: Ubuntu 22.04 LTS
- kernel: 5.19.0-051900rc8-generic #202207242130 SMP PREEMPT_DYNAMIC Sun Jul 24 21:34:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Steps:
```bash
./build.sh
```
Error:
```txt
[ 88%] Linking CXX executable ../../../../build/bin/taosd
/usr/bin/ld: /home/huolinhe/.cos-local.2/lib/libcurl.a(libcurl_la-psl.o): in function `Curl_psl_destroy':
psl.c:(.text+0x13): undefined reference to `psl_free'
/usr/bin/ld: /home/huolinhe/.cos-local.2/lib/libcurl.a(libcurl_la-psl.o): in function `Curl_psl_use':
psl.c:(.text+0xad): undefined reference to `psl_latest'
/usr/bin/ld: psl.c:(.text+0xe4): undefined reference to `psl_free'
/usr/bin/ld: psl.c:(.text+0xfc): undefined reference to `psl_builtin'
/usr/bin/ld: /home/huolinhe/.cos-local.2/lib/libcurl.a(libcurl_la-cookie.o): in function `Curl_cookie_add':
cookie.c:(.text+0x11a3): undefined reference to `psl_is_cookie_domain_acceptable'
collect2: error: ld returned 1 exit status
```
Disable libpsl in curl will fix the errors.
|
2024-04-23 15:45:22 +08:00 |
Minglei Jin
|
18dc6ff695
|
enh(cmake/curl): download from github instead of curl.se
|
2023-12-25 09:11:47 +08:00 |
Minglei Jin
|
31ce6453c2
|
fix(cmake/s3): make cmake config portable
|
2023-11-06 14:17:27 +08:00 |
Minglei Jin
|
0e65ed0202
|
cmake/curl: use new dir curl2 for s3 version
|
2023-10-24 09:16:09 +08:00 |
Minglei Jin
|
7fdf6cc696
|
cmake: use new dir for libs3
|
2023-10-24 09:04:24 +08:00 |
Minglei Jin
|
7d17c4cc90
|
cmake/curl, libs3: use build command
|
2023-10-23 19:35:22 +08:00 |
Minglei Jin
|
62cd6f3ed2
|
cmake/curl, libs3, ssl: clean source dir before building
|
2023-10-23 16:50:51 +08:00 |
Minglei Jin
|
11b65e2779
|
vnode/cos: make dependent lib public
|
2023-10-17 18:11:13 +08:00 |
Minglei Jin
|
d8b0d8085b
|
cmake/ssl: make curl depends openssl
|
2023-10-17 15:16:20 +08:00 |
Minglei Jin
|
0a1ff3283e
|
vnode/cos: first round size delte and get
|
2023-10-13 16:59:05 +08:00 |
t_max
|
eae1249f75
|
fix(CMAKE): fix curl cmake file
|
2023-09-28 09:54:19 +08:00 |
kailixu
|
1a49bf5489
|
chore: add curl url hash
|
2023-09-26 13:03:18 +08:00 |
Minglei Jin
|
2c1a46a3de
|
fix(s3): cmake apu & curl fixes
|
2023-08-22 14:57:39 +08:00 |
Minglei Jin
|
e1971cf0a0
|
curl: disable brotli with static lib
|
2023-08-11 17:18:38 +08:00 |
Minglei Jin
|
84452c8dee
|
cos: use static sdk
|
2023-08-11 16:36:53 +08:00 |
Minglei Jin
|
4513acfee9
|
cos: use static libs for mxml, apr, apu, curl
|
2023-08-11 09:54:54 +08:00 |
Minglei Jin
|
bb0b80e42d
|
cmake: use .cos-local as prebuilt directory
|
2023-08-10 14:24:51 +08:00 |
Minglei Jin
|
a5ccc3e8aa
|
apr: make apr, apu, curl build always
|
2023-08-09 17:53:25 +08:00 |
Minglei Jin
|
bc64d5f769
|
cos: use ~/local as prefix for building
|
2023-08-09 16:53:19 +08:00 |
Minglei Jin
|
5d0edcd17b
|
cos: use /usr/local as prefix instead of debug/build
|
2023-08-09 15:41:23 +08:00 |
Minglei Jin
|
30cbbc425f
|
cos: new update command to build every cmake
|
2023-08-09 14:31:17 +08:00 |
Minglei Jin
|
376a2c2520
|
curl: with openssl building
|
2023-08-09 13:31:18 +08:00 |
Minglei Jin
|
56b348abf2
|
curl: use tarball
|
2023-08-09 13:15:25 +08:00 |
Minglei Jin
|
7e2859ed43
|
apr: use tarball to avoid ./buildconf
|
2023-08-09 13:03:37 +08:00 |
Minglei Jin
|
4d1155a5cf
|
curl: makefile for curl
|
2023-08-09 10:43:27 +08:00 |