Subject: Cannot execute ELF binary
To: None <netbsd-users@netbsd.org, tech-pkg@netbsd.org>
From: Co Thai Ngo <cngo@nmsu.edu>
List: tech-pkg
Date: 06/26/2007 15:00:14
Hi,
I got the below error (see the attached) when installing suse100_base package
on amd64. Does anyone know what it's and how to fix it ? Kindly advise me your
advice. Here is the info of my kernel.
******
kern.ostype = NetBSD
kern.osrelease = 4.99.12
kern.osrevision = 499001200
kern.version = NetBSD 4.99.12 (GENERIC) #0: Mon Feb 26 12:07:22 MET 2007
root@truc.lip6.fr:/home/tmp/amd64/obj/home/src/sys/arch/amd64/compile/GENERIC
*******
Thank you very much,
--
Co Thai Ngo
Dept. of Biology
New Mexico State University
*****************
mimulus# make package
=> Required installed package digest>=20010302: digest-20060826 found
===> Checking for vulnerabilities in paup-x86-4b10
===> Installing dependencies for paup-x86-4b10
=> Required installed package suse_compat>=6.4: NOT found
=> Verifying package for ../../emulators/suse100_compat
=> Required installed package digest>=20010302: digest-20060826 found
===> Checking for vulnerabilities in suse_compat-10.0nb2
===> Installing dependencies for suse_compat-10.0nb2
==========================================================================
The supported build options for suse_compat are:
compat32
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable. Its current value is shown:
PKG_OPTIONS.suse (not defined)
==========================================================================
==========================================================================
The following variables will affect the build process of this package,
suse_compat-10.0nb2. Their current value is shown below:
* RPMFILES = compat-2004.11.13-4.x86_64.rpm
compat-g77-3.3.5-2.x86_64.rpm compat-libstdc++-5.0.7
-6.x86_64.rpm
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Required installed package rpm2pkg>=2.1: rpm2pkg-2.1.1nb2 found
=> Required installed package suse_base-10.0{,nb*}: NOT found
=> Verifying package for ../../emulators/suse100_base
=> Required installed package digest>=20010302: digest-20060826 found
===> Checking for vulnerabilities in suse_base-10.0nb3
===> Installing for suse_base-10.0nb3
=> Generating pre-install file lists
=> Creating installation directories
=> Running PRE-INSTALL script actions
/usr/bin/install -c -o root -g wheel -m
555 /src/pkgsrc/emulators/suse100_base/files/linux-mkpwd.sh /usr/
pkg/sbin/linux-mkpwd
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/emul/linux/dev
/usr/bin/install -c -o root -g wheel -m
444 /dev/MAKEDEV /usr/pkg/emul/linux/dev
if [ -f /dev/MAKEDEV.subr ]; then /usr/bin/install -c -o root -g wheel -m
444 /dev/MAKEDEV.subr /usr/pkg/
emul/linux/dev; fi
cd /usr/pkg/emul/linux/dev && /bin/sh ./MAKEDEV std audio
cd /usr/pkg/emul/linux/dev && /bin/ln -fs sound dsp
/usr/pkg/sbin/rpm2pkg -d /usr/pkg -f /src/pkg_tmp/obj/pkgsrc/emulators/suse100_base/work.pkg_comp/PLIST_DY
NAMIC -p emul/linux -s
1 -i ./etc/bash.bashrc -i ./etc/bash_completion.d -i ./etc/cron.daily -i ./etc/csh.
cshrc -i ./etc/csh.login -i ./etc/inittab -i ./etc/hushlogins -i ./etc/java -i ./etc/mailcap -i ./etc/mime
.types -i ./etc/nsswitch.conf -i ./etc/pam.d -i ./etc/profile -i ./etc/profile.dos -i ./etc/rc.d.README -i
./etc/rpc -i ./etc/shells -i ./etc/ttytype /src/pkg_tmp/distfiles/All/suse100/x86_64/aaa_base-10.0-28.x86
_64.rpm /src/pkg_tmp/distfiles/All/suse100/x86_64/bash-3.0-17.x86_64.rpm /src/pkg_tmp/distfiles/All/suse10
0/x86_64/coreutils-5.3.0-20.2.x86_64.rpm /src/pkg_tmp/distfiles/All/suse100/x86_64/glibc-2.3.5-40.x86_64.r
pm /src/pkg_tmp/distfiles/All/suse100/x86_64/libgcc-4.0.2_20050901-3.x86_64.rpm /src/pkg_tmp/distfiles/All /suse100/x86_64/libacl-2.2.31-3.x86_64.rpm /src/pkg_tmp/distfiles/All/suse100/x86_64/libattr-2.4.24-2.x86_
64.rpm /src/pkg_tmp/distfiles/All/suse100/x86_64/libselinux-1.23.11-3.x86_64.rpm /src/pkg_tmp/distfiles/Al
l/suse100/x86_64/libstdc++-4.0.2_20050901-3.x86_64.rpm /src/pkg_tmp/distfiles/All/suse100/x86_64/ncurses-5 .4-71.x86_64.rpm /src/pkg_tmp/distfiles/All/suse100/x86_64/readline-5.0-9.x86_64.rpm /src/pkg_tmp/distfile
s/All/suse100/x86_64/zlib-1.2.3-3.x86_64.rpm
echo "@dirrm emul/linux"
>>/src/pkg_tmp/obj/pkgsrc/emulators/suse100_base/work.pkg_comp/PLIST_DYNAMIC
/usr/bin/install -c -o root -g wheel -m
444 /src/pkg_tmp/obj/pkgsrc/emulators/suse100_base/work.pkg_comp/S
uSE-release /usr/pkg/emul/linux/etc
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/emul/linux/proc
/bin/ln -fs /usr/pkg/emul/linux/proc/mounts /usr/pkg/emul/linux/etc/mtab
/usr/pkg/emul/linux/sbin/ldconfig -r /usr/pkg/emul/linux
/bin/sh: Cannot execute ELF binary /usr/pkg/emul/linux/sbin/ldconfig
*** Error code 2
Stop.
make: stopped in /src/pkgsrc/emulators/suse100_base
*** Error code 1
Stop.
make: stopped in /src/pkgsrc/emulators/suse100_base
*** Error code 1
Stop.
make: stopped in /src/pkgsrc/emulators/suse100_base
*** Error code 1
Stop.
make: stopped in /src/pkgsrc/emulators/suse100_compat
*** Error code 1
Stop.
make: stopped in /src/pkgsrc/wip/paup
*********
--
Co Thai Ngo
Dept. of Biology
New Mexico State University