Statically linked opensshd

David Fleck david.fleck at
Sat Nov 29 06:17:34 PST 2003

On Wed, 26 Nov 2003, Volf, Frank wrote:
> I'm trying to statically link opensshd (from the portable openssh port)
> on a FreeBSD 4.9 system, but apparently it fails statically linking
> libpam.
> .....
[snip gcc chatter]
[snip linker complaints]

I'm using an old 4.6.2 system, so this may be of limited value to you, but
for what it's worth... on my system libpam.a does not define these symbols
either.  It looks like I would have to include the following libs (at
least - I may have missed some):


to get the undefined symbols in libpam.a.  (There are also lib*_p.a
versions of each of these - I don't know what the difference between them

Hope that helps somewhat.

David Fleck
david.fleck at

More information about the freebsd-questions mailing list