]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
mention how LDFLAGS=-R can be used (or LD_LIBRARY_PATH or ld.so.conf)
authorDaniel Stenberg <daniel@haxx.se>
Tue, 26 Oct 2004 08:09:16 +0000 (08:09 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 26 Oct 2004 08:09:16 +0000 (08:09 +0000)
docs/INSTALL

index 7b452cedb01148f26eabc5961334da8e33e3e904..1d6386089cddbcf5e102e8966cf6b87507e37fdb 100644 (file)
@@ -79,8 +79,18 @@ UNIX
        env CPPFLAGS="-I/path/to/ssl/include" LDFLAGS="-L/path/to/ssl/lib" \
        ./configure
 
-   If your SSL library was compiled with rsaref (usually for use in the United
-   States), you may also need to set:
+   If you have shared SSL libs installed in a directory where your run-time
+   linker doesn't find them (which usually causes configure failures), you can
+   provide the -R option to ld on some operating systems to set a hard-coded
+   path to the run-time linker:
+
+        LDFLAGS=-R/usr/local/ssl/lib ./configure --with-ssl
+
+   Another option to the previous trick, is to set LD_LIBRARY_PATH or edit the
+   /etc/ld.so.conf file.
+
+   If your SSL library was compiled with rsaref (this was common in the past
+   when used in the United States), you may also need to set:
 
      LIBS=-lRSAglue -lrsaref
      (as suggested by Doug Kaufman)