Old distribution (linux_base -- rh-7) used to have line "/usr/X11R6/lib" at etc/ld.so.conf. But rh-9 distribution does not have it. Hence, after upgrading some programms (ie Acrobat Reader) does not find the needed libraries. Fix: The patch should be applied at /usr/ports/emulators/linux_base-rh-9 directory. WBR -- bsam--Ej855kAZ9LcJBBgUfpF7mprtex78EkR12GqAHzASECbeVpsX Content-Type: text/plain; name="patch.linux" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch.linux" --- Makefile.orig Tue Aug 23 21:04:03 2005 +++ Makefile Tue Aug 23 21:23:29 2005 @@ -8,6 +8,7 @@ PORTNAME= linux_base-rh PORTVERSION= 9 +PORTREVISION= 1 CATEGORIES= emulators linux MASTER_SITES= ${MASTER_SITE_REDHAT_LINUX} \ ${MASTER_SITE_REDHAT_LINUX:S/$/:new/} @@ -138,6 +139,9 @@ done @${LN} -sf /var/tmp ${WRKSRC}/usr/tmp +post-patch: + ${ECHO} "/usr/X11R6/lib" >> ${WRKSRC}/etc/ld.so.conf + pre-install: ${RM} -f ${PLIST} cd ${WRKSRC} && ${FIND} -s . -type f -o -type l | \ @@ -149,6 +153,7 @@ ${FIND} ${PREFIX} -type d -exec ${CHMOD} 755 \{\} \; post-install: + ${PREFIX}/sbin/ldconfig @${ECHO} '' @fmt ${PKGMESSAGE} @${ECHO} '' How-To-Repeat: Try to install emulators/linux_base-rh-9 and run linux program which is using X libs.
Responsible Changed From-To: freebsd-ports-bugs->trevor Over to maintainer.
State Changed From-To: open->analyzed When I wrote the linux-Xfree86-libs port, it made the necessary changs to ld.so.conf. However netchild decided to redesign that port, so that it no longer did that. This caused the breakage you found. It affects all the Linux base ports that previously could work with the linux-Xfree86-libs port, While your solution seems okay, I think it would be simpler to just revert the changes to the linux-Xfree86-libs port.
Responsible Changed From-To: trevor->freebsd-ports-bugs Back to the pool: maintainer reset
State Changed From-To: analyzed->closed Since I was a submitter, I request to close the PR since it useless nowadays. And now I'm closing it. ;-)