2014-05-09 8:44 GMT+02:00 Lucius Rizzo <[email protected]>: > Many many years ago (2001) Darrent Moffat wrote about the problems of using > statically linked binaries or libraries. In fact, until later versions of > Solaris, most compiles would often statically link binaries or libraries. > > Its quite interesting for me to have remembered it 13 years later and it > still > holds truth. > > http://marc.info/?l=openssh-unix-dev&m=98563522332517&w=2
Another odd fact of Solaris (at least around that time of 2.5.1/2.6) is that they do keep libc and libdl (mentioned last in his post) under /etc/lib since all programs on solaris will link to those, even if you say -static, so for boot-error-fix program, you alter the ld.so runpath when compiling so it will pick up libc and libdl from /etc instead. Nasty stuff, that.

