[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: bizarre static make gcl-tk problem

From: Camm Maguire
Subject: [Gcl-devel] Re: bizarre static make gcl-tk problem
Date: 02 Mar 2006 19:03:30 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  This appears to be because you have no libtk8.3.a, only a
libtk8.3.so in your LIBRARY_PATH (or default library path).  True?  On
Debian, both libs are installed in the same package.

As gcltkaux is run externally to GCL, dynamic linking should be fine.
Will look into the strange error you report separately in replying to
your other email.

Take care,

Robert Boyer <address@hidden> writes:

> Whenever I do a build of gcl 2.7.0 static, I get an error about here:
>    gcc guis.o tkAppInit.o tkMain.o -o gcltkaux  -L/lusr/lib -ltk8.3 
> -L/v/antivenin/v1/CVSBUILD/tk_tcl/tk/unix -ltk8.3 -L/lusr/X11R6/lib -lX11 
> -I/lusr/X11R6/include -L/lusr/lib -ltcl8.3 -ldl  -lm  -Wl,-zmuldefs   -lm 
> ../o/gcllib.a
>    /usr/bin/ld: cannot find -ltk8.3
>    collect2: ld returned 1 exit status
> I have scratched my head for a long time over this without any luck.
> Bizarrely, if I delete the "-lgclp -static", then the gcc command goes
> through apparently ok, and other stuff in the make of gcl-tk finished too.
> (Then after the make, I'm stuck at the "t 5016 2413 localhost:13.0
> "sh: t: command not found problem that I mentioned yesterday.)
> Since I am trying to make a static image, deleting "static" is probably
> screwing things up.
> Bob

Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]