{"action":"created","issue":{"url":"https://api.github.com/repos/LSSTDESC/NaMaster/issues/38","repository_url":"https://api.github.com/repos/LSSTDESC/NaMaster","labels_url":"https://api.github.com/repos/LSSTDESC/NaMaster/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/LSSTDESC/NaMaster/issues/38/comments","events_url":"https://api.github.com/repos/LSSTDESC/NaMaster/issues/38/events","html_url":"https://github.com/LSSTDESC/NaMaster/issues/38","id":396109626,"node_id":"MDU6SXNzdWUzOTYxMDk2MjY=","number":38,"title":"error on make (C-library) | conda installation?","user":{"login":"raziel2646","id":13921625,"node_id":"MDQ6VXNlcjEzOTIxNjI1","avatar_url":"https://avatars1.githubusercontent.com/u/13921625?v=4","gravatar_id":"","url":"https://api.github.com/users/raziel2646","html_url":"https://github.com/raziel2646","followers_url":"https://api.github.com/users/raziel2646/followers","following_url":"https://api.github.com/users/raziel2646/following{/other_user}","gists_url":"https://api.github.com/users/raziel2646/gists{/gist_id}","starred_url":"https://api.github.com/users/raziel2646/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raziel2646/subscriptions","organizations_url":"https://api.github.com/users/raziel2646/orgs","repos_url":"https://api.github.com/users/raziel2646/repos","events_url":"https://api.github.com/users/raziel2646/events{/privacy}","received_events_url":"https://api.github.com/users/raziel2646/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-01-05T00:16:39Z","updated_at":"2019-01-05T00:44:10Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm having some trouble installing the package on Linux. I can successfully configure the files, but I get the following error on make:\r\n\r\n```\r\nmake  all-am\r\nmake[1]: Entering directory `/auto/rcf-proj3/software/NaMaster'\r\n/bin/sh ./libtool  --tag=CC   --mode=link gcc -std=gnu99  -fPIC -I/home/rcf-proj3/gsl/include/ -I/home/rcf-proj3/cfitsio/include  -lfftw3_omp -lfftw3 -lgsl -lgslcblas -lcfitsio -lsharp -lfftpack -lc_utils -lm -L/home/rcf-proj3/gsl/lib -L/home/rcf-proj3/cfitsio -L/home/rcf-proj3/software/libsharp/auto/lib -L/home/rcf-proj3/software/Healpix_3.50/lib -o libnmt.la -rpath /home/rcf-proj3/software/NaMaster-C/lib src/libnmt_la-utils.lo src/libnmt_la-flatsky_utils.lo src/libnmt_la-healpix_extra.lo src/libnmt_la-nmt_bins.lo src/libnmt_la-nmt_bins_flat.lo src/libnmt_la-nmt_field.lo src/libnmt_la-nmt_field_flat.lo src/libnmt_la-nmt_mask.lo src/libnmt_la-nmt_mask_flat.lo src/libnmt_la-nmt_master.lo src/libnmt_la-nmt_covar.lo src/libnmt_la-nmt_master_flat.lo src/libnmt_la-nmt_covar_flat.lo  -lfftw3 -lchealpix -lsharp -lcfitsio -lgsl -lgslcblas -lm \r\nlibtool: _warning_: library '/home/rcf-proj3/gsl/lib/libgslcblas.la' was moved.\r\nlibtool: link: gcc -shared  -fPIC -DPIC  src/.libs/libnmt_la-utils.o src/.libs/libnmt_la-flatsky_utils.o src/.libs/libnmt_la-healpix_extra.o src/.libs/libnmt_la-nmt_bins.o src/.libs/libnmt_la-nmt_bins_flat.o src/.libs/libnmt_la-nmt_field.o src/.libs/libnmt_la-nmt_field_flat.o src/.libs/libnmt_la-nmt_mask.o src/.libs/libnmt_la-nmt_mask_flat.o src/.libs/libnmt_la-nmt_master.o src/.libs/libnmt_la-nmt_covar.o src/.libs/libnmt_la-nmt_master_flat.o src/.libs/libnmt_la-nmt_covar_flat.o   -Wl,-rpath -Wl,/home/rcf-proj3/gsl/lib -Wl,-rpath -Wl,/home/rcf-proj3/gsl/lib -lfftw3_omp -lfftpack -lc_utils -L/home/rcf-proj3/gsl/lib -L/home/rcf-proj3/cfitsio -L/home/rcf-proj3/software/libsharp/auto/lib -L/home/rcf-proj3/software/Healpix_3.50/lib -lfftw3 -lchealpix -lsharp -lcfitsio /home/rcf-proj3/gsl/lib/libgsl.so /home/rcf-proj3/gsl/lib/libgslcblas.so -lm    -Wl,-soname -Wl,libnmt.so.0 -o .libs/libnmt.so.0.0.0\r\n/usr/bin/ld: /home/rcf-proj3/software/Healpix_3.50/lib/libchealpix.a(chealpix.s.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC\r\n/usr/bin/ld: /home/rcf-proj3/software/libsharp/auto/lib/libsharp.a(sharp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC\r\n/usr/bin/ld: /home/rcf-proj3/software/libsharp/auto/lib/libsharp.a(sharp_geomhelpers.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC\r\n/usr/bin/ld: /home/rcf-proj3/software/libsharp/auto/lib/libsharp.a(sharp_core.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC\r\n/usr/bin/ld: /home/rcf-proj3/software/libsharp/auto/lib/libsharp.a(sharp_legendre_roots.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC\r\n/usr/bin/ld: /home/rcf-proj3/software/libsharp/auto/lib/libsharp.a(sharp_ylmgen_c.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC\r\n/usr/bin/ld: final link failed: Nonrepresentable section on output\r\ncollect2: error: ld returned 1 exit status\r\nmake[1]: *** [libnmt.la] Error 1\r\nmake[1]: Leaving directory `/auto/rcf-proj3/software/NaMaster'\r\nmake: *** [all] Error 2\r\n```\r\n\r\nI don't understand what is causing the warning: \r\n`libtool: _warning_: library '/home/rcf-proj3/gsl/lib/libgslcblas.la' was moved.`\r\nWhen I check the directory, the file is there...\r\n\r\nI also tried recompiling by passing -fPIC to CFLAGS and CPPFLAGS, but I still get the same error. \r\n\r\nIs there an easy way to install the python module (using pip or conda) without explicitly installing the C library?"},"comment":{"url":"https://api.github.com/repos/LSSTDESC/NaMaster/issues/comments/451610860","html_url":"https://github.com/LSSTDESC/NaMaster/issues/38#issuecomment-451610860","issue_url":"https://api.github.com/repos/LSSTDESC/NaMaster/issues/38","id":451610860,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTYxMDg2MA==","user":{"login":"damonge","id":8809493,"node_id":"MDQ6VXNlcjg4MDk0OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/8809493?v=4","gravatar_id":"","url":"https://api.github.com/users/damonge","html_url":"https://github.com/damonge","followers_url":"https://api.github.com/users/damonge/followers","following_url":"https://api.github.com/users/damonge/following{/other_user}","gists_url":"https://api.github.com/users/damonge/gists{/gist_id}","starred_url":"https://api.github.com/users/damonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damonge/subscriptions","organizations_url":"https://api.github.com/users/damonge/orgs","repos_url":"https://api.github.com/users/damonge/repos","events_url":"https://api.github.com/users/damonge/events{/privacy}","received_events_url":"https://api.github.com/users/damonge/received_events","type":"User","site_admin":false},"created_at":"2019-01-05T00:44:10Z","updated_at":"2019-01-05T00:44:10Z","author_association":"COLLABORATOR","body":"I'll actually reopen until we document this in the README (I first wanna play around with it, but haven't found time yet)"}}
{"actor":{"display_login":"damonge"}}