From nobody@FreeBSD.org  Mon Feb 23 13:46:42 2009
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 51BAA106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Feb 2009 13:46:42 +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 3FA828FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Feb 2009 13:46:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1NDkfO0040701
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Feb 2009 13:46:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n1NDkfMI040700;
	Mon, 23 Feb 2009 13:46:41 GMT
	(envelope-from nobody)
Message-Id: <200902231346.n1NDkfMI040700@www.freebsd.org>
Date: Mon, 23 Feb 2009 13:46:41 GMT
From: "William O. Yates" <hackware@tru2life.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: backwards compatibility for lib.so.X
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         132005
>Category:       ports
>Synopsis:       www/man2web: Cannot find libc.so.6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 23 13:50:00 UTC 2009
>Closed-Date:    Mon Mar 30 21:30:18 UTC 2009
>Last-Modified:  Mon Mar 30 21:30:18 UTC 2009
>Originator:     William O. Yates
>Release:        FreeBSD_7.1-RELEASE
>Organization:
tru2life.solution
>Environment:
FreeBSD ns1.tru2life.net 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Backwards compatibility is a "hard to find" solution for some ports.

The port "man2web" gives an error message of "(/libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by "man2web")"

After a couple of hours of frustration, I believe a better solution should be available from your "better minds"...   (at lease a search term linked to "libc.so.6")

Just WHAT should I be searching for?

"linux"?,  "freebsd 6"?, "lib.so"?, "???"...

The utility "sysinstall" gives no help, nor does maillist searches.

A "FAQ" item would be a great help.
>How-To-Repeat:
Install man2web port under FreeBSD_7.1-RELEASE.
>Fix:
A "FAQ" entry...

Please know, this is NOT an insult in any way on your great work...

Just would like to know what to do...

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Mon Feb 23 14:34:12 UTC 2009 
State-Changed-Why:  
To submitter: How did you install this port?  It shouldn't actually 
be possible to have ended up in the situation you are in.  The port 
is trying to use libc.so.6, which is a library from FreeBSD 6. 

- If this machine used to run FreeBSD 6.x and was upgraded through 
one of the standard methods, you should still have this library, as 
it won't have been deleted.  This would only matter if the port was 
originally compiled under 6.x, and hasn't been reinstalled since the 
upgrade to 7.x. 
- If this machine was upgraded from 6.x to 7.x, and the port was then 
compiled or otherwise installed, then the port should be linked 
against libc.so.7, the version of libc supplied with 7.x. 
- If the machine was a clean install of 7.x then it will have never 
had a copy of libc.so.6, but that won't matter as the port should 
never have been linked against it in the first place. 

The most likely cause is that you are trying to use a 6.x version of 
the port on a 7.x machine, and either libc.so.6 has been deleted, or 
it never existed in the first place. 

So, how did you install the port, and have you upgraded the machine 
since? 



Responsible-Changed-From-To: freebsd-doc->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Mon Feb 23 14:34:12 UTC 2009 
Responsible-Changed-Why:  
track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132005 

From: Gavin Atkinson <gavin@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/132005: backwards compatibility for lib.so.X
Date: Fri, 06 Mar 2009 16:43:15 +0000

 -------- Forwarded Message --------
 From: hackware <hackware@tru2life.net>
 Date: Thu, 26 Feb 2009 20:19:37 -0800 (PST)
 
 I installed FreeBSD_7.1-RELEASE on a virgin hard drive.
 
 Used csup to install ports ("csup -L 2 -h cvsup.FreeBSD.org /usr/sup/ports-supfile").
 
 Created man2web install via: "cd /usr/ports/www/man2web && make install clean".
 
 When running man2web ("ns1:/.../_> man2web man
 /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by "man2web").
 
 
 ..william.o.yates...hackware.at.tru2life.net...tru2life.info...
State-Changed-From-To: feedback->open 
State-Changed-By: gavin 
State-Changed-When: Fri Mar 6 16:56:01 UTC 2009 
State-Changed-Why:  
Feedback received 


Responsible-Changed-From-To: gavin->freebsd-ports-bugs 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Fri Mar 6 16:56:01 UTC 2009 
Responsible-Changed-Why:  
Pass over to freebsd-ports-bugs - it no longer looks like a 
documentation issue to me, but may be some strange ports bug. 

To submitter: can you show the output of "ldd `which man2web`" please? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132005 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Mon Mar 30 21:27:59 UTC 2009 
State-Changed-Why:  
Feedback timeout 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Mon Mar 30 21:27:59 UTC 2009 
Responsible-Changed-Why:  
Track 

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