On 9/11/15 1:18 PM, William Allen Simpson wrote:
> 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
>>>
>
Re-checking:

-- Up-to-date: /home/bill/rdma/install/lib64/libntirpc.so.1.3.0
-- Up-to-date: /home/bill/rdma/install/lib64/libntirpc.so.1.3
-- Up-to-date: /home/bill/rdma/install/lib64/libntirpc.so
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalnull.so.4.2.0
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalnull.so.4
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalnull.so
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalproxy.so.4.2.0
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalproxy.so.4
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalproxy.so
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalgpfs.so.4.2.0
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalgpfs.so.4
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalgpfs.so
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalvfs.so.4.2.0
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalvfs.so.4
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalvfs.so
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalpanfs.so.4.2.0
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalpanfs.so.4
-- Up-to-date: /home/bill/rdma/install/lib64/ganesha/libfsalpanfs.so
-- Up-to-date: /home/bill/rdma/install/bin/ganesha.nfsd
bill@simpson:~/rdma/build$ ls -l ../install/lib64/ganesha/
total 3064
lrwxrwxrwx 1 bill bill      16 Mar 23 01:54 libfsalgpfs.so -> libfsalgpfs.so.4
lrwxrwxrwx 1 bill bill      20 Mar 23 01:54 libfsalgpfs.so.4 -> 
libfsalgpfs.so.4.2.0
-rw-r--r-- 1 bill bill  671208 Sep 10 23:13 libfsalgpfs.so.4.2.0
lrwxrwxrwx 1 bill bill      16 Mar 23 01:54 libfsalnull.so -> libfsalnull.so.4
lrwxrwxrwx 1 bill bill      20 Mar 23 01:54 libfsalnull.so.4 -> 
libfsalnull.so.4.2.0
-rw-r--r-- 1 bill bill  196920 Sep 10 23:13 libfsalnull.so.4.2.0
lrwxrwxrwx 1 bill bill      17 Mar 23 01:54 libfsalpanfs.so -> libfsalpanfs.so.4
lrwxrwxrwx 1 bill bill      21 Mar 23 01:54 libfsalpanfs.so.4 -> 
libfsalpanfs.so.4.2.0
-rw-r--r-- 1 bill bill  499440 Sep 10 23:13 libfsalpanfs.so.4.2.0
lrwxrwxrwx 1 bill bill      17 Mar 23 01:54 libfsalproxy.so -> libfsalproxy.so.4
lrwxrwxrwx 1 bill bill      21 Mar 23 01:54 libfsalproxy.so.4 -> 
libfsalproxy.so.4.2.0
-rw-r--r-- 1 bill bill  358464 Sep 10 23:13 libfsalproxy.so.4.2.0
lrwxrwxrwx 1 bill bill      15 Mar 23 01:54 libfsalvfs.so -> libfsalvfs.so.4
lrwxrwxrwx 1 bill bill      19 Mar 23 01:54 libfsalvfs.so.4 -> 
libfsalvfs.so.4.2.0
-rw-r--r-- 1 bill bill  395616 Sep 10 23:13 libfsalvfs.so.4.2.0
-rw-r--r-- 1 bill bill 1005416 Sep 10 22:33 libntirpc.so
bill@simpson:~/rdma/build$

The date on the latter libntirpc.so seems slightly off.  Is this an
old place for storing it?  Or confusing the loader?


------------------------------------------------------------------------------
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to