From bd469a0d1f473e8b0b6078608bfa82d812179694 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 4 Dec 2014 19:14:20 -0500 Subject: [PATCH] building-32-bit-lttng-ust: add note about lib path --- .../building-32-bit-lttng-ust.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/building-32-bit-lttng-ust.md b/contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/building-32-bit-lttng-ust.md index 17b67df..340512c 100644 --- a/contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/building-32-bit-lttng-ust.md +++ b/contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/building-32-bit-lttng-ust.md @@ -17,8 +17,22 @@ sudo make install sudo ldconfig -`-L/usr/lib32` is required for the build to find the 32-bit version -of Userspace RCU. +`-L/usr/lib32` is required for the build to find the 32-bit versions +of Userspace RCU and other dependencies. + +
+

+ Note:Depending on your Linux distribution, + 32-bit libraries could be installed at a different location than + /usr/lib32. For example, Debian is known to install + some 32-bit libraries in /usr/lib/i386-linux-gnu. +

+

+ In this case, make sure to set LDFLAGS to all the + relevant 32-bit library paths, e.g., + LDFLAGS="-L/usr/lib32 -L/usr/lib/i386-linux-gnu". +

+

-- 2.34.1