aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorLinus Walleij <triad@df.lth.se>2012-07-17 14:43:31 +0200
committerLinus Walleij <triad@df.lth.se>2012-07-17 14:43:31 +0200
commitb2d4ff46f6a4bfea6dc2cab9d714f5c7a4cca209 (patch)
treed184d8beeb154c7945e32625691d30da5ebf7b84 /INSTALL
parent68f3cb6bcc0a6f24e66377a6f0ab707ff3457bf9 (diff)
downloadlibmtp-b2d4ff46f6a4bfea6dc2cab9d714f5c7a4cca209.tar.gz
More descriptive INSTALL
Signed-off-by: Linus Walleij <triad@df.lth.se>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL14
1 files changed, 14 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 27a2e77..0ff1ae8 100644
--- a/INSTALL
+++ b/INSTALL
@@ -59,6 +59,20 @@ you run your program, for example:
% export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
% my_program
+To check whether you need to do something this:
+
+ % ldd /usr/lib/rhytmbox/plugins/mtpdevice/libmtpdevice.so | grep mtp
+ % ldd /usr/bin/gnomad2 | grep mtp
+
+If the program is linking to a packaged version of libmtp
+it will likely say something like this:
+
+ libmtp.so.N => /usr/lib/libmtp.so.N (0xb4e4b000)
+
+In this case you may have your freshly compiled library in
+/usr/local/lib or something like that, and you need to do the
+LD_LIBRARY_PATH trick. Verify by using "ldd" again.
+
This way of enabling the library to link is a workaround hack.
Note that the LD_LIBRARY_PATH is actually supposed to be used for
testing, not production systems or distributions. It is commonly