We're not hard-coding the rpath, so you need to set

export LD_LIBRARY_PATH=/scratch/tbui/tools/local/lib64/

in your environment before running the compiled executables.  Note that 
the command I gave is for bash on Linux.  Your shell may have different 
syntax.  Mac OS X calls it something else.

Kenneth

On 11/01/12 01:29, Hieu Hoang wrote:
> hmm, it works for me, but this is quite a difficult problem to debug for
> other people.
>
> what OS are you working on? 32 or 64 bit?
>
> try renaming the file
>      lib/*boost_iostreams*/-mt.*
> to
>      lib/*boost_iostreams*/.*
>
> also, try renaming the directory
>      lib
> to
>     lib64
>
> On 31/10/2012 17:44, Thuong Minh Bui wrote:
>> Dear all,
>> I am installing Moses 0.91 with boost 1.51 and run into the error:
>> /*/usr/bin/ld: cannot find -lboost_iostreams*/
>> I installed boost with the following command:
>>
>> /./b2 --prefix=/scratch/tbui/tools/local --libdir=$LIBDIR
>> --layout=tagged link=static,shared threading=multi,single install/
>> where /$LIBDIR=///scratch/tbui/tools/local/lib64/
>> /
>> /
>> Moses was installed with the following command:
>>
>>   .//bjam  --with-irstlm=/scratch/tbui/tools/local
>> --with-giza=/scratch/tbui/tools/external-bin-dir
>> --with-boost=/scratch/tbui/tools/local
>> --prefix=/scratch/tbui/tools/local -j8/
>>
>> Does anyone know what's the problem?
>>
>> Best regards,
>> Thuong.
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to