First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 200426
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andy Wang <dopey@moonteeth.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
uil uil binary from 32-bit openmotif build. application/octet-stream Andy Wang 2007-11-29 17:11 0000 309.53 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 200426 depends on: Show dependency tree
Bug 200426 blocks: 165270 208904 209912
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-26 18:53 0000
The openmotif libraries (libMrm.so, etc) installed by
app-emulation/emul-linux-x86-xlibs ends up in /usr/lib32/openmotif-2.2.

There isn't an LDPATH specified in /etc/env.d that includes
/usr/lib32/openmotif-2.2 so ld.so.conf doesn't contain that dir, and there's no
symlink in /usr/lib32 (or any other directory in ld.so.conf) to the motif
libraries.  I've worked around it temporarily by creating my own
/etc/env.d/99motif32 file.

------- Comment #1 From Mike Doty 2007-11-28 06:39:17 0000 -------
emul-linux-x86-xlibs-20071128 is in the tree, I think it will fix your issue,
but I don't what you're using to test.  please remove your env.d entry and
emerge this package.  reopen if still broken.

------- Comment #2 From Andy Wang 2007-11-29 17:11:46 0000 -------
Created an attachment (id=137324) [details]
uil binary from 32-bit openmotif build.

Still broken.  The motif libraries are still only in /usr/lib32/openmotif-2.2
and there's no LD_LIBRARY_PATH update to allow the linker to find the 32-bit
libs.

I use clearcase at work and the clearcase clients are motif based.  You could
also use a 32-bit application from openmotif (specifically uil, I've attached a
32-bit version for you to try).

Here's the ldd output without my env.d file:
        linux-gate.so.1 =>  (0xffffe000)
        libMrm.so.3 => not found
        libXm.so.3 => not found
        libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf7f45000)
        libXt.so.6 => /usr/lib32/libXt.so.6 (0xf7ef5000)
        libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7eea000)
        libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7ed2000)
        libXp.so.6 => /usr/lib32/libXp.so.6 (0xf7eca000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7ebb000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7dcf000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7dcb000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7dc4000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7dc0000)
        libc.so.6 => /lib32/libc.so.6 (0xf7c90000)
        /lib/ld-linux.so.2 (0xf7f8b000)

Here's the ldd output with my file in place:
wang@awang ~ $ ldd uil
        linux-gate.so.1 =>  (0xffffe000)
        libMrm.so.3 => /usr/lib32/openmotif-2.2/libMrm.so.3 (0xf7f75000)
        libXm.so.3 => /usr/lib32/openmotif-2.2/libXm.so.3 (0xf7d32000)
        libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf7d1c000)
        libXt.so.6 => /usr/lib32/libXt.so.6 (0xf7ccc000)
        libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7cc1000)
        libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7ca9000)
        libXp.so.6 => /usr/lib32/libXp.so.6 (0xf7ca1000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7c92000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7ba6000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7ba2000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7b9b000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7b97000)
        libc.so.6 => /lib32/libc.so.6 (0xf7a67000)
        /lib/ld-linux.so.2 (0xf7fc5000)

------- Comment #3 From Andy Wang 2007-11-29 17:12:15 0000 -------
reopening since it's still broken.

------- Comment #4 From Evildad 2007-11-30 07:44:52 0000 -------
It also breaks net-misc/icaclient-10.6

The following error appears with app-emulation/emul-linux-x86-xlibs-20071128-r1
installed:

#wfcmgr 
/opt/ICAClient/wfcmgr.bin: error while loading shared libraries: libXm.so.3:
wrong ELF class: ELFCLASS64

Downgrading to app-emulation/emul-linux-x86-xlibs-10.0 solves the problem for
me.
But this breaks dependencies with
app-emulation/emul-linux-x86-medialibs-20071114

Hope this can be solved

------- Comment #5 From Jakub Moc (RETIRED) 2007-12-05 12:20:36 0000 -------
*** Bug 201344 has been marked as a duplicate of this bug. ***

------- Comment #6 From Erik Quaeghebeur 2007-12-05 23:17:44 0000 -------
(In reply to comment #4)
> It also breaks net-misc/icaclient-10.6

I can confirm that, there is also a forum post:
<http://forums.gentoo.org/viewtopic-p-4574714.html#4574714>.

Please advise on a workaround until this is fixed.

------- Comment #7 From Olivier Crete 2007-12-05 23:45:08 0000 -------
Downgrading the emul packages is the workaround...

------- Comment #8 From Andy Wang 2007-12-06 05:59:15 0000 -------
For a workaround that doesn't require a downgrade read comment #1.
create /etc/env.d/99motif32 with the following one line:
LDPATH=/usr/lib32/openmotif-2.2

run env-update

This will add /usr/lib32/openmotif-2.2 to ld.so.conf thus allowing the linker
to find the motif libraries.

------- Comment #9 From Jakub Moc (RETIRED) 2008-02-23 15:52:29 0000 -------
amd64 folks, you might want to bump this thing to use openmotif-2.3.0-r1 which
installs to a sane location again. :)

------- Comment #10 From Ulrich Müller 2008-03-12 19:01:09 0000 -------
(In reply to comment #9)
> amd64 folks, you might want to bump this thing to use openmotif-2.3.0-r1 which
> installs to a sane location again. :)

+1

------- Comment #11 From Christian Faulhammer 2008-03-17 19:29:03 0000 -------
Can anyone check if the 20060316 version fixes this problem?

------- Comment #12 From Ulrich Müller 2008-03-17 19:38:31 0000 -------
(In reply to comment #11)
> Can anyone check if the 20060316 version fixes this problem?

s/2006/2008/

------- Comment #13 From Christian Faulhammer 2008-03-20 06:49:12 0000 -------
Thanks welp, your fix did it.  Please check out other bugs you might have fixed
with your emul-linux-x86-* bumps.

First Last Prev Next    No search results available      Search page      Enter new bug