[mosh-devel] static library option?

Christian Neukirchen chneukirchen at gmail.com
Thu Apr 21 05:45:38 EDT 2016


Raj Kunjithapadam <kraj at silverspringnet.com> writes:

> kraj-air-osx:~ kraj$ mosh -6   ssn at fdbc:a8bd:13da:1469:213:5002:a6:ff00
> ssn at fdbc:a8bd:13da:1469:213:5002:a6:ff00's password:
> mosh-server: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version
> `GLIBCXX_3.4.20' not found (required by mosh-server)
> Connection to fdbc:a8bd:13da:1469:213:5002:a6:ff00 closed.
> /usr/local/bin/mosh: Did not find mosh server startup message.
>
> I cannot expect these development libraries to be installed on my
> deployed systems.
>
> So, if we are dynamically linking and depending on these libraries, I
> would rather link statically to remove dependencies.
>
> Is there a enable-static option for configure?
> I looked and was not able to find anything.

Adding -static to LDFLAGS works fine.

-- 
Christian Neukirchen  <chneukirchen at gmail.com>  http://chneukirchen.org




More information about the mosh-devel mailing list