Hieu,

I thought of that, but why would the copy of moses in the source
directory run fine, but the copy of moses in the $PREFIX directory
(installed by make install) not run?

Lane

On Thu, Aug 11, 2011 at 1:28 AM, Hieu Hoang <[email protected]> wrote:
> I think you've got 32 and 64 bit version installed and Moses is
> linking to 1 but running te other.
>
> When I'm on a 64 bit machine, I only install 64bit libs
>
> Hieu
> Sent from my flying horse
>
> On 11 Aug 2011, at 04:06 AM, Lane Schwartz <[email protected]> wrote:
>
>> I've got an odd situation. I just compiled moses from trunk on
>> Scientific Linux 6 (a RHEL clone). I then did a make install.
>>
>> When I run moses from the source dir on SL6, everything is fine. When
>> I run the copy that got installed in $PREFIX, I get the following
>> error:
>>
>> bin/moses: error while loading shared libraries: libz.so.1: cannot
>> open shared object file: No such directory
>>
>> So moses.svn/moses/src/moses runs fine, but $PREFIX/bin/moses gives
>> this error. I tried logging onto an older machine, running CentOS 5.5
>> (another RHEL clone). When I run $PREFIX/bin/moses on the CentOS 5.5
>> machine, everything works fine.
>>
>> I looked and /lib64/libz.so.1 exists on the SL6 machine, so I tried
>> doing export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib64. After doing that
>> export on the SL6 machine, I get a different error when I try running
>> $PREFIX/bin/moses on the SL6 machine:
>>
>> bin/moses: error while loading shared libraries: libz.so.1: wrong ELF
>> class: ELFCLASS64
>>
>> Has anybody seen this before? Do I need to tell Moses's configure or
>> make where libz.so.1 is located?
>>
>> Thanks,
>> Lane
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>



-- 
When a place gets crowded enough to require ID's, social collapse is not
far away.  It is time to go elsewhere.  The best thing about space travel
is that it made it possible to go elsewhere.
                -- R.A. Heinlein, "Time Enough For Love"

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to