Bug 29359 - [PATCH] uvscan can't find libc.so.3
Summary: [PATCH] uvscan can't find libc.so.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: jeh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-01 09:30 UTC by martti.kuparinen
Modified: 2001-08-04 17:26 UTC (History)
0 users

See Also:


Attachments
file.diff (506 bytes, patch)
2001-08-01 09:30 UTC, martti.kuparinen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description martti.kuparinen 2001-08-01 09:30:00 UTC
vscan won't work on 4.3-RELEASE as there is no libc.so.3.
Here's a quick and dirty solution for this problem.

How-To-Repeat: 
# uvscan
/usr/libexec/ld-elf.so.1: Shared object "libc.so.3" not found
# cd /usr/lib && ln -s libc.so.4 libc.so.3
Comment 1 Pete Fritchman 2001-08-01 13:59:49 UTC
++ 27/07/01 13:36 +0200 - martti.kuparinen@iki.fi:
| >Description:
| 
| vscan won't work on 4.3-RELEASE as there is no libc.so.3.
| Here's a quick and dirty solution for this problem.
| 
| >How-To-Repeat:
| 
| # uvscan
| /usr/libexec/ld-elf.so.1: Shared object "libc.so.3" not found
| # cd /usr/lib && ln -s libc.so.4 libc.so.3
| 

The real solution is to have the compat3x libraries installed.
libc.so.3 will then live in /usr/lib/compat.

| >Fix:
| 

I'm not sure of the fix.  Maybe something like:

.if !exists(/usr/lib/compat/libc.so.3)
BROKEN=	"You must have the compat3x libraries installed."
.endif

--
Pete Fritchman <petef@databits.net>
Databits Network Services, Inc. <http://databits.net>
finger petef@databits.net for PGP key
Comment 2 martti.kuparinen 2001-08-02 06:48:29 UTC
Ok, here's a better patch to apply!

Martti

=============================================================================
diff -ru /usr/ports/security/vscan/Makefile vscan/Makefile
--- /usr/ports/security/vscan/Makefile	Sat Apr 14 16:16:20 2001
+++ vscan/Makefile	Thu Aug  2 07:40:35 2001
@@ -23,6 +23,10 @@
 LICENSE=	shareware
 RESTRICTED=	"restrictive 30 day evaluation license"

+.if !exists(/usr/lib/compat/libc.so.3)
+BROKEN=		"You must have the compat3x libraries installed."
+.endif
+
 do-configure:
 	${SED} <${FILESDIR}/uvscan.sh >${WRKSRC}/uvscan.sh \
 		-e 's:@@PREFIX@@:${PREFIX}:g'
=============================================================================
Comment 3 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2001-08-02 20:15:25 UTC
Responsible Changed
From-To: freebsd-ports->jeh

Over to maintainer.
Comment 4 jeh freebsd_committer freebsd_triage 2001-08-04 17:26:28 UTC
State Changed
From-To: open->closed

Committed.  Thanks.