Stayed up w-a-y too late last night poking at this. Somebody else has to verify things are working for them.
On 9/11/15 8:19 AM, Daniel Gryniewicz wrote: > It's installed in <prefix>/lib[64]. If you're not installing into a > standard location, you will need to add <prefix>/lib[64] to your > LD_LIBRARY_PATH, but it probably should have been there before. > Certainly that would have been necessary if any non-VFS FSALs were in > use. > cmake -DCMAKE_BUILD_TYPE=Maintainer -DCMAKE_INSTALL_PREFIX=../install -DUSE_NFS_RDMA=ON -DCMAKE_C_FLAGS="-O0 -g -gdwarf-4" ../nfs-ganesha/src The first line I posted was my LD_LIBRARY_PATH, it has my <prefix>: :/home/bill/rdma/install/lib:/home/bill/rdma/install/lib64 I also showed what the directories have in them. So what other prefix do I need, and where? > ntirpc used to be statically linked, it's dynamically linked now > (since it's a shared library) so library path matters. > And that's a good thing! I'm all in favor, and eventually hope to compile ntirpc separately someday.... But this isn't quite working for me yet. > On Thu, Sep 10, 2015 at 11:41 PM, William Allen Simpson >> Bah. Stayed up tonight and rebuilt my repository and tried again. >> >> Dan's commit message has a grammar error: it's -> its. >> >> Tested on top of my own https://review.gerrithub.io/#/c/246391/ >> (which is also ready to go as discussed on the call today). >> >> Build and link OK with USE_NFS_RDMA = ON. >> >> But couldn't test, the shared library must be somewhere else now: >> >> :/home/bill/rdma/install/lib:/home/bill/rdma/install/lib64 >> root@simpson:~/rdma/install# ./bin/ganesha.nfsd >> ./bin/ganesha.nfsd: error while loading shared libraries: libntirpc.so.1.3: >> cannot open shared object file: No such file or directory >> root@simpson:~/rdma/install# ls bin >> ganesha.nfsd >> root@simpson:~/rdma/install# ls lib >> ls: cannot access lib: No such file or directory >> root@simpson:~/rdma/install# ls lib64 >> ganesha libntirpc.so libntirpc.so.1.3 libntirpc.so.1.3.0 >> root@simpson:~/rdma/install# ls lib64/ganesha/ >> libfsalgpfs.so libfsalpanfs.so libfsalvfs.so >> libfsalgpfs.so.4 libfsalpanfs.so.4 libfsalvfs.so.4 >> libfsalgpfs.so.4.2.0 libfsalpanfs.so.4.2.0 libfsalvfs.so.4.2.0 >> libfsalnull.so libfsalproxy.so libntirpc.so >> libfsalnull.so.4 libfsalproxy.so.4 >> libfsalnull.so.4.2.0 libfsalproxy.so.4.2.0 >> ------------------------------------------------------------------------------ _______________________________________________ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel