Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172021 - app-antivirus/f-prot-4.6.7 doesn't run on amd64 due to missing /lib/ld-linux-x86-64.so.2
Summary: app-antivirus/f-prot-4.6.7 doesn't run on amd64 due to missing /lib/ld-linux-...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-24 10:20 UTC by Felix Leimbach
Modified: 2007-03-24 10:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Leimbach 2007-03-24 10:20:15 UTC
f-prot-4.6.7 does not run on amd64 despite being marked as stable:

#emerge app-antivirus/f-prot

#/opt/f-prot/tools/check-updates.pl (updates successfully)

#/usr/bin/f-prot.sh /tmp/fprot-test
/usr/bin/f-prot.sh: line 5: /opt/f-prot/f-prot: No such file or directory
/usr/bin/f-prot.sh: line 5: /opt/f-prot/f-prot: Success

further investigation gives:
#ldd /opt/f-prot/f-prot
/usr/bin/ldd: line 167: /lib/ld-linux.so.2: No such file or directory
ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)

#ls -la /lib/ld-linux.so.2
ls: cannot access /lib/ld-linux.so.2: No such file or directory

#ln -s ld-2.3.6.so ld-linux.so.2
#/usr/bin/f-prot.sh /tmp/fprot-test
/usr/bin/f-prot.sh: line 5: /opt/f-prot/f-prot: Accessing a corrupted shared library
/usr/bin/f-prot.sh: line 5: /opt/f-prot/f-prot: Success

Profile is hardened/amd64 which seems to not use multilib.
The kernel is 64bit but has support for 32bit executables.

Reproducible: Always

Steps to Reproduce:
1. emerge app-antivirus/f-prot
2. scan a file

Actual Results:  
errors, see above

Expected Results:  
file should be successfully scanned for viruses
Comment 1 Felix Leimbach 2007-03-24 10:22:05 UTC
Portage 2.1.2.2 (hardened/amd64, gcc-3.4.6, glibc-2.3.6-r5, 2.6.16.44 x86_64)
=================================================================
System uname: 2.6.16.44 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 23 Mar 2007 12:50:01 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php4/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://distfiles.gentoo.org"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 apache2 authdaemond authlib berkdb bzip2 caps crypt geoip gmp hardened imagemagick jpeg justify midi mysql nptl nptlonly pam pic png postfix readline sasl ssl tcpd urandom xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Felix Leimbach 2007-03-24 10:45:44 UTC
Just found out that this is a generic problem with 32bit binaries. The hardened profile doesn't use multilib and thus the needed 32bit libraries are not installed.