Hi Daniel

No, they are actually installed (the build failed at 43% due to the lack of these) so that isn’t the problem.

I was told by one of our benchmark people that he suspected that there’s something missing in the cmakelist.txt  e.g., 

the clean fix is to add this lib to the CMakeLists.txt
I have only examples from 'something' else - but it usually looks then like this:

df_component_register(SRCS "asio/asio/src/asio.cpp"
                    INCLUDE_DIRS "asio/asio/include" "port/include"
                    REQUIRES lwip)

... "REQUIRES lacl" would be my bet.

Tried to find a similar entry but no success ...

Regards Torben
______________________
Dr. Torben Kling Petersen
Distinguished Technologist
+46-704 393 240

image001.png

On 27 Apr 2023, at 15:58, Daniel Gryniewicz <dang@redhat.com> wrote:

For the build part, you appear to be missing libacl and it's -devel package.

Daniel

On 4/27/23 03:37, Kling Petersen, Torben wrote:
Hi all
As there seem to be no RPMs for version 5 in available repositories, I tried to build the RPMs myself but get stuck at 79% (note I’m not an experienced developer so this may be a simple question).
[ 79%] Linking C shared library libganesha_nfsd.so
../os/CMakeFiles/gos.dir/linux/acl.c.o: In function `acl_get_fd_np':
/root/git/nfs-ganesha/src/os/linux/acl.c:44: undefined reference to `acl_get_fd'
/root/git/nfs-ganesha/src/os/linux/acl.c:57: undefined reference to `acl_get_file'
../os/CMakeFiles/gos.dir/linux/acl.c.o: In function `acl_set_fd_np':
/root/git/nfs-ganesha/src/os/linux/acl.c:79: undefined reference to `acl_set_fd'
/root/git/nfs-ganesha/src/os/linux/acl.c:92: undefined reference to `acl_set_file'
collect2: error: ld returned 1 exit status
make[2]: *** [MainNFSD/CMakeFiles/ganesha_nfsd.dir/build.make:754: MainNFSD/libganesha_nfsd.so.5.1] Error 1
make[1]: *** [CMakeFiles/Makefile2:1922: MainNFSD/CMakeFiles/ganesha_nfsd.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Googling the problem essentially returns Q&As from 2007 with little to no useful info ...….
Any suggestions (or pointers to already built binaries) ??
Regards Torben
______________________
Dr. Torben Kling Petersen
Distinguished Technologist
+46-704 393 240
image001.png
_______________________________________________
Support mailing list -- support@lists.nfs-ganesha.org
To unsubscribe send an email to support-leave@lists.nfs-ganesha.org
_______________________________________________
Support mailing list -- support@lists.nfs-ganesha.org
To unsubscribe send an email to support-leave@lists.nfs-ganesha.org