#87 linkedit errors for textmode THE 3.2 & 3.3B1 on Linux

open
nobody
None
5
2006-12-11
2006-07-18
D.M.Wooster
No

FC3 Linux,
Source download was THE-3.2.tar.gz

Building the X version worked OK (but please update
the INSTALL file to say what minimum PDCurses level
is).

Building textmode version with:
# mkdir opt/src/THE-3.2/textmode
# cd /opt/src/THE-3.2/textmode
# ../configure --prefix=/opt --with-rexx=objrexx \ --with-htmlext=junk \ --with-rexxincdir=/opt/ooRexx
----------------------------------------------------------------------
----------------------------------------------------------------------
# make the 2>&1 | tee 20060718.makethe.DMWlog
This fails with linkedit errors:
----------------------------------------------------------------------
/usr/lib/librexxapi.so: undefined reference to
`dlerror'
/usr/lib/librexxapi.so: undefined reference to
`dlclose'
/usr/lib/librexxapi.so: undefined reference to
`dlopen'
/usr/lib/librexxapi.so: undefined reference to
`dlsym'
collect2: ld returned 1 exit status
make: *** [the] Error 1
----------------------------------------------------------------------
# man dlerror
States that -ldl is required when linking.
# rm -rf *
# ../configure --prefix=/opt --with-rexx=objrexx --with-htmlext=junk
\ --with-rexxincdir=/opt/ooRexx
----------------------------------------------------------------------
----------------------------------------------------------------------
# xthe Makefile
Changed line 39 from
LIBS = -lpthread
to
LIBS = -lpthread -ldl
# make the 2>&1 | tee 20060718.makethe.DMWlog
This worked.

I don't understand why the same error does not occur
on the xcurses version.

Discussion

  • D.M.Wooster

    D.M.Wooster - 2006-12-11

    Logged In: YES
    user_id=389721
    Originator: YES

    This problem also occurs on THE 3.3 beta 1. Same circumvention, except that the Makefile line to change is 38 instead of 39.

     
  • D.M.Wooster

    D.M.Wooster - 2006-12-11
    • summary: linkedit errors for textmode THE 3.2 on Linux --> linkedit errors for textmode THE 3.2 & 3.3B1 on Linux
     

Log in to post a comment.