Gap4 error and FreeBSD

  • Nobody/Anonymous

    This is the usual problem starting up gap4 and it complaining about lib/libg2c. Trouble is there is a library of that name in the right location.
    Any suggestions?
    Here is the debug output, followed by a lib/ listing:
    109 >gap4
    load => couldn't load file "": /usr/lib/ ELF file OS ABI invalid
    load =>
    load =>
    load => couldn't load file "": cannot open shared object file: No such file or directory
    load =>
    load =>
    load =>
    load =>
    load => couldn't load file "": /usr/lib/ ELF file OS ABI invalid
    load => couldn't load file "": /usr/lib/ ELF file OS ABI invalid
    invalid command name "load_alignment_matrix"
        while executing
    "load_alignment_matrix       [keylget gap_defs ALIGNMENT.MATRIX_FILE]"
        (file "/usr/local/share/staden-linux-1-6-0/linux-bin/../lib/gap/gap.tcl" line 683)

    101 >ls /usr/lib/libg*
    /usr/lib/libg2c.a         /usr/lib/libgcc_p.a       /usr/lib/libgnuregex.a    /usr/lib/libgssapi.a
    /usr/lib/        /usr/lib/libgcc_pic.a     /usr/lib/   /usr/lib/
    /usr/lib/      /usr/lib/libgcov.a        /usr/lib/ /usr/lib/
    /usr/lib/      /usr/lib/libgeom.a        /usr/lib/libgnuregex_p.a  /usr/lib/libgssapi_p.a
    /usr/lib/libg2c_p.a       /usr/lib/       /usr/lib/libgpib.a
    /usr/lib/libgcc.a         /usr/lib/libgeom_p.a      /usr/lib/

    • Nobody/Anonymous

      I did  a google search for that error message and the hits refer to mixing up linux libraries with BSD binaries - you can't do it.

    • James Bonfield

      James Bonfield - 2006-05-19

      In that case maybe install a linux version of the somewhere earlier in your LD_LIBRARY_PATH for gap4 to spot; maybe in $STADENROOT/lib/linux-binaries would work.


    • Nobody/Anonymous

      Sound advice!
      Installed the FreeBSD port lang/linux-libg2c in /usr/local/share/staden-linux-1-6-0/linux-libg2c/, put that in the LD_LIBRARY_PATH and presto!
      Just as well as my Windows Staden has just started hanging with Wish exceptions for no obvious reasons.
      Hurrah for the Penguins!


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks