Hi,

On Tue, Mar 14, 2017 at 4:15 PM, Joshua Studen <joshua.stu...@gmail.com>
wrote:

> Hi All,
>
> I have edited the config.mk file to have the PREFIX variable point to
> $(HOME)/pfm_install
>
> However, when I make, I get the following error:
>
> ldconfig
> ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission
> denied
>
> Any advice?
>
> You always need to be root to invoke ldconfig.
When you install in your own private directory, then ldconfig will not
work. To use the shared lib, you
need to use LD_LIBRARY_PATH to point to $HOME/pfm_install/lib.
The install of the library, headers worked, it is just that you cannot
modify the system ld.so cache as a regular
user.



> Also, this is on a knight's landing machine. it wasn't clear to me what
> else I had to do to get it to compile for knl? The only thing I did was
> change the compiler to use icc instead of GCC, and changed the prefix
> variable. Anything else?
>
> Thanks,
> Josh
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> perfmon2-devel mailing list
> perfmon2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to