diff options
author | lloyd <[email protected]> | 2010-11-12 00:44:46 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-11-12 00:44:46 +0000 |
commit | aee0e6b59338f515d2e6576bcabb0779645308f4 (patch) | |
tree | df6e2225f81ac05363c7c1b83cfe1a00a6ea56ca /doc | |
parent | e5a7bf697b418b66a92508089d16f6fc54d7fd94 (diff) |
Add a Mac OS X tip from Thomas Keller
Diffstat (limited to 'doc')
-rw-r--r-- | doc/building.tex | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/building.tex b/doc/building.tex index 36a9f1140..7164f74eb 100644 --- a/doc/building.tex +++ b/doc/building.tex @@ -149,6 +149,19 @@ order for new shared libraries to be picked up by the linker. An alternative is to set your \texttt{LD\_LIBRARY\_PATH} shell variable to include the directory that the Botan libraries were installed into. +\subsection{Mac OS X} + +In general the Unix instructions above should apply, however OS X does +not support \texttt{LD\_LIBRARY\_PATH}. Thomas Keller suggests instead +running \verb|install_name_tool| between building and running the +self-test program: + +\begin{verbatim} + $ VERSION=1.9.10 + $ install_name_tool -change $(otool -X -D libbotan-$VERSION.dylib) \ + $PWD/libbotan-$VERSION.dylib check +\end{verbatim} + \subsection{MS Windows} If you don't want to deal with building botan on Windows, check the |