Re: Can't get Perl5.004.04 to compile on Bo
Do you have the libc5-dev package? I think the dl library is found
there.
Dennis
--
Dennis Kelly <dpk@egr.msu.edu> | phone: 353.4844
Network Admin, College of Engineering, MSU | pager: 222.5875
On Sun, 21 Jun 1998, Christopher Fury wrote:
> I'm trying to compile perl5.004.04 on my debian 1.3 system... when I
> run the configure script I get a problem when it trys to link with the
> dl library (libdl). libdl is in /lib... I don't see any other
> packages (I did install dld, though I don't know if it's necessary,
> it's not very descriptive)
>
> Anybody have this compiled? Anybody know what I'm doing wrong/missing?
>
> Here's the [condensed] version of sh Configure -d in the perl directory.
>
> [...]
> Checking for optional libraries...
> [...]
> Found -ldb (shared).
> [...]
>
> Any additional libraries? [-lndbm -lgdbm -ldbm -ldb -ldl -ldld -lm -lc]
> [...]
>
> Checking your choice of C compiler, libs, and flags for coherency...
> I've tried to compile and run a simple program with:
>
> cc -O2 -Dbool=char -DHAS_BOOL -I/usr/local/include
> -L/usr/local/lib -o try try.c -lndbm -lgdbm -ldbm -ldb -ldl -ldld -lm
> -lc
> ./try
>
> and I got the following output:
>
> ld: cannot open -ldl: No such file or directory
> I can't compile the test program.
> (The supplied flags might be incorrect with this C compiler.)
>
> You have a BIG problem. Shall I abort Configure (and explain the
> problem)
> [y]
> Ok. Stopping Configure.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: