Re: openssh-3.8p1 compile problem
From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 03/23/04
- Next message: Norman Lee: "PuTTY on a floppy"
- Previous message: Darren Tucker: "Re: TZ variable lost in openssh-3.8 upgrade"
- In reply to: Alexander Latenko: "openssh-3.8p1 compile problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 23 Mar 2004 01:21:20 +0000 (UTC)
In article <c3n2ni$1nkl$1@news.dg.net.ua>,
Alexander Latenko <noname@bostonanimation.com> wrote:
>Linux, 2.4.24, opensll-0.9.7d
>I'm trying to compile openssh-3.8p1 with static flag
>
>CFLAGS="-static" LDFLAGS="-static" ./configure --with-ssl-dir=/usr/local/ssl
>make
>
>then at make time I got:
>gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o
>sshconnect2.o -L. -Lope
>nbsd-compat/ -L/usr/local/ssl/lib -static -lssh -lopenbsd-compat -lcrypto -l
>util -lz -lnsl -lcrypt
>openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0xe3): In
>function `getrrsetbyname':
>: undefined reference to `__res_query'
>openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x7ff): In
>function `parse_dns_qsection'
[snip]
>Any ideas how to avoid it?
Add "-lresolv" to LDFLAGS?
>I didn't expire such problems on openssh-3.7.1p2
In 3.7.x, DNS key verification was a compile-time option. In 3.8 it's
now a run-time option (ie it's always compiled in, but is off by default).
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Next message: Norman Lee: "PuTTY on a floppy"
- Previous message: Darren Tucker: "Re: TZ variable lost in openssh-3.8 upgrade"
- In reply to: Alexander Latenko: "openssh-3.8p1 compile problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|