On Sunday 17 April 2005 15:28, Herbert Valerio Riedel wrote:
> On Sun, 2005-04-17 at 15:06 -0600, Wesley J. Landaker wrote:
> > On Sunday 17 April 2005 08:29, Herbert Valerio Riedel wrote:
> > > (seems as if libdl.so isn't linked in...)
> >
> > On your system, what is in your grt.lst? Try running the following
> > command:
> >
> >    find /usr/lib/ghdl/lib -name "grt.lst" -exec cat {} \;
>
> well... the -static linker argument looks a bit suspicious too.... (and
> triggers ugly warnings when linking against libdl :-)
>
> $ cat /usr/lib/ghdl/lib/gcc/powerpc-linux/3.4.4/vhdl/lib/grt.lst
> @/libgrt.a
> -lpthread
> -L./
> -L/usr/lib/gcc/powerpc-linux/3.4.4/adalib/
> -static
> -lgnat

Ick! How the heck did -static get in there, I wonder? Well, I'll look into 
this.

> > If -ldl is missing, that would explain the error you reported. The
> > quick fix, in that case, may be just to add it there manually. I'd have
> > to work a bit on a real fix, however, since this list is autogenerated
> > by the GHDL build system, which is slightly black magic to me.
>
> removing -static and adding -ldl did the trick...

Glad it works! I'll try to get a permenant fix for this in the next package 
upload.

-- 
Wesley J. Landaker <[EMAIL PROTECTED]>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Attachment: pgpzRSzKI7l66.pgp
Description: PGP signature

Reply via email to