Re: /lib symlinks problem?

2003-09-02 Thread Ian Freislich
Sheldon Hearn wrote: > On (2003/09/02 09:43), Ian Freislich wrote: > > > > I posted one approach to this today... touch a file right before you > > > start installworld, then consider anything not newer than that file a > > > candidate for disposal. There is currently something weird going on in >

Re: /lib symlinks problem?

2003-09-02 Thread Sheldon Hearn
On (2003/09/02 09:43), Ian Freislich wrote: > > I posted one approach to this today... touch a file right before you > > start installworld, then consider anything not newer than that file a > > candidate for disposal. There is currently something weird going on in > > /usr/lib though... a lot of

Re: /lib symlinks problem?

2003-09-02 Thread Ian Freislich
Doug Barton wrote: > On Mon, 1 Sep 2003, M. Warner Losh wrote: > > > My tool is initially just a 'delete these files' tool, but now that I > > think about it, it wouldn't be hard to say also 'create these > > symlinks'. The hard part here is generating the 'obsolete' lists. > > I posted one appr

Re: /lib symlinks problem?

2003-09-01 Thread Gordon Tetlow
On Sun, Aug 31, 2003 at 10:10:49PM -0700, David O'Brien wrote: > On Sun, Aug 31, 2003 at 05:52:24PM +0300, Ruslan Ermilov wrote: > > > > I might be missing an obvious, but I just don't see a reason > > > > why we should use relative linking here: we should just link > > > > to where we really insta

Re: /lib symlinks problem?

2003-09-01 Thread Gordon Tetlow
On Sun, Aug 31, 2003 at 05:52:24PM +0300, Ruslan Ermilov wrote: > > Now it looks like this: > > install -C -o root -g wheel -m 444 libalias.a /foo/usr/lib > install -s -o root -g wheel -m 444 libalias.so.4 /foo/lib > ln -fs libalias.so.4 /foo/lib/libalias.so > ln -fs /lib/libalias.so.4 /fo

Re: /lib symlinks problem?

2003-09-01 Thread Terry Lambert
"M. Warner Losh" wrote: > In message: <[EMAIL PROTECTED]> > Doug Barton <[EMAIL PROTECTED]> writes: > : I posted one approach to this today... touch a file right before you > : start installworld, then consider anything not newer than that file a > : candidate for disposal. There is cur

Re: /lib symlinks problem?

2003-09-01 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Doug Barton <[EMAIL PROTECTED]> writes: : On Mon, 1 Sep 2003, M. Warner Losh wrote: : > In message: <[EMAIL PROTECTED]> : > Doug Barton <[EMAIL PROTECTED]> writes: : > : On Mon, 1 Sep 2003, M. Warner Losh wrote: : > : > My tool is initially ju

Re: /lib symlinks problem?

2003-09-01 Thread Doug Barton
On Mon, 1 Sep 2003, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Doug Barton <[EMAIL PROTECTED]> writes: > : On Mon, 1 Sep 2003, M. Warner Losh wrote: > : > : > My tool is initially just a 'delete these files' tool, but now that I > : > think about it, it wouldn't be hard

Re: /lib symlinks problem?

2003-09-01 Thread Ruslan Ermilov
On Mon, Sep 01, 2003 at 09:31:29AM -0700, David O'Brien wrote: > On Mon, Sep 01, 2003 at 09:44:24AM +0300, Ruslan Ermilov wrote: > > On Sun, Aug 31, 2003 at 10:10:49PM -0700, David O'Brien wrote: > > > On Sun, Aug 31, 2003 at 05:52:24PM +0300, Ruslan Ermilov wrote: > > > > > > I might be missing an

Re: /lib symlinks problem?

2003-09-01 Thread David O'Brien
On Mon, Sep 01, 2003 at 09:44:24AM +0300, Ruslan Ermilov wrote: > On Sun, Aug 31, 2003 at 10:10:49PM -0700, David O'Brien wrote: > > On Sun, Aug 31, 2003 at 05:52:24PM +0300, Ruslan Ermilov wrote: > > > > > I might be missing an obvious, but I just don't see a reason > > > > > why we should use rel

Re: /lib symlinks problem?

2003-09-01 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Doug Barton <[EMAIL PROTECTED]> writes: : On Mon, 1 Sep 2003, Ruslan Ermilov wrote: : : > > I posted one approach to this today... touch a file right before you : > > start installworld, then consider anything not newer than that file a : > > candidate f

Re: /lib symlinks problem?

2003-09-01 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Doug Barton <[EMAIL PROTECTED]> writes: : On Mon, 1 Sep 2003, M. Warner Losh wrote: : : > My tool is initially just a 'delete these files' tool, but now that I : > think about it, it wouldn't be hard to say also 'create these : > symlinks'. The hard par

Re: /lib symlinks problem?

2003-09-01 Thread Doug Barton
On Mon, 1 Sep 2003, Ruslan Ermilov wrote: > > I posted one approach to this today... touch a file right before you > > start installworld, then consider anything not newer than that file a > > candidate for disposal. There is currently something weird going on in > > /usr/lib though... a lot of th

Re: /lib symlinks problem?

2003-09-01 Thread Ruslan Ermilov
On Mon, Sep 01, 2003 at 01:58:52AM -0700, Doug Barton wrote: > On Mon, 1 Sep 2003, M. Warner Losh wrote: > > > My tool is initially just a 'delete these files' tool, but now that I > > think about it, it wouldn't be hard to say also 'create these > > symlinks'. The hard part here is generating th

Re: /lib symlinks problem?

