[petsc-dev] do we need rpath stuff for directories with only static libraries?

Barry Smith bsmith at mcs.anl.gov
Sun Apr 30 20:05:10 CDT 2017


  and how come it is listed twice for the first directory?


$ make getlinklibs
-Wl,-rpath,/Users/barrysmith/Src/petsc/arch-uni-f2cblaslapack/lib -L/Users/barrysmith/Src/petsc/arch-uni-f2cblaslapack/lib -Wl,-rpath,/Users/barrysmith/Src/petsc/arch-uni-f2cblaslapack/lib -Wl,-rpath,/opt/X11/lib -L/opt/X11/lib -Wl,-rpath,/usr/local/opt/openssl/lib -L/usr/local/opt/openssl/lib -lpetsc -lf2clapack -lf2cblas -lX11 -lssl -lcrypto -ldl
~/Src/petsc (maint=) arch-uni-f2cblaslapack
$ ls arch-uni-f2cblaslapack/
CMakeCache.txt            bin/                      include/                  obj/
CMakeFiles/               cmake_install.cmake       initial_cache_file.cmake  
Makefile                  externalpackages/         lib/                      
~/Src/petsc (maint=) arch-uni-f2cblaslapack
$ ls arch-uni-f2cblaslapack/lib/
.DIR            libf2cblas.a    libf2clapack.a  libpetsc.a      petsc/          pkgconfig/      





More information about the petsc-dev mailing list