From owner-freebsd-ports Wed Sep 23 17:19:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA14689 for freebsd-ports-outgoing; Wed, 23 Sep 1998 17:19:08 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA14676 for ; Wed, 23 Sep 1998 17:18:54 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca5-31.ix.netcom.com [209.109.234.31]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id RAA18962; Wed, 23 Sep 1998 17:18:44 -0700 (PDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.8.8/8.6.9) id RAA08189; Wed, 23 Sep 1998 17:18:40 -0700 (PDT) Date: Wed, 23 Sep 1998 17:18:40 -0700 (PDT) Message-Id: <199809240018.RAA08189@silvia.hip.berkeley.edu> To: jdp@polstra.com CC: imp@village.org, ports@FreeBSD.ORG In-reply-to: <199809231507.IAA14603@austin.polstra.com> (message from John Polstra on Wed, 23 Sep 1998 08:07:23 -0700) Subject: Re: SOCKS port inspires question... From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Fix "runsocks" to use an absolute pathname in LD_PRELOAD, i.e., * "LD_PRELOAD=/usr/local/lib/libsocks5_sh.so". This handles all the * cases that we purport to support, namely: * * 1. On a -2.2 system, everything is a.out and the libraries are in * /usr/local/lib. * * 2. On a -current system whose ports haven't been converted to ELF * yet, all ports are supposed to be a.out and the libraries are in * /usr/local/lib. * * 3. On a -current system whose ports _have_ been converted to ELF, we * don't support building new a.out ports. (We only support _using_ * the old ones.) When you build the new port, it will be ELF and its * libraries will again be in /usr/lib. Well, but this is sort of a special case, as it actually enables you to *run* other a.out and ELF binaries on a -current system. So you can't really compile this under a.out or ELF and be happy, you may need something that supports both. I think it is reasonable to try to make it deal with both formats. As I said before, I don't think it's necessary to have one package include support for both formats, but having some smarts in the scripts so it will handle both if a.out and ELF packages are installed shouldn't be that hard. Of course, all this depends on time and availability of Warner. :) * Regarding the name of the library, when Satoshi said it should have * a version number I don't think he realized that it is like a shared * object that's explicitly loaded with dlopen(). I don't think it * should have a version number. You're right about that. Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message