From owner-freebsd-questions@FreeBSD.ORG Thu Apr 13 07:55:37 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 034EB16A402 for ; Thu, 13 Apr 2006 07:55:37 +0000 (UTC) (envelope-from wilfre@mail.ru) Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A09A43D45 for ; Thu, 13 Apr 2006 07:55:36 +0000 (GMT) (envelope-from wilfre@mail.ru) Received: from [213.234.3.130] (port=32355 helo=[192.168.111.6]) by mx3.mail.ru with asmtp id 1FTwft-000Myx-00 for freebsd-questions@freebsd.org; Thu, 13 Apr 2006 11:55:33 +0400 Message-ID: <443E03F2.5070205@mail.ru> Date: Thu, 13 Apr 2006 11:55:30 +0400 From: "Andrey V. Semyonov" User-Agent: Thunderbird 1.5 (X11/20060309) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: OpenOffice.org on amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2006 07:55:37 -0000 I tried to run OpenOffice.org on my amd64 desk, but there wasn't amd64-package of 2.0.2, so I installed i386 version. As I understand, binary i386-emulation compiled into kernel should allow me to run any i386 application by concept. But, thereis such a problem running OOo: ---CUT--- $ openoffice.org /libexec/ld-elf.so.1: Shared object "libuno_sal.so.3" not found, required by "javaldx" /libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by "pagein" /libexec/ld-elf.so.1: Shared object "libvcl680fi.so" not found, required by "soffice.bin" ---CUT--- $ ls /usr/local/openoffice.org-2.0.2.rc2/program/lib*.so* /usr/local/openoffice.org-2.0.2.rc2/program/libuno_sal.so.3 /usr/local/openoffice.org-2.0.2.rc2/program/libvcl680fi.so $ ls /lib/libm* /lib/libm.so.4 /lib/libmd.so.3 $ export LD_LIBRARY_PATH=/usr/local/openoffice.org-2.0.2.rc2/program $ openoffice.org /libexec/ld-elf.so.1: Shared object "libuno_sal.so.3" not found, required by "javaldx" /libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by "pagein" /libexec/ld-elf.so.1: Shared object "libvcl680fi.so" not found, required by "soffice.bin" $ ldconfig -m /usr/local/openoffice.org-2.0.2.rc2/program $ openoffice.org /libexec/ld-elf.so.1: Shared object "libuno_sal.so.3" not found, required by "javaldx" /libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by "pagein" /libexec/ld-elf.so.1: Shared object "libvcl680fi.so" not found, required by "soffice.bin" $ ldd /usr/local/openoffice.org-2.0.2.rc2/program/soffice.bin ldd: /usr/local/openoffice.org-2.0.2.rc2/program/soffice.bin: can't read program header ldd: /usr/local/openoffice.org-2.0.2.rc2/program/soffice.bin: not a dynamic executable $ file /usr/local/openoffice.org-2.0.2.rc2/program/soffice.bin /usr/local/openoffice.org-2.0.2.rc2/program/soffice.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), stripped $ uname -r 6.1-PRERELEASE Does anybody know what is the clue? Seems like linker cannot correctly define file type and it's dependencies (but how does it not find some libs!?).