Hi, Moses attempts to link statically by default but falls back to dynamic links. You must have static versions of all the dependencies installed as well. Run
bjam --debug-configuration and, near the top, it will show you some command lines followed by their exit code. In order to obtain a fully static Moses, every g++ command line that includes "-static" must pass with exit code 0. Kenneth On 08/03/2012 06:06 PM, Sumita Sami wrote: > Hello, > > I’m trying to build Moses with statically linked libraries, but it > doesn’t seem to be working. Here’s what I’ve tried so far: > > ./bjam --clean-all > > Then > > ./bjam -j8 link=static > > > I've also tried > > > ./bjam -j8 --build-type=complete > > The output file continues to be only dynamically linked, however. Doing > a “file” command on bin/moses confirms this: > > bin/moses: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), > dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped > > The clean and build commands seem to complete without errors. I will > attach snippets if necessary, as the logs themselves are too large for > the mailing list. > > Any help on this would be appreciated! > > Thanks, > > Sumita > > > > _______________________________________________ > Moses-support mailing list > Moses-support@mit.edu > http://mailman.mit.edu/mailman/listinfo/moses-support _______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support