Bug 92163 - linux-XFree86-libs-4.3.99.902_6 symlinks problem
Summary: linux-XFree86-libs-4.3.99.902_6 symlinks problem
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: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-22 17:40 UTC by Jonathan Heaney
Modified: 2006-01-24 19:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Heaney 2006-01-22 17:40:03 UTC
When linux compatibility service starts at boot, /compat/linux/sbin/ldconfig complains about various files in /compat/linux/usr/X11R6/lib not being symlinks.

This happened after upgrading linux-XFree86-libs-4.3.99.902_5 -> linux-XFree86-libs-4.3.99.902_6.

The files it complains about are-

libxkbui.so.1
libxkbfile.so.1
libfontenc.so.1
libXvMC.so.1
libXss.so.1
libXinerama.so.1
libXRes.so.1
libGLw.so.1
libFS.so.6

Uninstalled linux-XFree86-libs and linux_base-8, re-installed (linux_base-8 port has subsequently been upgraded, with no change) both ports, no change.

I'm not sure whether this is just a minor warning issue or whether it creates a genuine problem.

Fix: 

I don't know how good this fix is, but at the very least it suppresses the warnings at boot.

Manually create symlinks in /compat/linux/usr/X11R6/lib, specifically-

cd /compat/linux/usr/X11R6/lib
ln -s libxkbui.so.1.0 libxkbui.so.1
ln -s libxkbfile.so.1.0 libxkbfile.so.1
ln -s libfontenc.so.1.0 libfontenc.so.1
ln -s libXvMC.so.1.0 libXvMC.so.1
ln -s libXss.so.1.0 libXss.so.1
ln -s libXinerama.so.1.0 libXinerama.so.1
ln -s libXRes.so.1.0 libXRes.so.1
ln -s libGLw.so.1.0 libGLw.so.1
ln -s libFS.so.6.0 libFS.so.6
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2006-01-22 20:07:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-emulation

Over to maintainers of x11/linux-XFree86-libs.
Comment 2 mhjacks 2006-01-23 01:51:55 UTC
I saw the same problem on 6.0-RELEASE.

A slightly cleaner (IMO) solution is to run the linux ldconfig in 
/compat/linux/usr/X11R6/lib:

cd /compat/linux/usr/X11R6/lib;
/compat/linux/sbin/ldconfig -v .

This should create all of the needed symlinks; I was at least able to 
successfully make package; after I did that.

Thanks,
Marty
Comment 3 Alexander Leidinger freebsd_committer freebsd_triage 2006-01-24 19:21:57 UTC
State Changed
From-To: open->closed

This should be fixed now. Please update your Ports Collection and 
update linux_base-8 and linux-XFree86-libs to at least PORTREVISION 
12 and 7.