RE: ELF library not found error

2009-11-18 Thread Peter Steele
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 
want to avoid. The install is done through an automated process that builds a 
FreeBSD 8 image using a custom script, combining our custom 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:npa...@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:
 
 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.
   npa...@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-unsubscr...@freebsd.org


RE: ELF library not found error

2009-11-18 Thread Peter Steele
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-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.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-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:npa...@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:
 
 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.
   npa...@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-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ELF library not found error

2009-11-18 Thread Norbert Papke
On November 18, 2009, Peter Steele wrote:
 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?

Presumably (and I am speculating), the 8.0 packages are not yet finalized and 
therefore inconsistent.  Perhaps you will have better luck after the official 
8.0 Release?

-- Norbert Papke.
   npa...@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-unsubscr...@freebsd.org


RE: ELF library not found error

2009-11-18 Thread Peter Steele
Presumably (and I am speculating), the 8.0 packages are not yet finalized and 
therefore inconsistent.  Perhaps you will have better luck after the official 
8.0 Release?

I was thinking the same thing--too much version mismatching going on. I'm going 
to take your suggestion though and compile all of the ports we want to use, and 
then convert them back into packages. I tried that with one port that was 
failing and this solved the problem. 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ELF library not found error

2009-11-18 Thread Jonathan Chen
On Wed, Nov 18, 2009 at 11:49:47AM -0600, Peter Steele wrote:
 Presumably (and I am speculating), the 8.0 packages are not yet finalized 
 and therefore inconsistent.  Perhaps you will have better luck after the 
 official 8.0 Release?
 
 I was thinking the same thing--too much version mismatching going on. I'm 
 going to take your suggestion though and compile all of the ports we want to 
 use, and then convert them back into packages. I tried that with one port 
 that was failing and this solved the problem. 
 

When you do a major upgrade (ie: 6 to 7, or 7 to 8), one of the final
steps recommended is to recompile all ports. The compatX packages are
a stop gap until your transition is complete, and can/should be
removed once all your ports have been updated.

If you choose not to recompile/refectch all your ports, you are faced
with the possibility of library and port dependancy breakages as each
installed port updates to newer and possibly incompatible versions.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
A little learning is a dangerous thing but a lot of ignorance is
 just as bad.  - Bob Edwards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ELF library not found error

2009-11-17 Thread Peter Steele
I did a search for this error and got numerous hits, none which really seemed 
to explain my situation. 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?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: ELF library not found error

2009-11-17 Thread Peter Steele
I should have mentioned that this shared library mentioned in the error is in 
fact present. For some reason though these apps seem to think it's missing...

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Peter Steele
Sent: Tuesday, November 17, 2009 7:58 PM
To: freebsd-questions@freebsd.org
Subject: ELF library not found error

I did a search for this error and got numerous hits, none which really seemed 
to explain my situation. 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?

___
freebsd-questions@freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ELF library not found error

2009-11-17 Thread Norbert Papke
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.
   npa...@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-unsubscr...@freebsd.org