building-32-bit-lttng-ust: add note about lib path
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 5 Dec 2014 00:14:20 +0000 (19:14 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 5 Dec 2014 00:14:20 +0000 (19:14 -0500)
contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/building-32-bit-lttng-ust.md

index 17b67dff7a8c9c5802e1ce0818b3b04c22eef2f2..340512c7026ea6db4dd683cc622f9d2d878407f6 100644 (file)
@@ -17,8 +17,22 @@ sudo make install
 sudo ldconfig
 </pre>
 
-`-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.
+
+<div class="tip">
+<p>
+    <span class="t">Note:</span>Depending on your Linux distribution,
+    32-bit libraries could be installed at a different location than
+    <code>/usr/lib32</code>. For example, Debian is known to install
+    some 32-bit libraries in <code>/usr/lib/i386-linux-gnu</code>.
+</p>
+<p>
+    In this case, make sure to set <code>LDFLAGS</code> to all the
+    relevant 32-bit library paths, e.g.,
+    <code>LDFLAGS="-L/usr/lib32 -L/usr/lib/i386-linux-gnu"</code>.
+</p>
+</div>
 
 <div class="tip">
 <p>
This page took 0.022884 seconds and 4 git commands to generate.