Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

xthe cannot load libXCurses.dylib

Help
2006-06-04
2013-04-25
  • Date/Time:      2006-06-04 19:08:56.106 -0400
    OS Version:     10.4.6 (Build 8I127)
    Report Version: 4

    Command: xthe
    Path:    /usr/local/bin/xthe
    Parent:  make [22697]

    Version: ??? (???)

    PID:    22793
    Thread: Unknown

    Link (dyld) error:

    Library not loaded: libXCurses.dylib
      Referenced from: /usr/local/bin/xthe
      Reason: image not found
    Model: PowerMac7,2, BootROM 5.1.2f2, 2 processors, PowerPC 970  (2.2), 1.8 GHz, 2 GB

    OS X 10.4.6, PowerMac G5

    PDCurses was built with the following configuration:
    ./configure --prefix=/usr/X11R6 --exec-prefix=/usr/X11R6

    THE was built with the following configuration:
    ./configure --prefix=/usr/local/ --exec-prefix=/usr/local --with-xcurses --with-rexxincdir=/usr/local/include/ --with-rexxlibdir=/usr/local/lib/ --with-rexx=regina --with-cursesincdir=/usr/X11R6/include/  --with-curseslibdir=/usr/X11R6/lib/

    When completing the make of THE, 'make combined' failed to load libXCurses.dylib which was installed in /usr/X11R6/lib/

    Douglas-Godfreys-G5:$ make combined
    rm -fr doc/combined/*.html doc/combined/*.man doc/combined/comm/* doc/combined/commsos/* doc/combined/commset/* doc/combined/misc/*
    cp ./images/the64.png doc/combined
    rexx ./makehtml.rex src=. ext=.html ver="3.2" dest=doc/combined doc=./doc \         overview=./overview  \         comm=./comm1.c ./comm2.c ./comm3.c ./comm4.c ./comm5.c      \         commset=./commset1.c ./commset2.c   \         commsos=./commsos.c   \         query=./query.c     \         glossary=./glossary  \         appendix1=./appendix.1 \         appendix2=./appendix.2 \         appendix3=./appendix.3 \         appendix4=./appendix.4 \         appendix7=./appendix.7
    xthe -w 15000 -b -p ./doc/preparecomb.the \         doc/combined/index.html \         doc/combined/overview.html \         doc/combined/comm.html \         doc/combined/commset.html \         doc/combined/commsos.html \         doc/combined/query.html \         doc/combined/glossary.html \         doc/combined/app1.html \         doc/combined/app2.html \         doc/combined/app3.html \         doc/combined/app4.html \         doc/combined/app5.html \         doc/combined/app6.html \         doc/combined/app7.html \         doc/combined/history.html \         doc/combined/quickref.html \         doc/combined/fdl.html
    dyld: Library not loaded: libXCurses.dylib
      Referenced from: /usr/local/bin/xthe
      Reason: image not found
    make: *** [combined] Trace/BPT trap

     
    • So... did you check that /usr/X11R6/lib/libXCurses.dylib is actually there?

      I just did a test build, and "sudo make install" didn't work -- it just said  "make: 'install' is up to date." I fixed this by adding a second colon to the "install:" line. Thanks for reporting it.

       
    • P.S. The reason this happens is that HFS+, unlike a typical Unix filesystem, is case-preserving rather than case-sensitive; and there's already a file called "INSTALL" in that directory, which on a Mac thus becomes equivalent to "install".

       
    • Please let me know whether or not this resolved your problem.