[torqueusers] torque-2.4.6 compilation problem

Albino A. Aveleda bino at coc.ufrj.br
Wed Mar 3 07:26:56 MST 2010


Hi,

But the libs are installed.

# rpm -qa | grep libcap
libcap1-1.10-6.10
libcap2-x86-2.11-2.15
libcap2-2.11-2.15
libcap1-x86-1.10-6.10
# locate libcap
/emul/ia32-linux/lib/libcap.so.1
/emul/ia32-linux/lib/libcap.so.1.10
/emul/ia32-linux/lib/libcap.so.2
/emul/ia32-linux/lib/libcap.so.2.11
/lib/libcap.so.1
/lib/libcap.so.1.10
/lib/libcap.so.2
/lib/libcap.so.2.11

Best regards,
Bibo

----- Mensagem original -----
De: "Gabe Turner" <gabe at msi.umn.edu>
Para: torqueusers at supercluster.org
Enviadas: Quarta-feira, 3 de Março de 2010 10:39:00
Assunto: Re: [torqueusers] torque-2.4.6 compilation problem

On Wed, Mar 03, 2010 at 10:27:17AM -0300, Albino A. Aveleda wrote:
> gcc -g -O2 -D_LARGEFILE64_SOURCE -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror -DUSEJOBCREATE -o .libs/pbs_mom catch_child.o mom_comm.o mom_inter.o mom_main.o mom_server.o prolog.o requests.o start_exec.o checkpoint.o tmsock_recov.o req_quejob.o job_func.o attr_recov.o dis_read.o job_attr_def.o job_recov.o process_request.o reply_send.o resc_def_all.o job_qs_upgrade.o  linux/libmommach.a -L/opt/cray/job/default/lib64 /usr/lib/libjob.so -lcap -lpam -lutil ../lib/Libattr/libattr.a ../lib/Libsite/libsite.a ../lib/Libutils/libutils.a ../lib/Libpbs/.libs/libtorque.so  -Wl,--rpath -Wl,/usr/local/torque/lib 
> /usr/lib/gcc/ia64-suse-linux/4.3/../../../../ia64-suse-linux/bin/ld: cannot find -lcap 
> collect2: ld returned 1 exit status 

It looks to me like you will need to install the libcap-devel package.

HTH,

Gabe

-- 
Gabe Turner                                             gabe at msi.umn.edu
HPC Systems Administrator,
University of Minnesota
Supercomputing Institute                          http://www.msi.umn.edu
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers



More information about the torqueusers mailing list