XEmacs compile - Why can I find libtermcap.a but ld can't?
![](https://seccdn.libravatar.org/avatar/03f977b763487de21403593533d8ee18.jpg?s=120&d=mm&r=g)
After every shot in the dark attempt I could think of for getting XEmacs to compile on my system, I decided to look further into the error in the config.log: int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__dlerror) || defined (__stub____dlerror) choke me #else _dlerror(); #endif ; return 0; } configure:14455: gcc -o conftest -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wshadow -I/usr/X11/include -L/usr/X11/lib conftest.c -lXmu -lXt -lXext -lX11 -lSM -lICE -ltermcap -lcurses -lm -lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool -lgcc -lc -lgcc /usr/lib/crtn.o 1>&5 /usr/i486-suse-linux/bin/ld: cannot find -ltermcap collect2: ld returned 1 exit status configure: failed program was: #line 14451 "configure" #include "confdefs.h" int main(int c,char *v[]){return 0;} This seems to be telling me that ld cannot find termcap which is actually libtermcap.a when expanded on the basis of the -l. libtermcap.a is certainly on the system. It's located in /usr/lib/termcap which I explicity put in /etc/ld.so.conf just for kicks. No matter what I do, I get this error. I get this with the SuSE provided SRPM as well as with the source I downloaded. There seems to be a bug in either ld or libtermcap.a. Has anybody else attempted to compile XEmace or anyting else that has generated an error similar to this? TIA, Steve
participants (1)
-
Steven T. Hatton