Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2002 06:26:13 -0500 (EST)
From:      Trevor Johnson <trevor@jpj.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/46092: ports/print/acroread on i386 needs Linux libc5
Message-ID:  <20021208055509.R10057-100000@blues.jpj.net>

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

>Number:         46092
>Category:       ports
>Synopsis:       ports/print/acroread on i386 needs Linux libc5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 08 03:30:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Trevor Johnson
>Release:        N/A
>Organization:
>Environment:
-CURRENT/i386
>Description:

This bug was discovered by Ronald F. Guilmette, who owns the monkeys.com
domain and uses the login "rfg" there.

>How-To-Repeat:

Install the acroread port and linux_base 7.1 together.  Try to run
acroread3.  It will fail with:

	ELF interpreter /compat/linux/lib/ld-linux.so.1 not found
	Abort trap

I tried a kludge:

	pushd /usr/compat/linux/lib/ && ln -s ld-2.2.4.so ld-linux.so.1

but received the error:

	/usr/local/Acrobat3/Reader/intellinux/bin/acroread: error while loading
	shared libraries: libm.so.5: cannot open shared object file: No such file
	or directory

>Fix:

One of the following:

- add libc 5 to linux_base 7.1
- retire the acroread port
- add to the acroread port an explicit dependency on
  linux_base-6 (patch follows)
- conditionally mark the acroread port/package broken
  if linux_base 7.1 is installed
- convince Adobe to release an updated 3.x version of
  Acrobat reader (cue flying pigs)

This probably only affects i386.  I don't have a working Alpha computer at
the moment and didn't feel like spending a lot of time on it.

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/print/acroread/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile	4 Nov 2002 22:22:38 -0000	1.24
+++ Makefile	8 Dec 2002 11:22:43 -0000
@@ -22,7 +22,7 @@
 MAINTAINER=	tg@FreeBSD.org

 .if ${ARCH} == "i386"
-USE_LINUX=	yes
+RUN_DEPENDS=	${LINUXBASE}lib/ld-linux.so.1:${PORTSDIR}/emulators/linux_base-6
 .elif ${ARCH} == "alpha"
 RUN_DEPENDS=	/compat/osf1/usr/shlib/libc.so:${PORTSDIR}/emulators/osf1_base
 .endif

>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?20021208055509.R10057-100000>