I downloaded the xemacs package from ftp.freebsd.org. I installed all the other packages it depends on. It still fails when I run it: ld.so failed: Can't find shared library "libXm.so.1.2" Exit 1 Here is the ldd output: miles:~> ldd /usr/local/bin/xemacs /usr/local/bin/xemacs: -lXm.1 => not found (0x0) -lpng.2 => /usr/local/lib/libpng.so.2.1 (0x20129000) -lz.2 => /usr/lib/libz.so.2.0 (0x20140000) -lm.2 => /usr/lib/libm.so.2.0 (0x2014c000) -ljpeg.9 => /usr/local/lib/libjpeg.so.9.0 (0x20166000) -lXpm.4 => /usr/X11R6/lib/libXpm.so.4.11 (0x20182000) -lXmu.6 => /usr/X11R6/lib/libXmu.so.6.0 (0x2018f000) -lXt.6 => /usr/X11R6/lib/libXt.so.6.0 (0x2019e000) -lX11.6 => /usr/X11R6/lib/libX11.so.6.1 (0x201da000) -lXext.6 => /usr/X11R6/lib/libXext.so.6.3 (0x2026b000) -lSM.6 => /usr/X11R6/lib/libSM.so.6.0 (0x20274000) -lICE.6 => /usr/X11R6/lib/libICE.so.6.3 (0x2027c000) -ltermcap.2 => /usr/lib/libtermcap.so.2.1 (0x2028d000) -lkvm.2 => /usr/lib/libkvm.so.2.0 (0x20291000) -lutil.2 => /usr/lib/libutil.so.2.2 (0x20295000) -lxpg4.2 => /usr/lib/libxpg4.so.2.0 (0x2029b000) -lc.3 => /usr/lib/libc.so.3.1 (0x2029e000) This should be fixed by rebuilding xemacs without motif. How-To-Repeat: Easily. Download the package and run xemacs.
> Problem Report ports/6902 > > xemacs package broken (motif dependency) [...] > Description > > >I downloaded the xemacs package from ftp.freebsd.org. I installed >all the other packages it depends on. It still fails when I run it: > >ld.so failed: Can't find shared library "libXm.so.1.2" This was supposedly fixed in r.1.16 of xemacs/Makefile by asami. Maybe he accidentally built packages with some abnormal environment one day and you just happened to grab the package at a bad time. Could you be so troubled as to try again? It's _supposed_ to work... Please remember to respond to this as soon as possible so that we can investigate further or close the PR as appropriate.
Responsible Changed From-To: freebsd-ports->me me is the maintainer of xemacs
State Changed From-To: open->closed There is now a check for PACKAGE_BUILDING, in which case MOTIF is not used. This change was actually made a long time ago, but the PR was never closed.