{"action":"closed","issue":{"url":"https://api.github.com/repos/scafacos/scafacos/issues/20","labels_url":"https://api.github.com/repos/scafacos/scafacos/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/scafacos/scafacos/issues/20/comments","events_url":"https://api.github.com/repos/scafacos/scafacos/issues/20/events","html_url":"https://github.com/scafacos/scafacos/issues/20","id":71539290,"number":20,"title":"pnfft missing in pkg-config libs","user":{"login":"fweik","id":893663,"avatar_url":"https://avatars.githubusercontent.com/u/893663?v=3","gravatar_id":"","url":"https://api.github.com/users/fweik","html_url":"https://github.com/fweik","followers_url":"https://api.github.com/users/fweik/followers","following_url":"https://api.github.com/users/fweik/following{/other_user}","gists_url":"https://api.github.com/users/fweik/gists{/gist_id}","starred_url":"https://api.github.com/users/fweik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fweik/subscriptions","organizations_url":"https://api.github.com/users/fweik/orgs","repos_url":"https://api.github.com/users/fweik/repos","events_url":"https://api.github.com/users/fweik/events{/privacy}","received_events_url":"https://api.github.com/users/fweik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-28T09:50:18Z","updated_at":"2015-05-08T08:46:49Z","closed_at":"2015-05-08T08:46:49Z","body":"I get errors when linking against scafacos with p2nfft enabled because p2nfft depends on symbols from pnfft, but this dependency seems not to be reflected in the package config. \r\n\r\nscafacos, pnfft and pfft was build an installed with\r\n\r\n```\r\n./configure --prefix=/usr/local/stow/scafacos && make -j32 && make install\r\n```\r\nand all features.\r\n```\r\npkg-config --libs scafacos\r\n```\r\nreturns\r\n\r\n```\r\n-L/usr/local/stow/scafacos/lib64 -L/usr/lib64/mpi/gcc/openmpi/lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.8 -L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../.. -L/usr/lib64/mpi/gcc/openmpi/lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.8 -L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../.. -lfcs4fortran -lfcs -lfcs_direct -lfcs_ewald -lfcs_fmm -lfcs_memd -lfcs_mmm1d -lfcs_mmm2d -lfcs_p2nfft -lgsl -lgslcblas -lm -lfcs_p3m -lfcs_pepc -lfcs_pp3mg -lfcs_vmg -lboost_system -lboost_filesystem -llapack -lblas -lfcs_wolf -lfcs_near -lfcs_gridsort -lfcs_resort -lfcs_common -lfftw3_mpi -lfftw3 -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -lm -lgomp -lquadmath -lpthread -lmpi_cxx -lmpi -lstdc++ -lm -lgcc_s -lpthread\r\n```\r\n(no -lpnfft).\r\n\r\nThe failing linking command is\r\n\r\n```\r\nmpic++ -Wall -O3 -o Espresso.install Espresso_install-scriptsdir.o Espresso_install-main.o cuda_workaround.o  -L/usr/local/cuda/lib64 ./.libs/libEspressoTcl.a -L/usr/local/stow/scafacos/lib64 ../core/.libs/libEspresso.a -ltcl8.6 -lcurand -lcublas -lcufft -lcudart -L/usr/lib64/mpi/gcc/openmpi/lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.8 -L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../.. /usr/local/stow/scafacos/lib64/libfcs4fortran.a /usr/local/stow/scafacos/lib64/libfcs.a /usr/local/stow/scafacos/lib64/libfcs_direct.a /usr/local/stow/scafacos/lib64/libfcs_ewald.a /usr/local/stow/scafacos/lib64/libfcs_fmm.a /usr/local/stow/scafacos/lib64/libfcs_memd.a /usr/local/stow/scafacos/lib64/libfcs_mmm1d.a /usr/local/stow/scafacos/lib64/libfcs_mmm2d.a /usr/local/stow/scafacos/lib64/libfcs_p2nfft.a -lgsl -lgslcblas /usr/local/stow/scafacos/lib64/libfcs_p3m.a /usr/local/stow/scafacos/lib64/libfcs_pepc.a /usr/local/stow/scafacos/lib64/libfcs_pp3mg.a /usr/local/stow/scafacos/lib64/libfcs_vmg.a -lboost_system -lboost_filesystem -llapack -lblas /usr/local/stow/scafacos/lib64/libfcs_wolf.a /usr/local/stow/scafacos/lib64/libfcs_near.a /usr/local/stow/scafacos/lib64/libfcs_gridsort.a /usr/local/stow/scafacos/lib64/libfcs_resort.a /usr/local/stow/scafacos/lib64/libfcs_common.a -lpfft -lz -lfftw3_mpi -lfftw3 -lmpi_usempi -lmpi_mpifh -lgfortran -lgomp -lquadmath -lmpi_cxx -lmpi -lstdc++ -lm -lgcc_s -lpthread\r\n```\r\nadding -lpnfft fixes the linking.\r\n"}}