]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs/ECH: typo/clarification
authorStephen Farrell <stephen.farrell@cs.tcd.ie>
Mon, 20 May 2024 20:53:01 +0000 (21:53 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 21 May 2024 13:09:24 +0000 (15:09 +0200)
Closes #13727

docs/ECH.md

index 53bc60afc6b1e8c05135f8ee4488356b921761ba..150ef2afc04a587f3bd9217511830e8012ac3445 100644 (file)
@@ -40,7 +40,7 @@ To build curl ECH-enabled, making use of the above:
     git clone https://github.com/curl/curl
     cd curl
     autoreconf -fi
-    LDFLAGS="-Wl,-rpath,$HOME/code/openss-local-inst/lib/" ./configure  --with-ssl=$HOME/code/openssl-local-inst  --enable-ech --enable-httpsrr
+    LDFLAGS="-Wl,-rpath,$HOME/code/openssl-local-inst/lib/" ./configure --with-ssl=$HOME/code/openssl-local-inst --enable-ech --enable-httpsrr
     ...lots of output...
     WARNING: ech ECH HTTPSRR enabled but marked EXPERIMENTAL...
     make
@@ -52,9 +52,11 @@ is not enabled, so go back some steps and re-do whatever needs re-doing:-) If yo
 want to debug curl then you should add ``--enable-debug`` to the ``configure``
 command.
 
-With the above build, I still need to set ``LD_LIBRARY_PATH`` to run the
-version of curl built against OpenSSL in my development environment (Ubuntu
-23.10).
+In a recent (2024-05-20) build on one machine, configure failed to find the
+ECH-enabled SSL library, apparently due to the existence of
+``$HOME/code/openssl-local-inst/lib/pkgconfig`` as a directory containing
+various settings. Deleting that directory worked around the problem but may not
+be the best solution.
 
 ## Using ECH and DoH