curl-32, zstd (and changes in Crux 3.6)
Hi, I try to update the curl-32 port and hit the issue with undefined references: /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `ZSTD_versionNumber' /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `ZSTD_createDStream' /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `ZSTD_decompressStream' /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `ZSTD_isError' /usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `ZSTD_freeDStream' collect2: error: ld returned 1 exit status I have zstd in my system. Curl 64 updated without problems. I looked into Pkgfile and check the config messages. We don't control zstd inclusion with the configure option, so curl is going to be linked against it. That's fine for 64-bit, but not for 32, because we don't have zstd-32. I thought about making zstd-32 myself. I can compile 32 bit binaries, but I don't see a way to build 32 bit libraries. Any suggestion will be appreciated. Wawrzek PS. At the moment zstd is in opt, but I noticed on 3.6 TODO list that it's going to be included in core what means that it's going to affect everyone in the next release. [TODO] - https://crux.nu/Wiki/TODO36 "libarchive possibly build with zstd support. If so, we have to move zstd to core. (done) " -- Dr Wawrzyniec NiewodniczaĆski or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
On Fri, 11 Sep 2020 at 08:25, Wawrzek Niewodniczanski <main@wawrzek.name> wrote:
Hi, I thought about making zstd-32 myself. I can compile 32 bit binaries, but I don't see a way to build 32 bit libraries. Any suggestion will be appreciated.
I think I found a way. Go direct to lib directory and export CFLAGS=-m32 make lib seems to do the trick. Wawrzek -- Dr Wawrzyniec NiewodniczaĆski or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
participants (1)
-
Wawrzek Niewodniczanski