Re: Unable to build libmfu properly


Bohning, Dalton
 

Interesting. As you said, the libraries are in fact there. And I think cmake is finding the libraries, or else cmake would print something like “/usr/bin/ld: cannot find -ldfs” before getting to the “make” command. Could you please the compile command used to build libmfu?

$ cat ${MY_MFU_BUILD_PATH}/src/common/CMakeFiles/mfu.dir/link.txt

 

~Dalton Bohning

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of netsurfed
Sent: Tuesday, December 28, 2021 9:40 PM
To: daos@daos.groups.io
Subject: Re: [daos] Unable to build libmfu properly

 

Hi, yes, "build" is where daos is installed.

$ ls -l /home/daos_agent/git/daos/build/lib64/

total 22080

drwxrwxr-x 3 daos_agent daos_agent    4096 Dec 13 08:06 daos

drwxrwxr-x 2 daos_agent daos_agent    4096 Dec 13 10:18 daos_srv

lrwxrwxrwx 1 daos_agent daos_agent      16 Dec 13 10:18 libcart.so -> libcart.so.4.9.0

lrwxrwxrwx 1 daos_agent daos_agent      16 Dec 13 10:18 libcart.so.4 -> libcart.so.4.9.0

-rwxrwxr-x 1 daos_agent daos_agent 4948104 Dec 13 10:10 libcart.so.4.9.0

-rwxrwxr-x 1 daos_agent daos_agent  710680 Dec 13 10:10 libdaos_cmd_hdlrs.so

-rwxrwxr-x 1 daos_agent daos_agent 2955992 Dec 13 10:10 libdaos_common_pmem.so

-rwxrwxr-x 1 daos_agent daos_agent 2905240 Dec 13 10:10 libdaos_common.so

lrwxrwxrwx 1 daos_agent daos_agent      16 Dec 13 10:18 libdaos.so -> libdaos.so.2.0.0

lrwxrwxrwx 1 daos_agent daos_agent      16 Dec 13 10:18 libdaos.so.2 -> libdaos.so.2.0.0

-rwxrwxr-x 1 daos_agent daos_agent 6814552 Dec 13 10:04 libdaos.so.2.0.0

-rwxrwxr-x 1 daos_agent daos_agent  274776 Dec 13 10:10 libdaos_tests.so

-rwxrwxr-x 1 daos_agent daos_agent   27160 Dec 13 10:18 libdfs_internal.so

-rwxrwxr-x 1 daos_agent daos_agent  816728 Dec 13 10:10 libdfs.so

-rw-rw-r-- 1 daos_agent daos_agent  206304 Dec 13 08:07 libdfuse.a

-rwxrwxr-x 1 daos_agent daos_agent  137440 Dec 13 10:18 libdfuse.so

-rwxrwxr-x 1 daos_agent daos_agent  116120 Dec 13 10:10 libdts.so

-rwxrwxr-x 1 daos_agent daos_agent  158712 Dec 13 10:10 libduns.so

lrwxrwxrwx 1 daos_agent daos_agent      16 Dec 13 10:18 libgurt.so -> libgurt.so.4.9.0

lrwxrwxrwx 1 daos_agent daos_agent      16 Dec 13 10:18 libgurt.so.4 -> libgurt.so.4.9.0

-rwxrwxr-x 1 daos_agent daos_agent 1132488 Dec 13 10:03 libgurt.so.4.9.0

-rw-rw-r-- 1 daos_agent daos_agent  777432 Dec 13 08:06 libioil.a

-rwxrwxr-x 1 daos_agent daos_agent  411776 Dec 13 10:18 libioil.so

-rw-rw-r-- 1 daos_agent daos_agent  169190 Dec 13 08:03 libnvme_control.a

drwxrwxr-x 3 daos_agent daos_agent    4096 Dec 13 08:07 python3.8


And "${MY_DAOS_INSTALL_PATH}/include" is the installed include directory.

$ ls -l ${MY_DAOS_INSTALL_PATH}/include

total 332

drwxrwxr-x 2 daos_agent daos_agent  4096 Dec 17 08:11 cart

drwxrwxr-x 2 daos_agent daos_agent  4096 Dec 13 08:06 daos

-rw-r--r-- 1 daos_agent daos_agent  6274 Dec 13 06:39 daos_api.h

-rw-r--r-- 1 daos_agent daos_agent 14770 Dec 13 06:39 daos_array.h

-rw-r--r-- 1 daos_agent daos_agent 27543 Dec 13 06:39 daos_cont.h

-rw-r--r-- 1 daos_agent daos_agent 13947 Dec 13 06:39 daos_errno.h

-rw-r--r-- 1 daos_agent daos_agent  8573 Dec 13 06:39 daos_event.h

-rw-r--r-- 1 daos_agent daos_agent 32290 Dec 13 06:39 daos_fs.h

-rw-r--r-- 1 daos_agent daos_agent 16091 Dec 13 06:39 daos_fs_sys.h

-rw-r--r-- 1 daos_agent daos_agent   974 Dec 13 06:39 daos.h

-rw-r--r-- 1 daos_agent daos_agent  6895 Dec 13 06:39 daos_kv.h

-rw-r--r-- 1 daos_agent daos_agent  2990 Dec 13 06:39 daos_mgmt.h

-rw-r--r-- 1 daos_agent daos_agent 17727 Dec 13 06:39 daos_obj_class.h

-rw-r--r-- 1 daos_agent daos_agent 39305 Dec 13 06:39 daos_obj.h

-rw-r--r-- 1 daos_agent daos_agent 14316 Dec 13 06:39 daos_pool.h

-rw-r--r-- 1 daos_agent daos_agent 16599 Dec 13 06:39 daos_prop.h

-rw-r--r-- 1 daos_agent daos_agent 17364 Dec 13 06:39 daos_security.h

drwxrwxr-x 2 daos_agent daos_agent  4096 Dec 13 08:06 daos_srv

-rw-r--r-- 1 daos_agent daos_agent 27072 Dec 13 06:39 daos_task.h

-rw-r--r-- 1 daos_agent daos_agent  4872 Dec 13 06:39 daos_types.h

-rw-r--r-- 1 daos_agent daos_agent  8607 Dec 13 06:39 daos_uns.h

-rw-rw-r-- 1 daos_agent daos_agent   486 Dec 13 08:02 daos_version.h

drwxrwxr-x 2 daos_agent daos_agent  4096 Dec 20 02:12 gurt

drwxrwxr-x 2 daos_agent daos_agent  4096 Dec 13 08:06 spdk


My command to compile daos is "scons PREFIX=./build install --build-deps=yes --config=force".

Join daos@daos.groups.io to automatically receive all group messages.