From nobody@FreeBSD.org  Tue Oct 30 13:10:46 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E19BF16A41B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Oct 2007 13:10:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id CFC9113C4B0
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Oct 2007 13:10:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UDAiYh081972
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Oct 2007 13:10:44 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l9UDAiOU081971;
	Tue, 30 Oct 2007 13:10:44 GMT
	(envelope-from nobody)
Message-Id: <200710301310.l9UDAiOU081971@www.freebsd.org>
Date: Tue, 30 Oct 2007 13:10:44 GMT
From: Kyryll A Mirnenko <mirya@zoc.com.ua>
To: freebsd-gnats-submit@FreeBSD.org
Subject: skype: can't launch on 7.0, tries to load native librt.so
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         117676
>Category:       ports
>Synopsis:       net/skype: can't launch on 7.0, tries to load native librt.so
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 30 13:20:01 UTC 2007
>Closed-Date:    Tue Oct 30 18:36:45 UTC 2007
>Last-Modified:  Tue Oct 30 21:36:16 UTC 2007
>Originator:     Kyryll A Mirnenko
>Release:        RELENG_7
>Organization:
>Environment:
FreeBSD miryanote 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Mon Oct 29 21:20:10 EET 2007     root@miryanote:/usr/obj/usr/src/sys/MY-LITE  i386
>Description:
The skype upgraded to 1.4.0 fails to run on 7.0-BETA1:

$ skype
skype: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI invalid

compat.linux.osrelease=2.4.2 is used along with linux_base-fc-4_10 (though I suppose it doesn't matter)
>How-To-Repeat:
Upgrade skype to the latest version on 7.0 and try running
>Fix:


>Release-Note:
>Audit-Trail:

From: Kyryll A Mirnenko aka Mirya <mirya@zoc.com.ua>
To: bug-followup@freebsd.org
Cc: mirya@zoc.com.ua
Subject: Re: ports/117676: skype: can't launch on 7.0, tries to load native librt.so
Date: Tue, 30 Oct 2007 16:29:35 +0300

 Also with truss output for it:
 
 ...
 linux_open("/lib/tls/librt.so.1",0x0,011110272653) ERR#2 'No such file or 
 directory'
 linux_open("/lib/librt.so.1",0x0,011110272653)   = 3 (0x3)
 read(3,"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0"...,512) = 512 (0x200)
 close(3)                                         = 0 (0x0)
 linux_open("/usr/lib/tls/librt.so.1",0x0,011110272653) ERR#2 'No such file or 
 directory'
 linux_open("/usr/lib/librt.so.1",0x0,011110272653) = 3 (0x3)
 read(3,"\^?ELF\^A\^A\^A\t\0\0\0\0\0\0\0"...,512) = 512 (0x200)
 close(3)                                         = 0 (0x0)
 ./skype: error while loading shared libraries: /usr/lib/librt.so.1: ELF file 
 OS ABI invalid
 
 Linux'ish librt.so is in place however:
 
 $ ls -l /compat/linux/lib/librt*
 -rwxr-xr-x  1 root  wheel  42972 26  21:21 /compat/linux/lib/librt-2.3.6.so
 lrwxrwxrwx  1 root  wheel     14 26  21:27 /compat/linux/lib/librt.so.1 -> 
 librt-2.3.6.so
 $ brandelf /compat/linux/lib/librt.so.1
 File '/compat/linux/lib/librt.so.1' is of brand 'SVR4' (0).

From: Beech Rintoul <beech@freebsd.org>
To: bug-followup@freebsd.org
Cc:  
Subject: ports/117676: skype: can't launch on 7.0, tries to load native librt.so
Date: Tue, 30 Oct 2007 10:01:05 -0800

 The skype port has been upgraded to version 1.4.0.118. This requires a 
 sysctl change to run. 
 
 After upgrading, please do "sysctlcompat.linux.osrelease=2.6" from a 
 terminal. Also add: "compat.linux.osrelease=2.6" to 
 your /etc/sysctl.conf  to make this change at boot time. 
 
 Also, net/skype-devel has  been removed from the ports tree. All skype 
 users are encouraged to update to the latest version.
 -- 
 ---------------------------------------------------------------------------------------
 Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org
 /"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
 \ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
  X  - NO Word docs in e-mail | Latest Release:
 / \  - http://www.FreeBSD.org/releases/6.2R/announce.html
 ---------------------------------------------------------------------------------------
 
 
 
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Tue Oct 30 18:36:05 UTC 2007 
State-Changed-Why:  
See reply. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117676 
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Oct 30 21:36:15 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117676 
>Unformatted:
