Mailinglist Archive: opensuse-amd64 (274 mails)
| < Previous | Next > |
Re: [suse-amd64] Building openssh...
- From: Roy Butler <roy.butler@xxxxxxxxxxxx>
- Date: Wed, 21 Apr 2004 19:29:37 +0000 (UTC)
- Message-id: <4086CB99.2000908@xxxxxxxxxxxx>
Exporting LIBS="-lresolv" solved it. I was looking down the wrong
track, expecting it to be 64-bit related.
Roy
Roy Butler wrote:
--
Roy Butler - MIST Development Environment
Jet Propulsion Laboratory
email: roy.butler@xxxxxxxxxxxx
phone: 818-354-8825
Roy
Roy Butler wrote:
I'm having a problem building openssh-3.8p1 on AMD64 SuSE 9. Compiling seems to finish, but linking fails near the end:
...
(cd openbsd-compat && make)
make[1]: Entering directory `/var/tmp/openssh-3.8p1/openbsd-compat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/openssh-3.8p1/openbsd-compat'
gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/lib64 -lssh -lopenbsd-compat -lcrypto -lutil -lz -lnsl -lcrypt
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0xd4): In function `getrrsetbyname':
/var/tmp/openssh-3.8p1/openbsd-compat/getrrsetbyname.c:206: undefined reference to `__res_query'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x5bf): In function `parse_dns_qsection':
/var/tmp/openssh-3.8p1/openbsd-compat/getrrsetbyname.c:436: undefined reference to `__dn_expand'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x6df): In function `parse_dns_rrsection':
/var/tmp/openssh-3.8p1/openbsd-compat/getrrsetbyname.c:482: undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make: *** [ssh] Error 1
I tried adding -L/usr/lib64 to my LDFLAGS, with no visible effect. using nm, I checked for the symbols in libopenbsd-compat.a which led to getrrsetbyname.o, which truly shows them undefined, as the errors told. I've searched on Google, but couldn't find anything relevant.
Could someone shed some light on the situation for me? Getting this particular version of openssh built isn't too critical to me, but I've just moved to the AMD64 platform and I'm figuring what applies here will probably help out in the future.
Thanks in advance!
Roy
--
Roy Butler - MIST Development Environment
Jet Propulsion Laboratory
email: roy.butler@xxxxxxxxxxxx
phone: 818-354-8825
| < Previous | Next > |