With --enable-static --disable-shared
I got similar error much later,

/bgsys/drivers/toolchain/V1R2M2_base-efix014/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.7/../../../../powerpc64-bgq-linux/bin/ld:
attempted static link of dynamic object
`/bgsys/drivers/V1R2M2/ppc64/comm/lib/libmpichf90-gcc.so'
collect2: ld returned 1 exit status
make[1]: *** [output_libmesh_version-opt] Error 1


On Thu, Oct 22, 2015 at 11:42 AM, John Peterson <jwpeter...@gmail.com>
wrote:

>
>
> On Thu, Oct 22, 2015 at 10:36 AM, walter kou <walter4c...@gmail.com>
> wrote:
>
>> Hi all,
>>
>> I got error after I run 'make':
>>
>>
>> /bgsys/drivers/toolchain/V1R2M2_base-efix014/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.7/../../../../powerpc64-bgq-linux/bin/ld:
>> attempted static link of dynamic object `../liblib/.libs/libnetcdf.so'
>>
>> 1) For my evironment, (.soft), I am using:
>>  # gcc wrappers and toolchain
>>     +mpiwrapper-gcc
>>
>>
>> 2) My configure is:
>>
>>   export PETSC_ARCH=linux-opt
>>  export PETSC_DIR=$HOME/SOFTWARES/PETSc-3.4
>>  ./configure --prefix=$HOME/SOFTWARES/LIBMESH093/libmesh_opt  METHODS=opt
>> --enable-all-static CXX=mpicxx CC=mpicc F77=mpif77 FC=mpif90
>>
>
> Try adding --enable-static --disable-shared
>
> to this configure line.
>
> --
> John
>
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to