[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How I do link arpack to eigs.cc and svd.cc on the Ubuntu build?
From: |
Tatsuro MATSUOKA |
Subject: |
Re: How I do link arpack to eigs.cc and svd.cc on the Ubuntu build? |
Date: |
Tue, 10 Jan 2012 16:37:51 +0900 (JST) |
Hello
After 'make' of arpack, I did
$ sudo make install
After that,
ls /usr/local/lib
libarpack.a libarpack.so libarpack.so.2.0.0 octave python2.7
libarpack.la libarpack.so.2 ocaml pkgconfig
Have to I add /usr/local/lib to LD_LIBRARY_PATH and/or LD_RUN_PATH?
Regards
Tatsuro
--- On Tue, 2012/1/10, Jacob Dawid wrote:
> Dear Matsuoka-san,
>
> usually you type 'make' to compile a project. If you want to make your
> library available system-wide, you need to do 'make install' with root
> privileges, ie. 'sudo make install' in the folder you built arpack. This will
> enable you to use -larpack as a switch. Did you do that?
>
> Cheers,
> Jacob
>
>
> Am 10. Januar 2012 07:34 schrieb Tatsuro MATSUOKA <address@hidden>:
> Hello
>
> I have built arpack-3.0.0 by myself and tried to link it to the octave (using
> the source octave-3.5.92).
>
> I added LIB='-larpack'
>
> which was effective on windows build.
>
> However, all tests of eigs.cc failed on the Ubuntu 11.10 (32bit).
>
> I am a newbie to the Ubuntu (correctly newbie to the Linux) so that I cannot
> understand the behaviors happned.
>
> It would be grateful for me someone will show me the way.
>
> Regards
>
> Tatsuro
>
>
>
> --
> „Alle sagten: Das geht nicht. Da kam einer, der wusste das nicht und hat's
> gemacht.“ - Unbekannt
>