2003-09-01 Thread Doug Barton
On Mon, 1 Sep 2003, M. Warner Losh wrote: > My tool is initially just a 'delete these files' tool, but now that I > think about it, it wouldn't be hard to say also 'create these > symlinks'. The hard part here is generating the 'obsolete' lists. I posted one approach to this today... touch a fil

Re: /lib symlinks problem?

2003-09-01 Thread Ruslan Ermilov
On Mon, Sep 01, 2003 at 01:22:49AM -0600, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Ruslan Ermilov <[EMAIL PROTECTED]> writes: > : On Mon, Sep 01, 2003 at 08:58:19AM +0200, Christoph P. Kukulies wrote: > : > On Mon, Sep 01, 2003 at 09:44:24AM +0300, Ruslan Ermilov wrote:

Re: /lib symlinks problem?

2003-09-01 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Ruslan Ermilov <[EMAIL PROTECTED]> writes: : On Mon, Sep 01, 2003 at 08:58:19AM +0200, Christoph P. Kukulies wrote: : > On Mon, Sep 01, 2003 at 09:44:24AM +0300, Ruslan Ermilov wrote: : > > I think that Gordon took a safe path with creating compatibility

Re: /lib symlinks problem?

2003-09-01 Thread Ruslan Ermilov
On Mon, Sep 01, 2003 at 08:58:19AM +0200, Christoph P. Kukulies wrote: > On Mon, Sep 01, 2003 at 09:44:24AM +0300, Ruslan Ermilov wrote: > > I think that Gordon took a safe path with creating compatibility symlinks. > > Besides, creating compatibility symlinks has a nicety of removing your > > stal

Re: /lib symlinks problem?

2003-09-01 Thread Christoph P. Kukulies
On Mon, Sep 01, 2003 at 09:44:24AM +0300, Ruslan Ermilov wrote: > I think that Gordon took a safe path with creating compatibility symlinks. > Besides, creating compatibility symlinks has a nicety of removing your > stale symlinks in /usr/lib. I always asked myself whether there is a tool or some

Re: /lib symlinks problem?

2003-09-01 Thread Ruslan Ermilov
On Sun, Aug 31, 2003 at 10:10:49PM -0700, David O'Brien wrote: > On Sun, Aug 31, 2003 at 05:52:24PM +0300, Ruslan Ermilov wrote: > > > > I might be missing an obvious, but I just don't see a reason > > > > why we should use relative linking here: we should just link > > > > to where we really insta

Re: /lib symlinks problem?

2003-09-01 Thread David O'Brien
On Sun, Aug 31, 2003 at 05:52:24PM +0300, Ruslan Ermilov wrote: > > > I might be missing an obvious, but I just don't see a reason > > > why we should use relative linking here: we should just link > > > to where we really install. With the attached patch, I get: ... > +.if ${LIBDIR} != ${SHLIBDIR

Re: /lib symlinks problem? (was: Re: __fpclassifyd)

2003-08-31 Thread Christoph P. Kukulies
I found the problem with my system here: I had a libc.so.5 in /usr/lib of Jan 16. Concurrently the newly installed libc.so.5 lives in /lib. After removing /usr/lib/libc.so.5 the binary (httpd) worked. On Sat, Aug 30, 2003 at 01:54:27PM +0200, Alexander Leidinger wrote: > On Fri, 29 Aug 2003 09

Re: /lib symlinks problem?

2003-08-31 Thread Alexander Leidinger
On Sun, 31 Aug 2003 17:52:24 +0300 Ruslan Ermilov <[EMAIL PROTECTED]> wrote: > Doh, you're of course right! An updated patch is attached. I successfully tested an installworld, nm doesn't fail anymore in my environment and cdrdao compiles just fine. Bye, Alexander. -- It is easier

Re: /lib symlinks problem?

2003-08-31 Thread Alexander Leidinger
On Sat, 30 Aug 2003 21:56:53 +0300 Ruslan Ermilov <[EMAIL PROTECTED]> wrote: > > I think a workaround would be to use absolute symlinks (at least as an > > option). > > > I might be missing an obvious, but I just don't see a reason > why we should use relative linking here: we should just link >

Re: /lib symlinks problem?

2003-08-31 Thread Ruslan Ermilov
On Sun, Aug 31, 2003 at 02:07:42PM +0200, Alexander Leidinger wrote: > On Sat, 30 Aug 2003 21:56:53 +0300 > Ruslan Ermilov <[EMAIL PROTECTED]> wrote: > > > > I think a workaround would be to use absolute symlinks (at least as an > > > option). > > > > > I might be missing an obvious, but I just d

Re: /lib symlinks problem?

2003-08-30 Thread Ruslan Ermilov
On Sat, Aug 30, 2003 at 01:54:27PM +0200, Alexander Leidinger wrote: [...] > I think the problem is, that some tools have a problem finding it...: > ---snip--- > (3) [EMAIL PROTECTED] % nm -D /usr/lib/libc.so | grep fpcl > nm: /usr/lib/libc.so: No such file or directory > > (4) [EMAIL PROTECTED] %

/lib symlinks problem? (was: Re: __fpclassifyd)

2003-08-30 Thread Alexander Leidinger
On Fri, 29 Aug 2003 09:19:07 -0700 Steve Kargl <[EMAIL PROTECTED]> wrote: > Are you linking in libc? > > troutmask:kargl[207] nm -D /usr/lib/libc.so | grep fpcl > 000b0040 T __fpclassifyd > 000afff0 T __fpclassifyf > 000b00a0 T __fpclassifyl I think the problem is, that some tools have a problem