LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: sean dettrick (sdettrick_at_[hidden])
Date: 2004-12-15 14:16:08


Thanks Brian, your static library comment was right on. Doing this:

    sudo ranlib /usr/local/pbs/lib/libpbs.a

fixed the problem and now it configures. Will let you know if it doesn't
build.
Sean

(we got off the mailing list for a moment but here was Brian's last
message:)

>So here's the lines of interest from config.log:
>
>configure:4844: gcc -o conftest -O3 -DLAM_BUILDING=1 -D_REENTRANT
>-DLAM_BUILDING=1 >-I/usr/local/pbs/include -Wl,-multiply_defined,suppress
>-L/usr/local/pbs/lib conftest.c -lpbs >&5
>ld: table of contents for archive: /usr/local/pbs/lib/libpbs.a is out of
>date; rerun ranlib(1) (can't load >from it)
>configure:4850: $? = 1
>
>
>The ld error is usually the result of someone not knowing how to make OS X
>static libraries >properly. Running ranlib fixes the library up fine, so
>doing:
>
> sudo ranlib /usr/local/pbs/lib/libpbs.a
>
>should fix the library up, allowing you to run configure successfully.
>
>Hope this helps,
>
>Brian
>
>--
> Brian Barrett
> LAM/MPI developer and all around nice guy
>Have a LAM/MPI day: http://www.lam-mpi.org/