On Fri, 6 Aug 2010 09:00:11 -0600 David Hardy <planetm...@gmail.com> wrote:
> Something is really screwy here...libfontconfig.so.* and libfreetype.* are > already there - and even copying them to /usr/lib doesn't help. ldconfig -m > doesn't help. ldconfig -r even lists it: > > 40:-lfontconfig.6.0 => /usr/lib/libfontconfig.so.6.0 > > and ldconfig -R /usr/X11R6/lib adds all the libs in that directory just > fine. > > but still: > > > /usr/local/libexec/symux: can't load library 'libfontconfig.so.6.0' > > I wonder if it can't load not because it can't find it, but for some other > reason - but I'd think it would give a different error. > > david > > On Thu, Aug 5, 2010 at 6:50 PM, <b...@compumundohypermegared.org> wrote: > > > Hi, > > > > Try ldconfig -m > > > > -m Merge the result of the scan of the directories given as > > arguments into the existing hints file. > > > > www.compumundohypermegared.org > > > > -----Original Message----- > > From: David Hardy <planetm...@gmail.com> > > Sender: owner-m...@openbsd.orgdate: Thu, 5 Aug 2010 15:30:18 > > To: <misc@openbsd.org> > > Subject: installing symux, can't load libraries > > > > I'm trying to install symux, and when I try and run it I get: > > > > /usr/local/libexec/symux: can't load library 'libfontconfig.so.6.0' > > > > i have installed xbase47.tgz (it wasn't installed originally), and the > > library is there in /usr/X11R6/lib and I have run 'ldconfig > > /usr/X11R6/lib'. > > I have also added that to shlib_dirs in rc.conf and rebooted. > > > > odd thing is if I run 'ldconfig /usr/X11R6/lib' and then try symux, I get > > "can't load library 'librrd.so.3.0'". If I run "ldconfig /usr/local/lib", I > > get the original "can't load library 'libfontconfig.so.6.0'" if I run > > "ldconfig /usr/X11R6/lib /usr/local/lib" i get "can't load library > > 'libfontconfig.so.6.0'". > > > > I know it's something simple, but I'm tearing my hear out with this. I'm > > thinking it has something to do wit the fact that I de-selected xbase47.tgz > > when I originally installed the OS. Any ideas? > > > > thanks > > > > david > I'm trying to remember and/or look into what I did a while back, when I first responded I didn't realise you had since installed xbase, sorry. Try running it with /bin/systrace -A in front and see if the created policy gives an insight. Maybe it wants libs in another place like the chroot or something. I'll look more closely at my setup and scripts if that doesn't throw any light on it.