Hello people, during installation of OpenPBS I’ve encountered a problem.
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -o pbs_server.bin pbs_server_bin-accounting.o pbs_server_bin-array_func.o pbs_server_bin-attr_recov.o pbs_server_bin-attr_recov_db.o pbs_server_bin-dis_read.o pbs_server_bin-failover.o pbs_server_bin-geteusernam.o pbs_server_bin-hook_func.o pbs_server_bin-issue_request.o pbs_server_bin-jattr_get_set.o pbs_server_bin-job_func.o pbs_server_bin-job_recov_db.o pbs_server_bin-job_route.o pbs_server_bin-licensing_func.o pbs_server_bin-mom_info.o pbs_server_bin-daemon_info.o pbs_server_bin-nattr_get_set.o pbs_server_bin-node_func.o pbs_server_bin-node_manager.o pbs_server_bin-node_recov_db.o pbs_server_bin-pbs_db_func.o pbs_server_bin-pbsd_init.o pbs_server_bin-pbsd_main.o pbs_server_bin-process_request.o pbs_server_bin-qattr_get_set.o pbs_server_bin-queue_func.o pbs_server_bin-queue_recov_db.o pbs_server_bin-rattr_get_set.o pbs_server_bin-reply_send.o pbs_server_bin-req_delete.o pbs_server_bin-req_getcred.o pbs_server_bin-req_holdjob.o pbs_server_bin-req_jobobit.o pbs_server_bin-req_locate.o pbs_server_bin-req_manager.o pbs_server_bin-req_message.o pbs_server_bin-req_modify.o pbs_server_bin-req_preemptjob.o pbs_server_bin-req_movejob.o pbs_server_bin-req_quejob.o pbs_server_bin-req_register.o pbs_server_bin-req_rerun.o pbs_server_bin-req_rescq.o pbs_server_bin-req_runjob.o pbs_server_bin-req_select.o pbs_server_bin-req_shutdown.o pbs_server_bin-req_signal.o pbs_server_bin-req_stat.o pbs_server_bin-req_track.o pbs_server_bin-req_cred.o pbs_server_bin-resc_attr.o pbs_server_bin-run_sched.o pbs_server_bin-sattr_get_set.o pbs_server_bin-sched_attr_get_set.o pbs_server_bin-sched_func.o pbs_server_bin-setup_resc.o pbs_server_bin-stat_job.o pbs_server_bin-svr_chk_owner.o pbs_server_bin-svr_connect.o pbs_server_bin-svr_func.o pbs_server_bin-svr_jobfunc.o pbs_server_bin-svr_mail.o pbs_server_bin-svr_movejob.o pbs_server_bin-svr_recov_db.o pbs_server_bin-svr_resccost.o pbs_server_bin-svr_credfunc.o pbs_server_bin-user_func.o pbs_server_bin-vnparse.o ../../src/lib/Libpbs/libpbs.la ../../src/lib/Libtpp/libtpp.a ../../src/lib/Libattr/libattr.a ../../src/lib/Libutil/libutil.a ../../src/lib/Liblog/liblog.a ../../src/lib/Libnet/libnet.a ../../src/lib/Libsec/libsec.a ../../src/lib/Libsite/libsite.a ../../src/lib/Libpython/libpbspython_svr.a ../../src/lib/Libdb/libpbsdb.la ../../src/lib/Liblicensing/liblicensing.la -lexpat -lz -lical -lssl -lcrypto -ldl -lcrypt -lc -lc
libtool: link: gcc -g -O2 -o .libs/pbs_server.bin pbs_server_bin-accounting.o pbs_server_bin-array_func.o pbs_server_bin-attr_recov.o pbs_server_bin-attr_recov_db.o pbs_server_bin-dis_read.o pbs_server_bin-failover.o pbs_server_bin-geteusernam.o pbs_server_bin-hook_func.o pbs_server_bin-issue_request.o pbs_server_bin-jattr_get_set.o pbs_server_bin-job_func.o pbs_server_bin-job_recov_db.o pbs_server_bin-job_route.o pbs_server_bin-licensing_func.o pbs_server_bin-mom_info.o pbs_server_bin-daemon_info.o pbs_server_bin-nattr_get_set.o pbs_server_bin-node_func.o pbs_server_bin-node_manager.o pbs_server_bin-node_recov_db.o pbs_server_bin-pbs_db_func.o pbs_server_bin-pbsd_init.o pbs_server_bin-pbsd_main.o pbs_server_bin-process_request.o pbs_server_bin-qattr_get_set.o pbs_server_bin-queue_func.o pbs_server_bin-queue_recov_db.o pbs_server_bin-rattr_get_set.o pbs_server_bin-reply_send.o pbs_server_bin-req_delete.o pbs_server_bin-req_getcred.o pbs_server_bin-req_holdjob.o pbs_server_bin-req_jobobit.o pbs_server_bin-req_locate.o pbs_server_bin-req_manager.o pbs_server_bin-req_message.o pbs_server_bin-req_modify.o pbs_server_bin-req_preemptjob.o pbs_server_bin-req_movejob.o pbs_server_bin-req_quejob.o pbs_server_bin-req_register.o pbs_server_bin-req_rerun.o pbs_server_bin-req_rescq.o pbs_server_bin-req_runjob.o pbs_server_bin-req_select.o pbs_server_bin-req_shutdown.o pbs_server_bin-req_signal.o pbs_server_bin-req_stat.o pbs_server_bin-req_track.o pbs_server_bin-req_cred.o pbs_server_bin-resc_attr.o pbs_server_bin-run_sched.o pbs_server_bin-sattr_get_set.o pbs_server_bin-sched_attr_get_set.o pbs_server_bin-sched_func.o pbs_server_bin-setup_resc.o pbs_server_bin-stat_job.o pbs_server_bin-svr_chk_owner.o pbs_server_bin-svr_connect.o pbs_server_bin-svr_func.o pbs_server_bin-svr_jobfunc.o pbs_server_bin-svr_mail.o pbs_server_bin-svr_movejob.o pbs_server_bin-svr_recov_db.o pbs_server_bin-svr_resccost.o pbs_server_bin-svr_credfunc.o pbs_server_bin-user_func.o pbs_server_bin-vnparse.o ../../src/lib/Libpbs/.libs/libpbs.so ../../src/lib/Libtpp/libtpp.a ../../src/lib/Libattr/libattr.a ../../src/lib/Libutil/libutil.a ../../src/lib/Liblog/liblog.a ../../src/lib/Libnet/libnet.a ../../src/lib/Libsec/libsec.a ../../src/lib/Libsite/libsite.a ../../src/lib/Libpython/libpbspython_svr.a ../../src/lib/Libdb/.libs/libpbsdb.so ../../src/lib/Liblicensing/.libs/liblicensing.so -lexpat -lz -lical -lssl -lcrypto -ldl -lcrypt -lc -Wl,-rpath -Wl,/opt/pbs/lib
/usr/bin/ld: pbs_server_bin-svr_jobfunc.o: undefined reference to symbol 'floor@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:806: pbs_server.bin] Error 1
make[2]: Leaving directory '/home/fatalay/openpbs-master/src/server'
make[1]: *** [Makefile:516: all-recursive] Error 1
make[1]: Leaving directory '/home/fatalay/openpbs-master/src'
make: *** [Makefile:552: all-recursive] Error 1
I’m installing OpenPBS to my workstation (ubuntu 20.04) and I’ll connect to it with my client machine (with python dask library).
One solution I think mostly related was suggesting to create CMakeLists.txt and adding TARGET_LINK_LIBRARIES(lmdemo -lm ${LIBS})
but it didn’t help (I’ve copied the cmakelists file to project root, src, and src/server foleders as well).
Thank you in advance!