[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redhat 4.1 & Swarm compiling
From: |
Mattias V. Bertelsen |
Subject: |
Re: Redhat 4.1 & Swarm compiling |
Date: |
Mon, 17 Feb 1997 19:13:40 -0600 (CST) |
Ooh, goody! Something I know about!
Add -ldl to your complile command. Most Tcl/Tk distributions enable
dynamic loading of object files, which requires libdl.
Mattias
On Mon, 17 Feb 1997, Kyle Chuang wrote:
> Hi,
> I've been trying to compile swarm 1.0.0 on a Redhat 4.1 with
> libtclobjc compiled. I was unable to compile BLT 2.1. However, I do have
> BLT 1.9 installed. I successfully compile Swarm binaries. I am, however,
> having problems compile the applications. Note: to get swarm compiled,
> I symbolically linked libtclx.so -> libtclx.so.76.0 and linked libtcl.so
> -> libtcl7.6.so.
>
> Please help. Need to get swarm up quickly.
>
> Kyle
>
> Here's the result:
>
> Script started on Mon Feb 17 19:46:04 1997
> address@hidden market]# make
> gcc -g -L/root/swarm/lib -L/usr/X11R6/lib -o market agents.o forecast.o
> history.o Market.o main.o MarketModelSwarm.o MarketObserverSwarm.o
> -lanalysis -lsimtools -ltkobjc -lactivity -lrandom -lswarmobject
> -lcollections -ldefobj -ltclobjc -lBLT -ltk -ltcl
> -lXpm -lobjc -lX11 -lm
> /usr/lib/libtcl.so: undefined reference to `dlerror'
> /usr/lib/libtcl.so: undefined reference to `dlopen'
> /usr/lib/libtcl.so: undefined reference to `dlsym'
> make: *** [market] Error 1
> address@hidden market]# exit
> exit
>
> Script done on Mon Feb 17 19:46:09 1997
>
>