Hi Brian, I followed your recipe (assuming you are using bash). I used the cmake build of git head. I cd's into the /src subdirectory (as all the proper runpaths would be set at that point) and executed what you had. It worked flawlessly!!! So, the problem lies elsewhere. It is not with the code. I see a couple of issues: a) I don't see where the LD_LIBRARY_PATH gets set if it gets set at all. If that is not set then the whole thing may very well not work. b) I don't know how you built the particular version, how it's installed, and I don't know what directory you are cd's into so I don't know what the ls command is actually looking at. I cannot reproduce the problem. So, I suspect it's an build/install issue. Here is my system info: System: RHEL Client release 5.7 (Tikanga) 2.6.18-274.el5 (2x1791MHz V20z) GNU ld version 2.17.50.0.6-14.el5 20061020 gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51) I am more than happy to try something that is closer to yours. Andy -----Original Message----- From: Brian Bockelman Sent: Thursday, September 22, 2011 12:35 PM To: Brian Bockelman ; Lukasz Janyst ; Wei Yang ; [log in to unmask] ; [log in to unmask] Subject: [bug #86984] Xrootd 3.1.0 - preload Follow-up Comment #15, bug #86984 (project xrootd): Hi Andy, This is precisely what I'm doing: [bbockelm@brian-test projects]$ export XROOTD_VMP="brian-test:1094:/mnt/xrootd=/tmp" [bbockelm@brian-test projects]$ LD_PRELOAD=libXrdPosixPreload.so /bin/ls . /bin/ls: .: Can not access a needed shared library /bin/ls: write error: Can not access a needed shared library Increasing to LD_DEBUG=all, the dynamic linker isn't complaining about any library loading issues. _______________________________________________________ Reply to this item at: <http://savannah.cern.ch/bugs/?86984> _______________________________________________ Message sent via/by LCG Savannah http://savannah.cern.ch/