[linux-support] Perl Module mit nicht-standard Library Path

Markus Wernig markus at wernig.net
Sun Apr 25 17:47:25 CEST 2004


Hello again

Ich braeuchte mal wieder eure Hilfe:

Habe ein System, auf dem (fast) alles von Hand kompiliert ist, u.a.

Perl 5.8.2 in /usr/lib/perl5/5.8.2
BerkeleyDB in /usr/local/BerkeleyDB.4.1

Ich versuche, das Perl-Modul DB_File zu installieren, das die libdb.so
braucht (liegt in /usr/local/BerkeleyDB.4.1/lib, dieses ist sowohl im
LD_LIBRARY_PATH als auch in ld.config enthalten).

# perl Makefile.PL wirft aber die Warnung "Note (probably harmless): No
library found for -ldb". # make funktioniert, aber # make test geht in
die Hose: "[...]symbol db_version: referenced symbol not found[...]"

Wie zu erwarten, findet der ld die libdb.so nicht. Jetzt die Frage: Wie
kann ich bei der Installation des Moduls angeben, dass er im richtigen
Verzeichnis suchen geht? Der Fehler tritt sowohl bei manueller
Installation wie bei Verwendung der CPAN-Shell auf.

lg /markus
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.lugbe.ch/vpipermail/linux-support/attachments/20040425/74d134d9/attachment.bin


More information about the Linux-support mailing list