ELF library not found error

Peter Steele psteele at maxiscale.com
Wed Nov 18 13:55:54 UTC 2009


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 were 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 
pkg_add: warning: package 'wireshark-1.2.2' requires 'tiff-3.9.1_1', but 'tiff-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', but '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 

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 at freebsd.org [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Peter Steele
Sent: Wednesday, November 18, 2009 5:14 AM
To: freebsd-questions at freebsd.org
Subject: RE: ELF library not found error

This was not an upgrade but rather a fresh install. I included compat7x-amd64-7.2.702000.200906.1 in the install. I've found other packages that are giving the same error. Recompiling all of the ports is something I really want 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 of 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 target systems via a USB boot stick.

We've used the same technique for 7.0 and it's worked fine. I was just thinking though: We do build our custom kernel, and the build is being done, for 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 binaries of ports that have been built on an 8.0 system with a custom kernel that was built on a 7.0 system?

-----Original Message-----
From: Norbert Papke [mailto:npapke at acm.org]
Sent: Tuesday, November 17, 2009 10:47 PM
To: freebsd-questions at 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:
> 
> ELF interpreter /libexec/ld-elf.so.1 not found
> 
> What might cause this error?

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

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

Cheers,

-- Norbert Papke.
   npapke at acm.org


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


More information about the freebsd-questions mailing list