Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2008 19:53:32 -0700
From:      "Ben Schumacher" <me@benschumacher.com>
To:        freebsd-amd64@freebsd.org
Cc:        drywash47@yahoo.com
Subject:   Re: ** freebsd 4.1 i386 to 6.2 amd64 - /usr/local/bin/chgquota
Message-ID:  <9859143f0802241853u35ae0469y8c990f66a10ced4a@mail.gmail.com>
In-Reply-To: <89053.27197.qm@web34604.mail.mud.yahoo.com>
References:  <89053.27197.qm@web34604.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 24, 2008 at 5:54 PM, David <drywash47@yahoo.com> wrote:
> I recently migrated from:
>
>  FreeBSD servername.com 4.10-RELEASE-p2 FreeBSD
>  4.10-RELEASE-p2 #1: Sun Aug 22 15:56:17 EDT 2004
>  root@servername.com:/usr/obj/usr/src/sys/MYKERNEL
>  i386
>
>  to:
>
>  FreeBSD servername.com 6.2-RELEASE FreeBSD 6.2-RELEASE
>  #0: Sun Jan  6 22:37:33 CST 2008
>  root@web1:/usr/obj/usr/src/sys/web1  amd64
>
>
>  I noticed that my scripts which make use of a 32 bit
>  binary program to change / manage user quotas is no
>  longer working:
>
>  /usr/local/bin/chgquota
>
>  [root@web1 /usr/local/bin]# ./chgquota
>  ELF interpreter /libexec/ld-elf32.so.1 not found
>  Abort trap: 6
>
>  Anyone know of a working 64bit chgquota binary which
>  will replace this binary or how I can get the existing
>  binary working on my system?  I'd greatly appreciate
>  any detailed instructions.

David-

I'm sure I don't have all the right answers here, but I'm going to
take a whack at this.

I'm not sure how you did your upgrade, but I'm guessing it was a
binary upgrade? Based on that error message I'm guessing you didn't
install the 32-bit binary compatibility layer or the compat4x port.
You might also consider recompiling your binary on your new system,
but I'm not sure how easy that'll be. I'm assuming this was something
in the ports collection that no longer exists? Where did the chgquota
program originally come from?

Just an FYI- It's generally a good idea when you do major version
upgrades to rebuild all your ports, but this is not without potential
pitfalls as you might not get the same options for your compiles.
"portupgrade" can be an invaluable tool for this purpose.

Anyway, I hope this helps some.

Cheers,
Ben



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9859143f0802241853u35ae0469y8c990f66a10ced4a>