hi

I am experimenting with using pkg-config to help build my code, and using the PETSc.pc file in $PETSC_DIR/$PETSC_ARCH/lib/pkgconfig.

At present it is not working, because the PETSc.pc file sets Libs: -L${libdir} -lpetsc

where libdir=${prefix}/lib, and (in my case at least) prefix is equal to $PETSC_DIR.

But the PETSc library is not in $PETSC_DIR/lib, it is in $PETSC_DIR/$PETSC_ARCH/lib.

Have I messed something up in my PETSc config so that the PETSc.pc file is not quite right?

- Adrian

--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: [email protected]
tel: +64 (0)9 923 4611

Reply via email to