curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: curl-7.85.0 fails test 831 on Solaris 11.3 SPARCv9

From: Dan Fandrich via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 7 Sep 2022 16:59:21 -0700

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
Received on 2022-09-08