From owner-freebsd-ports Tue Sep 8 17:11:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA14270 for freebsd-ports-outgoing; Tue, 8 Sep 1998 17:11:17 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [209.118.174.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA14252 for ; Tue, 8 Sep 1998 17:11:13 -0700 (PDT) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.1/8.8.5) with SMTP id TAA00380; Tue, 8 Sep 1998 19:09:31 -0400 (EDT) Date: Tue, 8 Sep 1998 19:09:31 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@picnic.mat.net To: "Brian W. Buchanan" cc: freebsd-ports@FreeBSD.ORG Subject: Re: Problem building ssh In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 8 Sep 1998, Brian W. Buchanan wrote: > Attempting to build ssh under -CURRENT (a.out, headers and libs CVSup'd > and built today) yields: > > cc -pipe -L/usr/local/lib -o ssh ssh.o sshconnect.o log-client.o \ > readconf.o hostfile.o readpass.o tildexpand.o clientloop.o canohost.o \ > idea.o rsa.o randoms.o md5.o buffer.o emulate.o packet.o compress.o \ > xmalloc.o ttymodes.o newchannels.o bufaux.o authfd.o authfile.o crc32.o \ > rsaglue.o cipher.o des.o match.o arcfour.o mpaux.o userfile.o signals.o \ > blowfish.o deattack.o -L/usr/lib -lgmp -L/usr/lib -lz -lwrap -lcrypt \ > -L/usr/local/lib -lutil > sshconnect.o: Undefined symbol `___inet_addr' referenced from text segment Here, the problem's obvious. ssh was one of those ports sadly confused by FreeBSD-current's usr of /usr/lib and /usr/lib/aout. It keeps on looking in /usr/lib for libc, even if your ldconfig has it in /usr/lib/aout. I don't know if you're running aout or elf, but that's the problem. Back when I was running aout, I just copied the libc from /usrlib/aout to /usr/lib, did the linking on the port, and removed the /usr/lib version of libc. Now, it'd depend on if you'd moved to elf, and how you wanted it built, etc, but you get the idea? ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message