Article View: news.software.nn
Article #8020nn-tk Linker can't find X11
From: Brad R
Date: Sun, 29 Sep 1996 00:00
Date: Sun, 29 Sep 1996 00:00
37 lines
1555 bytes
1555 bytes
I'm trying to build nn-tk, version 6.50 on a Linux machine. I believe
my libraries and gcc are reasonably up to date. nn seems to compile
ok but the linker exits with this message:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
....split.o tk.o -L/usr/lib -ltk4.0 -ltcl7.4 -lX11 -lm
-lcurses -ltermcap
ld: cannot open -lX11: No such file or directory
ls -l /usr/lib/X11
lrwxrwxrwx 1 root root 16 Sep 5 10:10 /usr/lib/X11 -> ../X11R6/lib/X11
I've grepped the source and Makefile and the only reference to X11 is in
config.h --
#define TKLIB -L/usr/lib
#define TKFLAG -ltk4.0 -ltcl7.4 -lX11 -lm
^^^^^
The tk4.0 and tcl7.4 directories are in /usr/lib as is the link
to X11.
I'm certainly in over my head here. I'm sure I've overlooked the
obvious but I'm really stumped.
Can any of you advise me? I'd appreciate responses by mail. I
read this group but only when my ISP allows me to and lately that
hasn't been too often. Sigh.
Thank you for your attention.
Brad
Technical Details
Message-ID:
<BRAD.96Sep29144121@nepenthe>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <BRAD.96Sep29144121@nepenthe> Subject: nn-tk Linker can't find X11 Date: Sun, 29 Sep 1996 00:00:00 +0000 From: brad@nepenthe (Brad R) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail X-Deja-AN: 187697788 Distribution: world Organization: Icanect Newsgroups: news.software.nn