This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ilu linking error


"Michael T. Grinder" <grinder@imt.net> writes:

> I've been trying to compile ilu-2.0alpha13 with guile-1.3. I had to
> make a few changes in ilu's runtime/guile/ilu-type.c for changes between
> guile-1.2 and guile-1.3 but everything compiles OK. When it gets to
> the linking stage though, I get the following error:
> 
> /usr/bin/cc -fpic -g -I. -I../kernel -I/usr/local/include
> -I/usr/local/include/libguile         -o iluguile  iluguile.o 
> libilu-guile.a ../kernel/libilu.a  -L/usr/local/lib -lguile           
> -lm -lpthread
>
> /usr/local/lib/libguile.so: undefined reference to `dlerror'
> /usr/local/lib/libguile.so: undefined reference to `dlclose'
> /usr/local/lib/libguile.so: undefined reference to `dlopen'
> /usr/local/lib/libguile.so: undefined reference to `dlsym'

There needs to be a -ldl in there, as well.
 

-- 
Greg