** freebsd 4.1 i386 to 6.2 amd64 - /usr/local/bin/chgquota

Ben Schumacher me at benschumacher.com
Mon Feb 25 03:22:01 UTC 2008

On Sun, Feb 24, 2008 at 5:54 PM, David <drywash47 at 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 at 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 at 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 at 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.


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.


More information about the freebsd-amd64 mailing list