Hi Ben,
That is exactly where the problem was. After I set the environment variable
(LD_LIBRARY_PATH) correctly, the problem goes away. Many thanks. Great work,
by the way.
Best,
Shige
On Fri, Jan 30, 2009 at 11:11 AM, B K <bkl...@gm...> wrote:
>
>
> 2009/1/30 Shige Song <shi...@gm...>
>
> Dear All,
>>
>> I have just apophenia 0.21 compiled and installed on my Unbuntu 8.10 box.
>> I was able to build the test program (in the "tests" subdirectory) but could
>> not get it running. When I typed "./test" I got error message "./test: error
>> while loading shared libraries: libapophenia.so.0: cannot open shared object
>> file: No such file or directory."
>>
>> I checked the installed directory (/usr/local/lib), I can see "
>> libapophenia.la", "libapophenia.so", "libapophenia.so.0", and
>> "libapophenia.so.0.0.0". Can anybody tell me how to fix this?
>>
>> Many thanks.
>>
>> Best,
>> Shige
>>
>
> My first guess is that this is a problem with your library path, probably
> the environment variable named LD_LIBRARY_PATH. This is what the system
> checks during both compile time and run time to find libraries. The make
> utility sets the libpath during compile time, but you may have to set it
> yourself during run time. If you don't already have a copy of _Modeling with
> Data_, download a PDF of it at modelingwithdata.org and have a look at
> Appendix A, which covers some of the details of path-setting in detail.
> There's also an online appendix on the same site which covers some of these
> issues.
>
> Please let us know if that's the problem (or not),
>
> Ben
>
|