[torqueusers] Re: torque 1.1.0p3, OS X linking problems
Glen Beane
beaneg at umcs.maine.edu
Tue Oct 19 12:03:23 MDT 2004
when I run ranlib -c on libpbs.a from 1.1.0p3 I get the following:
bender:/Users/admin/torque-1.1.0p3/src/cmds root# ranlib -c
../lib/Libpbs/libpbs.a
ranlib: same symbol defined in more than one member in:
../lib/Libpbs/libpbs.a (table of contents will not be sorted)
ranlib: file: ../lib/Libpbs/libpbs.a(PBSD_submit_caps.o) defines
symbol: _PBSD_commit
ranlib: file: ../lib/Libpbs/libpbs.a(pbsD_submit.o) defines symbol:
_PBSD_commit
ranlib: file: ../lib/Libpbs/libpbs.a(pbsD_submit.o) defines symbol:
_PBSD_jobfile
ranlib: file: ../lib/Libpbs/libpbs.a(PBSD_submit_caps.o) defines
symbol: _PBSD_jobfile
ranlib: file: ../lib/Libpbs/libpbs.a(PBSD_submit_caps.o) defines
symbol: _PBSD_jscript
ranlib: file: ../lib/Libpbs/libpbs.a(pbsD_submit.o) defines symbol:
_PBSD_jscript
ranlib: file: ../lib/Libpbs/libpbs.a(PBSD_manager_caps.o) defines
symbol: _PBSD_manager
ranlib: file: ../lib/Libpbs/libpbs.a(pbsD_manager.o) defines symbol:
_PBSD_manager
ranlib: file: ../lib/Libpbs/libpbs.a(PBSD_submit_caps.o) defines
symbol: _PBSD_queuejob
ranlib: file: ../lib/Libpbs/libpbs.a(pbsD_submit.o) defines symbol:
_PBSD_queuejob
ranlib: file: ../lib/Libpbs/libpbs.a(pbsD_submit.o) defines symbol:
_PBSD_rdytocmt
ranlib: file: ../lib/Libpbs/libpbs.a(PBSD_submit_caps.o) defines
symbol: _PBSD_rdytocmt
in my build of 1.1.0p2 I get no output:
bender:/Users/admin/torque-1.1.0p3/src/cmds root# ranlib -c
/Users/admin/torque-1.1.0p2/src/lib/Libpbs/libpbs.a
bender:/Users/admin/torque-1.1.0p3/src/cmds root#
On Oct 19, 2004, at 1:58 PM, Glen Beane wrote:
> When I try to build torque 1.1.0p3 on OS X (10.3.5)
>
> ld can't find _pbs_submit when trying to make the pbs commands
> (everything prior to the cmds builds OK).
>
> ld: Undefined symbols:
> _pbs_submit
> make[3]: *** [qsub] Error 1
>
> If I look at my previous compile of 1.1.0p2 I see _pbs_submit is in
> libpbs.a
>
> bender:torque-1.1.0p2/src/lib/Libpbs root# nm libpbs.a | grep
> _pbs_submit
> 00000000 T _pbs_submit
>
>
> On 1.1.0p3:
>
> bender:torque-1.1.0p3/src/lib/Libpbs root# nm libpbs.a | grep
> _pbs_submit
> bender:torque-1.1.0p3/src/lib/Libpbs root#
>
>
> On OS X i'm used to having to run ranlib -c on .a files to get rid of
> errors such as this (usually running ranlib -c *.a in the lib
> directories after a build fails with an error such as this, then
> rerunning make solves this particular issue), however it didn't work
> in this case.
>
>
> Any ideas? And until I resolve this issue, is it OK to use pbs_mom
> and pbs_server from 1.1.0p3 with the commands from 1.1.0p2?
>
>
> Glen
>
More information about the torqueusers
mailing list