FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 06-08-2008, 04:17 PM
Matt Harrison
 
Default OO-bin on amd64

Hi all,

I've just installed openoffice-bin and I'm getting these messages when
trying to run anything from OO:


/usr/lib32/openoffice/program/soffice: line 240:
/usr/lib32/openoffice/program/pagein: cannot execute binary file
/usr/lib32/openoffice/program/soffice: line 240:
/usr/lib32/openoffice/program/soffice.bin: cannot execute binary file


I can't help but feel that this is because of my arch (amd64) but I'm
not sure. Perms are all fine on those files, however I can't ldd them:


/usr/bin/ldd: line 161: /lib/ld-linux.so.2: cannot execute binary file
not a dynamic executable

Any help would be greatly appreciated.

Thanks

Matt Harrison
No virus found in this outgoing message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 270.0.0/1489 - Release Date: 07/06/2008 11:17
 
Old 06-08-2008, 05:21 PM
deface
 
Default OO-bin on amd64

tried running a revdep-rebuild? please paste the output of emerge --info


On Jun 8, 2008, at 11:17 AM, Matt Harrison wrote:


Hi all,

I've just installed openoffice-bin and I'm getting these messages
when trying to run anything from OO:


/usr/lib32/openoffice/program/soffice: line 240: /usr/lib32/
openoffice/program/pagein: cannot execute binary file
/usr/lib32/openoffice/program/soffice: line 240: /usr/lib32/
openoffice/program/soffice.bin: cannot execute binary file


I can't help but feel that this is because of my arch (amd64) but
I'm not sure. Perms are all fine on those files, however I can't ldd
them:


/usr/bin/ldd: line 161: /lib/ld-linux.so.2: cannot execute binary file
not a dynamic executable

Any help would be greatly appreciated.

Thanks

Matt Harrison
No virus found in this outgoing message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 270.0.0/1489 - Release Date:
07/06/2008 11:17


--
gentoo-user@lists.gentoo.org mailing list
 
Old 06-08-2008, 06:00 PM
Matt Harrison
 
Default OO-bin on amd64

deface wrote:

tried running a revdep-rebuild? please paste the output of emerge --info


revdep-rebuild doesn't find anything that needs rebuilding.

emerge --info:

Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.24-gentoo-r8 x86_64)

================================================== ===============
System uname: 2.6.24-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core
Processor 6400+

Timestamp of tree: Wed, 04 Jun 2008 15:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf
/etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"

CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"

LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"

PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://exodus.genestate.com/gentoo-portage/"
USE="X acl amd64 avi berkdb bzip2 cli cracklib crypt cups dri fortran
gdbm gnome gpm gtk iconv isdnlog midi mmx mp3 mpeg mudflap multilib
ncurses nls nptl nptlonly ogg openmp pam pcre perl pppd python readline
reflection session spl sse sse2 ssl tcpd unicode vorbis xorg zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
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" APACHE2_MODULES="actions alias
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
authz_dbm authz_default authz_groupfile authz_host authz_owner
authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache
env expires ext_filter file_cache filter headers include info log_config
logio mem_cache mime mime_magic negotiation rewrite setenvif speling
status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga
neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
No virus found in this outgoing message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 270.0.0/1489 - Release Date: 07/06/2008 11:17
 
Old 06-08-2008, 09:32 PM
Pupino
 
Default OO-bin on amd64

2008/6/8 Matt Harrison <iwasinnamuknow@genestate.com>:

deface wrote:


tried running a revdep-rebuild? please paste the output of emerge --info




revdep-rebuild doesn't find anything that needs rebuilding.



emerge --info:



Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)

================================================== ===============

System uname: 2.6.24-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6400+

Timestamp of tree: Wed, 04 Jun 2008 15:45:01 +0000

ccache version 2.4 [enabled]

app-shells/bash: * * 3.2_p17-r1

dev-lang/python: * * 2.4.4-r6

dev-python/pycrypto: 2.0.1-r6

dev-util/ccache: * * 2.4-r7

sys-apps/baselayout: 1.12.11.1

sys-apps/sandbox: * *1.2.18.1-r2

sys-devel/autoconf: *2.13, 2.61-r1

sys-devel/automake: *1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1

sys-devel/binutils: *2.18-r1

sys-devel/gcc-config: 1.4.0-r4

sys-devel/libtool: * 1.5.24

virtual/os-headers: *2.6.23-r3

ACCEPT_KEYWORDS="amd64"

CBUILD="x86_64-pc-linux-gnu"

CFLAGS="-O2 -pipe"

CHOST="x86_64-pc-linux-gnu"

CONFIG_PROTECT="/etc"

CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"

CXXFLAGS="-O2 -pipe"

DISTDIR="/usr/portage/distfiles"

FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"

GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"


LINGUAS="en_GB"

PKGDIR="/usr/portage/packages"

PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"

PORTAGE_TMPDIR="/var/tmp"

PORTDIR="/usr/portage"

SYNC="rsync://exodus.genestate.com/gentoo-portage/"

USE="X acl amd64 avi berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gnome gpm gtk iconv isdnlog midi mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode vorbis xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"


Unset: *CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


No virus found in this outgoing message.

Checked by AVG.

Version: 8.0.100 / Virus Database: 270.0.0/1489 - Release Date: 07/06/2008 11:17


Check if you have the support for x86 binaries in you kernel and that the partition where /usr/lib32 resides is not mounted with noexec mode.
Furthermore, the error regarding ldd seems related to ldd itself, not to the OO library which you are "ldding"

You can also try another x86 application to see if that will fail too or not.

HTH
Davide
 
Old 06-08-2008, 09:49 PM
Matt Harrison
 
Default OO-bin on amd64

Pupino wrote:
Check if you have the support for x86 binaries in you kernel and that
the partition where /usr/lib32 resides is not mounted with noexec mode.
Furthermore, the error regarding ldd seems related to ldd itself, not to
the OO library which you are "ldding"
You can also try another x86 application to see if that will fail too or
not.


HTH
Davide


Now that you mention it, I think the problem is going to be kernel
support for x86. I seem to remember removing it for some strange reason.


I'm doing a kernel compile now and I'll post my results in a little while

Thanks

--
Matt Harrison
No virus found in this outgoing message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 270.0.0/1490 - Release Date: 08/06/2008 17:32
 
Old 06-08-2008, 10:06 PM
Matt Harrison
 
Default OO-bin on amd64

Matt Harrison wrote:

Pupino wrote:
Check if you have the support for x86 binaries in you kernel and that
the partition where /usr/lib32 resides is not mounted with noexec mode.
Furthermore, the error regarding ldd seems related to ldd itself, not
to the OO library which you are "ldding"
You can also try another x86 application to see if that will fail too
or not.


HTH
Davide


Now that you mention it, I think the problem is going to be kernel
support for x86. I seem to remember removing it for some strange reason.


I'm doing a kernel compile now and I'll post my results in a little
while


Thanks


Yup looks like that was it, such a silly mistake :P

Thanks for the advice that led me to realise this

--
Matt Harrison
No virus found in this outgoing message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 270.0.0/1490 - Release Date: 08/06/2008 17:32
 

Thread Tools




All times are GMT. The time now is 03:35 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org