On Sat, Feb 04, 2006 at 04:20:20PM -0500, Jason Dixon wrote: > On Feb 4, 2006, at 3:48 PM, steven mestdagh wrote: > > >On Sat, Feb 04, 2006 at 10:48:53AM -0500, Jason Dixon wrote: > >>Here's a perfect example of what I'm talking about. I uninstalled > >>php4, libiconv, gettext, etc., and tried to install php5 instead. > >> > >># pkg_add php5-core-5.0.4p0 > >>php5-core-5.0.4p0:libiconv-1.9.2p1: complete > >>php5-core-5.0.4p0:gettext-0.10.40p3: complete > >>/usr/local/bin/xmlcatalog: can't load library 'libiconv.so. > >>4.0'*********************************************| 100% > >>php5-core-5.0.4p0:libxml-2.6.16p5: complete > >>php5-core-5.0.4p0: complete > >>--- libxml-2.6.16p5 ------------------- > >>system(/bin/sh, -c, /usr/local/bin/xmlcatalog --create --noout /var/ > >>db/xmlcatalog) failed: 1024 > >><snip> > > > >and you do have /usr/local/lib/libiconv.so.4.0, right? if so, then > >is your > >library search path perhaps broken? > > # ls -l /usr/local/lib/libiconv.* > -rw-r--r-- 1 root bin 998520 Sep 2 12:38 /usr/local/lib/libiconv.a > -r--r--r-- 1 root bin 780 Sep 2 12:38 /usr/local/lib/libiconv.la > -r--r--r-- 1 root bin 1005390 Sep 2 12:38 /usr/local/lib/ > libiconv.so.4.0 > > Yeah, it turned out to be something with my library search path. I > haven't had to fiddle with that since, well... a really long time. > I'm not sure how it got all out of whack. I have another web/ > mailserver with a ton of packages installed and no customization to > shlib_dirs or LD_LIBRARY_PATH at all. I've gone ahead and set > LD_LIBRARY_PATH for now, and set shlib_dirs in my rc.conf.local for > the next reboot.
this could be a problem with the libiconv port. this looks fishy: $ objdump -p /usr/local/bin/iconv | grep RPATH RPATH /home/portobj/libiconv-1.9.2p3/fake-amd64/usr/local/lib $ however, xmlcatalog looks OK. $ objdump -p /usr/local/bin/xmlcatalog | grep RPATH RPATH /usr/local/lib $ this is on -current. -- <[EMAIL PROTECTED]>
