On Tue, Jul 30, 2019 at 7:15 AM Nigel B. Peck <nigelbpeck@xxxxxxxxx> wrote: > > Hi, > > Having some trouble compiling Apache with non-system OpenSSL, any help > appreciated. Looked at many threads online but no answers so far. [...] > Is there any way I can resolve this without having to add the location > to LD_LIBRARY_PATH? LDFLAGS=-Wl,-rpath,/path/to/libs ./configure --prefix to set the rpath. Depending on the platform you're on or the linker you're using, you may have to use -R instead. You could also switch to cmake instead of autoconf, since cmake usually gets the linker options right on its own, if you point it to the correct directories. rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx