Hmmm, didn't know it was so embeded. Anyway, the library is built correctly and I was able to get it work but I had to do something rather stange to do so. That was putting the library name in quotes. I suspect it may have something to do with ld not wanting to deal with library dependencies (which now exist) when doing a preload. The quotes made ld happy and it all worked again. Then again, I may be missing something but the script below indeed works just as expected. Andy On Thu, 22 Sep 2011, Yang, Wei wrote: > Thanks Andy, below is what we do for GridFTP and everything else. I didn't realize how serious this is I went through this thread. Put GridFTP aside, without preload, WT2, SWT2 and WISC will cease operation because Panda's XrdSiteMover depends on the preload library. > > regards, > Wei Yang | [log in to unmask] | 650-926-3338(O) > > > > > On Sep 21, 2011, at 9:00 PM, Andrew Hanushevsky wrote: > >> Could you send me exactly how you are launching grid_ftp? I need to see how >> you are specifying the LD_PRELOAD envar. Also, you can test that the library >> works just fine using something like: >> >> LD_LIBRARY_PATH=<path> >> export LD_LIBRARY_PATH >> >> XROOTD_VMP=<server>:<port>:<patha>=<pathb> >> export XROOTD_VMP >> >> LD_PRELOAD='libXrdPosixPreload.so' >> export LD_PRELOAD >> >> $* >> >> Give it a whirl with, say, ls -l (i.e. ldo ls-l) and let me know what >> happens. >> >> Andy >> >> -----Original Message----- >> From: anonymous >> Sent: Wednesday, September 21, 2011 5:00 PM >> To: Brian Bockelman ; Lukasz Janyst ; [log in to unmask] ; >> [log in to unmask] >> Subject: [bug #86984] Xrootd 3.1.0 - preload >> >> Follow-up Comment #10, bug #86984 (project xrootd): >> >> I am running the plugin on: >> >> Scientific Linux SLF release 5.5 (Lederman) >> Linux fermicloud040.fnal.gov 2.6.18-238.19.1.el5 #1 SMP Fri Jul 15 00:48:58 >> EDT 2011 x86_64 x86_64 x86_64 GNU/Linux >> >> >> _______________________________________________________ >> >> Reply to this item at: >> >> <http://savannah.cern.ch/bugs/?86984> >> >> _______________________________________________ >> Message sent via/by LCG Savannah >> http://savannah.cern.ch/ >> > >