Bug 87577 - Need to auto update /compat/linux/etc/ld.so.conf, execute /compat/linux/sbin/ldconfig
Summary: Need to auto update /compat/linux/etc/ld.so.conf, execute /compat/linux/sbin/...
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: Trevor Johnson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 19:20 UTC by Bruce Burden
Modified: 2005-10-20 04:45 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 Bruce Burden 2005-10-17 19:20:18 UTC
              -bash-2.05b# mtv
mtv: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
-bash-2.05b# acroread7
/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Reader/intellinux/bin/acroread: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory


This happens on installation of:

linux_base-rh-9 
linux-XFree86-libs-4.3.99.902_3
mtv-1.2.5_2
acroread7-7.0.1

Fix: 

I added:

/usr/X11R6/lib

to the file

/compat/linux/etc/ld.so.conf

and then executed:

/compat/linux/sbin/ldconfig
How-To-Repeat: I installed 5.4 from CD, installed cvsup-without-gui from ports, installed portupgrade from ports, ran portugrade to upgrade installed ports, then installed linux_base-rh-9 and other ports from above.

Doing below solved problem with mtv, still have problems with acroread7 and GdkPixbuf, but that is another story.
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2005-10-18 12:13:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-emulators

Over to the emulation-crew
Comment 2 Volker Stolz freebsd_committer freebsd_triage 2005-10-18 12:21:00 UTC
Responsible Changed
From-To: freebsd-emulators->freebsd-emulation

Fix.
Comment 3 Volker Stolz freebsd_committer freebsd_triage 2005-10-19 12:56:52 UTC
Responsible Changed
From-To: freebsd-emulation->trevor

netchild@ suggested that trevor would be the right contact
Comment 4 Trevor Johnson freebsd_committer freebsd_triage 2005-10-20 04:44:24 UTC
State Changed
From-To: open->closed

duplicate of PR 85254