# Need 64 bit Motif for Linux

**URL:** <https://boards.straightdope.com/t/need-64-bit-motif-for-linux/550878>\
**Category:** Factual Questions\
**Created:** [August 20, 2010, 3:36pm UTC](https://boards.straightdope.com/t/need-64-bit-motif-for-linux/550878 "2010-08-20T15:36:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZenBeam](https://avatars.discourse-cdn.com/v4/letter/z/3ab097/32.png) [@ZenBeam](https://boards.straightdope.com/u/ZenBeam)\
**Post date:** [August 20, 2010, 3:36pm UTC](https://boards.straightdope.com/t/need-64-bit-motif-for-linux/550878/1 "2010-08-20T15:36:31Z")

</div>

I have an old GUI code written in C that I need to compile, which links to X11/Motif. As in needs the headers, and needs to link to libraries. This will need to run on 64 bit Linux, either RedHat or Fedora (not sure which, hopefully they’re similar enough that it’s not important).

I tried downloading [OpenMotif](http://linux.softpedia.com/get/Desktop-Environment/Themes/OpenMotif-14944.shtml), but I don’t think it was 64 bits. Or maybe I just have to try harder to get it to work.

Anyway, what _should_ I use? Free to download would be best, but I can buy something if it doesn’t take too long to acquire. Also, preferably something I just unzip, untar and copy to the right directories.

Yeah, it’s clunky looking. No, it’s not going to be rewritten in any more modern graphical environment. Nope.

In case it helps, the relevant lines from the makefile are

XLIBPATH = -L/usr/X11R6/lib64  
XMLIBPATH = -L/usr/X11R6/lib64  
XINCLUDEPATH = -I/usr/X11R6/include  
XMINCLUDEPATH = -I/usr/X11R6/include  
LIBS = -L/usr/lib64 -lXm -lXt -lX11 -lm -lnsl

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![meflin](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@meflin](https://boards.straightdope.com/u/meflin)\
**Post date:** [August 20, 2010, 5:25pm UTC](https://boards.straightdope.com/t/need-64-bit-motif-for-linux/550878/2 "2010-08-20T17:25:06Z")

</div>

Fedora 13 includes openmotif for 64 bit

openmotif-clients.x86\_64 : Command line utilities for openmotif  
openmotif.i686 : Open Motif runtime libraries and executables  
openmotif.x86\_64 : Open Motif runtime libraries and executables  
openmotif-demos.x86\_64 : Open Motif example code and demo programs  
openmotif-devel.i686 : Open Motif development libraries and header files  
openmotif-devel.x86\_64 : Open Motif development libraries and header files  
openmotif-docs.noarch : Open Motif Additional Documentation  
openmotif-mwm.x86\_64 : Open Motif window manager  
Just install it with yum

RHEL/Centos only have 32 bit … but who cares since your old app is 32 bit anyway

Meflin
