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

Re: perl linked with gdbm?



>> "MH" == Marc Haber <Marc.Haber-lists@gmx.de> writes:

>> From the exim mailing list:
MH> |Perl keeps around the various compiler and library
MH> |options that are necessary for building Perl extensions. If "-lgdbm"
MH> |is included in there then Perl itself was compiled with "-lgdbm" and
MH> |I would expect that
MH> |    ldd /usr/bin/perl
MH> |would have a line showing a dependency on something like libgdbm.so.2.

MH> that is correct on my system.

MH> |I suppose it's possible that the Debian crowd messed up their Perl
MH> |build and linked statically against libgdbm.a when *they* built Perl
MH> |but that you don't have libgdbm.a installed on your system.

MH> Is that a bug in the perl package?

No. If it had been linked statically, then ldd wouldn't show it.

 ldd - print shared library dependencies

Install libgdbmg1-dev and compilation will work (at least there
shouldn't be a problem about gdbm any more).

Ciao,
	Martin


Reply to: