Running programs that need motif failed with "error while loading shared libraries: libMrm.so.3: cannot open shared object file: No such file or directory". Reproducible: Always Steps to Reproduce: 1. emerge openmotif 2. hellomotif Actual Results: hamilton@hamilton hamilton $ hellomotif hellomotif: error while loading shared libraries: libMrm.so.3: cannot open shared object file: No such file or directory Expected Results: Show motif window.
It appears some files are missing... specifically /usr/X11R6/lib/libMrm.so.* Re-emerge openmotif... I get a different problem running openmotif which I am still looking into though.
i'll take a further look into this one can you tell me which version of openmotif you are using, try re-emerging and if that doesn't work, please paste the output of "emerge info"
Trying to re-emerge produced this: ... mkdir .libs gcc -march=pentium4 -O3 -pipe -Wall -Wno-unused -Wno-comment -o .libs/xmanimate xmanimate.o ../../lib/Xmd/libXmd.a ../../../lib/Mrm/.libs/libMrm.so /var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2.2.2/lib/Xm/.libs/libXm.so -L/usr/X11R6/lib ../../../lib/Xm/.libs/libXm.so -lXmu -lXt -lSM -lICE -lXext -lXp -lX11 -Wl,--rpath -Wl,/usr/X11R6/lib creating xmanimate ../../../clients/uil/uil -o dog.uid dog.uil -I./../../../clients/uil -I../../../clients/uil Error: $LANG contains an unknown character set Info: no UID file was produced Info: errors: 1 warnings: 0 informationals: 1 make[3]: *** [dog.uid] Error 1 make[3]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2.2.2/demos/programs/animate' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2.2.2/demos/programs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2.2.2/demos' make: *** [all-recursive] Error 1 !!! ERROR: x11-libs/openmotif-2.2.2-r1 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! make failed emerge info: Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz GENTOO_MIRRORS="ftp://einstein/pub/linux/distributions/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tetex svga tcltk java mysql X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis motif opengl ldap cdr acpi gtk gtk2 kde mbox qt -gnome -maildir" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" Thanks.
what is your LANG set to? The error implies there is a problem with your environment. try just doing LANG=C emerge openmotif
any lucky Hamilton?
Sorry for taking so long to respond you. First I tried 'unset LANG; emerge openmotif' and it failed with the same error -- because I set LANG in env.d, I guess. But then I tried as you suggested and it worked. Thanks.
thanks. i've added a workaround in the ebuild so you shouldn't come across that error with this ebuild again.
*** Bug 16726 has been marked as a duplicate of this bug. ***
Problem still exists (seen with openmotif-2.3.2), reopening. Looks like "unset LANG" is not enough, the ebuild should assign "LANG=C" as suggested in comment #4.
*** Bug 309299 has been marked as a duplicate of this bug. ***
Fixed in openmotif-2.3.2-r2. No revbump since it's a build failure.