Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2001 13:36:06 +0200 (CEST)
From:      martti.kuparinen@iki.fi
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29359: [PATCH] uvscan can't find libc.so.3
Message-ID:  <20010727113606.7E04F496EA@dhcp118.verkstad.net>

next in thread | raw e-mail | index | archive | help

>Number:         29359
>Category:       ports
>Synopsis:       [PATCH] uvscan can't find libc.so.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 01 01:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martti Kuparinen
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD dhcp118 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Thu Jul 26 19:42:27 CEST 2001 root@dhcp118:/usr/obj/usr/src/sys/KAYAK i386


>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

>Fix:

diff -ru /usr/ports/security/vscan/Makefile vscan/Makefile
--- /usr/ports/security/vscan/Makefile	Sat Apr 14 16:16:20 2001
+++ vscan/Makefile	Fri Jul 27 13:30:58 2001
@@ -37,5 +37,9 @@
 .for file in unxadmin.pdf license.txt
 	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/uvscan
 .endfor
+	@if [ ! -r /usr/lib/libc.so.3 -a /usr/lib/libc.so.4 ]; then \
+		${ECHO} "Creating symlink ${LN} -fs libc.so.4 libc.so.3" ;\
+		(cd /usr/lib && ${LN} -fs libc.so.4 libc.so.3) ;\
+	fi
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010727113606.7E04F496EA>