Compiling openssh 2.5.p1 on unixware 7.0.1
Dean Luka Domikulić
dean.domikulic at pbz.hr
Wed Apr 11 18:21:55 EST 2001
Mea culpa,
it looks like the system was missconfigured.
LIBS=-lshadow did not help.
But thanks for the advice.
getspnam is in shadow.h in /usr/include
but there is no libshadow* library.
Library in which getspnam really is is libgen.
I found that library with find and it is in /usr/ccs/lib.
I checked with grep and strings and it realy contains getspnam.
So I added /usr/ccs/lib to LD_LIBRARY_PATH,
removed config.cache, started ./configure
again and everything went fine.
Maybe /usr/ccs/lib should be added in
lib path for this platform.
> -----Original Message-----
> From: Damien Miller [mailto:djm at mindrot.org]
> Sent: Wednesday, April 11, 2001 3:20 AM
> To: Dean Luka Domikulić
> Cc: 'openssh-unix-dev at mindrot.org'
> Subject: Re: Compiling openssh 2.5.p1 on unixware 7.0.1
>
>
> On Tue, 10 Apr 2001, [iso-8859-2] Dean Luka Domikuliae wrote:
>
> > Hi.
> >
> > I'm tryng to compile openssh 2.5.p1 (latest)
> > on sco unixware 7.0.1 and I'm getting
> > this error in make:
> >
> > cc -o sshd sshd.o auth.o auth1.o auth2.o auth-chall.o auth2-chall.o
> > auth-rhosts.o auth-options.o auth-krb4.o auth-pam.o auth2-pam.o
> > auth-passwd.o auth-rsa.o auth-rh-rsa.o auth-sia.o dh.o
> sshpty.o log-server.o
> > sshlogin.o loginrec.o servconf.o serverloop.o md5crypt.o session.o
> > groupaccess.o -L. -Lopenbsd-compat/ -L/usr/local/lib
> -L/usr/local/ssl/lib
> > -L/usr/local/ssl/lib -lssh -lopenbsd-compat -lz -lsocket -lnsl -lgen
> > -lcrypto
> > Undefined first referenced
> > symbol in file
> > getspnam auth.o
> > UX:ld: ERROR: sshd: fatal error: Symbol referencing errors.
> No output
> > written to sshd
> > make: *** [sshd] Error 1
>
> Can you try:
>
> LIBS=-lshadow ./configure [whatever]
>
> -d
>
> --
> | Damien Miller <djm at mindrot.org> \ ``E-mail attachments are
> the poor man's
> | http://www.mindrot.org / distributed
> filesystem'' - Dan Geer
>
More information about the openssh-unix-dev
mailing list