Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2009 07:55:50 -0600
From:      Peter Steele <psteele@maxiscale.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   RE: ELF library not found error
Message-ID:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA3E@MBX03.exg5.exghost.com>
In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA34@MBX03.exg5.exghost.com>
References:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA10@MBX03.exg5.exghost.com> <200911172247.26156.npapke@acm.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA34@MBX03.exg5.exghost.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
I just installed compat6x-amd64-6.4.604000.200810_3.tbz and that solved the=
 error for Python 2.5 and 3.1, as well as several other applications that w=
ere giving that error. I'm still getting the error for a few other packages=
 though, e.g. wireshark:

# pkg_add /mnt/ports/wireshark-1.2.2.tbz=20
pkg_add: warning: package 'wireshark-1.2.2' requires 'tiff-3.9.1_1', but 't=
iff-3.9.1' is installed
pkg_add: warning: package 'wireshark-1.2.2' requires 'pcre-8.00', but 'pcre=
-7.9' is installed
pkg_add: warning: package 'wireshark-1.2.2' requires 'xcb-util-0.3.6_1', bu=
t 'xcb-util-0.3.6' is installed
pkg_add: warning: package 'wireshark-1.2.2' requires 'libxml2-2.7.6', but '=
libxml2-2.7.5' is installed
root@:~>
# wireshark
ELF interpreter /libexec/ld-elf.so.1 not found=20

If both the 6.x and 7.x compatibility packages are installed and this error=
 still occurs, what's the culprit?

-----Original Message-----
From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f=
reebsd.org] On Behalf Of Peter Steele
Sent: Wednesday, November 18, 2009 5:14 AM
To: freebsd-questions@freebsd.org
Subject: RE: ELF library not found error

This was not an upgrade but rather a fresh install. I included compat7x-amd=
64-7.2.702000.200906.1 in the install. I've found other packages that are g=
iving the same error. Recompiling all of the ports is something I really wa=
nt to avoid. The install is done through an automated process that builds a=
 FreeBSD 8 image using a custom script, combining our kernel with a bunch o=
f binary packages we want to include in the image. The result is a tarball =
image, and that image can then be taken and installed directly onto our tar=
get systems via a USB boot stick.

We've used the same technique for 7.0 and it's worked fine. I was just thin=
king though: We do build our custom kernel, and the build is being done, fo=
r now, on our 7.0 build server. I got the binary ports from the net, and I =
assume at least some have been built on an 8.0 system. Can you combine bina=
ries of ports that have been built on an 8.0 system with a custom kernel th=
at was built on a 7.0 system?

-----Original Message-----
From: Norbert Papke [mailto:npapke@acm.org]
Sent: Tuesday, November 17, 2009 10:47 PM
To: freebsd-questions@freebsd.org
Cc: Peter Steele
Subject: Re: ELF library not found error

On November 17, 2009, Peter Steele wrote:
>  I've installed an 8.0 RC3 system and
>  included Python 2.5, 2.6, and 3.1. The 2.6 version appears to run fine.
>  However, for both 2.5 and 3.1 I get the error:
>=20
> ELF interpreter /libexec/ld-elf.so.1 not found
>=20
> What might cause this error?

If you upgraded from 7.x, you need to install the misc/compat7x port.=20

Even better, rebuild all your ports.  It will save you a lot of grief in th=
e long run.

Cheers,

-- Norbert Papke.
   npapke@acm.org


http://saveournet.ca
Protecting your Internet's level playing field ____________________________=
___________________
freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman=
/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org=
"



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA3E>