[mosh-devel] static library option?

Raj Kunjithapadam kraj at silverspringnet.com
Wed Apr 20 15:44:58 EDT 2016


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.


kraj at micro:~/mosh-1.2.5$ find ./ -name mosh-server
./src/frontend/mosh-server
kraj at micro:~/mosh-1.2.5$ ldd ./src/frontend/mosh-server
	libtinfo.so.5 => /lib/arm-linux-gnueabihf/libtinfo.so.5 (0xb6eee000)
	libprotobuf.so.9 => /usr/lib/arm-linux-gnueabihf/libprotobuf.so.9 (0xb6e11000)
	libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6dee000)
	libssl.so.1.0.0 => /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0 (0xb6da6000)
	libcrypto.so.1.0.0 => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0 (0xb6c81000)
	libutil.so.1 => /lib/arm-linux-gnueabihf/libutil.so.1 (0xb6c6e000)
	libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb6c4b000)
	libutempter.so.0 => /usr/lib/libutempter.so.0 (0xb6c42000)
	libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6b8b000)
	libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6b17000)
	libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6aee000)
	libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb69fd000)
	/lib/ld-linux-armhf.so.3 (0xb6f6c000)
	libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb69ea000)



More information about the mosh-devel mailing list