Compiling Siag is driving me nuts

I really want to try out Siag on my ancient little laptop, but it’s turning into a real bear.

The strange part is, I can get all the dependencies into place, compile all the support libraries and even Siag Office itself, but the resulting binaries claim they can’t find the libraries they want. If I go looking for them I can find them, so I know they’re installed, but Siag can’t see them.

On a hunch I tried modifying my PATH to include the location of the libraries, but that didn’t seem to help. It was just an idea.

Anyways, here’s what I was doing. See if you can get it working, and if you can, help me out. First I installed these dependencies.

sudo aptitude install build-essential checkinstall libxaw7-dev libxmu-dev libxmp-dev libncurses5-dev

(In retrospect, I don’t know if libxaw7-dev is the right version to install, but there were no errors, and the libxaw6 page suggests it’s out of date, and should not be used.)

Then I downloaded the mowitz, nextaw, xawm and siag source files from the Siag Web site. I compiled nextaw first, using checkinstall to make a deb package. Then I compiled xawm and finally mowitz, finishing with siag itself.

No errors, but the application says it’s missing a library — libMowitz. Try it for yourself and see if it complains to you too. Cheers and thanks in advance.

Edit: For reference. …

kmandla@sotec:~$ ldd /usr/local/bin/siag
        linux-gate.so.1 =>  (0xffffe000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f54000)
        libXpm.so.4 => /usr/lib/libXpm.so.4 (0xb7f44000)
        libMowitz.so.0 => not found
        libneXtaw.so.0 => not found
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb7f2d000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7f1f000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb7ece000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7ddc000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7dd3000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb7dbb000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7da5000)
        libm.so.6 => /lib/libm.so.6 (0xb7d7f000)
        libc.so.6 => /lib/libc.so.6 (0xb7c53000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7c4f000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7c4a000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7c46000)
        /lib/ld-linux.so.2 (0xb7f88000)

And yet. …


kmandla@sotec:~$ whereis libneXtaw
libneXtaw: /usr/local/lib/libneXtaw.a /usr/local/lib/libneXtaw.la /usr/local/lib/libneXtaw.so
kmandla@sotec:~$ ls /usr/local/lib/
libMowitz.a         libneXtaw.la         libXawM.so        stXXXX80RBht
libMowitz.la        libneXtaw.so         libXawM.so.1      stXXXX9l1h4N
libMowitz.so        libneXtaw.so.0       libXawM.so.1.0.0  stXXXXZA2mVl
libMowitz.so.0      libneXtaw.so.0.15.1  python2.5
libMowitz.so.0.3.1  libXawM.a            siag
libneXtaw.a         libXawM.la           site_ruby

So is there a way to point the binary at the library? I wonder. …

8 Responses to “Compiling Siag is driving me nuts”


  1. 1 xanthus September 19, 2007 at 10:54 pm

    Did you try runnning ldd to see where binaries are looking for the libraries?

  2. 2 K.Mandla September 19, 2007 at 11:31 pm

    DOH! :oops:

  3. 3 ravenaceous September 26, 2007 at 4:37 am

    I had this same problem. I have tried on both my machine at work (CentOS) and my laptop (ubuntu 7.04). I tried setting various options in configure of both mowitz and siag, but to no avail. I also added things to my PATH and LD_LIBRARY_PATH, nothing. I placed links in places where I though it might be looking that pointed at /usr/local/lib, but still nothing.

    Did you find a solution in the end?

    Regards.

  4. 4 K.Mandla September 26, 2007 at 8:22 am

    No, I never did. I don’t know if there’s some sort of inconsistency with the source files, or if I have a version mismatch or something, but I couldn’t find any combination that yielded a working application.

    It was disappointing because I found other sites that claimed to have compiled it under Feisty, and got it to work. But I couldn’t make it play. :(

  5. 5 Christian January 25, 2008 at 5:07 am

    Moin,

    the solution is to set a symbolic link to the library:

    ln -s /usr/local/lib/libMowitz.so.0.3.1 /usr/lib/libMowitz.so.0

    That works.

    Regards,
    Christian

  6. 6 K.Mandla January 25, 2008 at 9:56 am

    Thanks Christian. I’ll give this a try again; I’m interested to see how it behaves. :D

  7. 7 zmjjmz June 14, 2008 at 1:51 pm

    Hey, I got it to work on Hardy by grabbing the rpm from their site and compiling libXawM (they have the sources on their site).
    I then moved libXawM.so.1 from /usr/local/lib to /usr/lib/
    It’s an older version (3.4.9 I believe), but hey, it works.

  1. 1 Converting Kazehakase 0.4.8 from RPM « Motho ke motho ka botho Trackback on September 20, 2007 at 10:52 am

Leave a Reply




Welcome!

Most recent desktops


September 2, 2008
IceWM-lite on Ubuntu 8.0.4.1
1Ghz Pentium III 512Mb PC133


August 14, 2008
Openbox 3.4.7.2 on Arch Linux
750Mhz Celeron 128Mb PC100


August 27, 2008
Openbox 3.4.7.2 on Crux Linux
550Mhz Celeron 192Mb PC100


June 22, 2008
IceWM 1.2.35 on Arch Linux
OLPC XO-1

Most recent game


StellaX 2.6.1 on Crux Linux
1Ghz Pentium III 512Mb PC133

Be counted!

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blogs worth watching

Ubuntu Feeds

RSS Planet Ubuntu Users

  • An error has occurred; the feed is probably down. Try again later.

Blog Stats

  • 749,012 hits

Categories