On Wed, Sep 07, 2022 at 07:28:32PM -0400, Dennis Clarke via curl-library wrote:
The LD_PRELOAD borks things up badly :

s$
s$ 
LD_PRELOAD=/opt/bw/build/curl-7.85.0_sunos5.10_sparcv9_sslv3.003/tests/libtest/.libs/libhostname.so
/usr/xpg4/bin/sed -e 's/foo/bar/'
ld.so.1: sed: fatal: 
/opt/bw/build/curl-7.85.0_sunos5.10_sparcv9_sslv3.003/tests/libtest/.libs/libhostname.so:
wrong ELF class: ELFCLASS64

libhostname.so is built as part of the test suite and not as part of the rest of curl, and it sounds like it's not being built appropriately for the host. Can you take a look at the logs to see what the difference is? I would try configuring without the --build and --target options.
--
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to