You are not logged in.

#1 2007-10-17 01:56:24

gentoofu
Member
Registered: 2006-10-05
Posts: 34

[Solved] urlplot + db.h + libdb

urlplot is an irssi script that catches posted url links in IRC channels in irssi and puts them in an html file. After db upgrade and the db_upgrade advice from here (which I don't think should have made any difference), I get this error when I try to load the script.

20:22 -!- Irssi: Error in script urlplot:
20:22 
20:22 DB_File needs compatible versions of libdb & db.h
20:22 you have db.h version 4.6.19 and libdb version 4.6.21
20:22 Compilation failed in require at (eval 18) line 230.
20:22 BEGIN failed--compilation aborted at (eval 18) line 230.

My db.h:

/*
 * Berkeley DB version information.
 */
#define    DB_VERSION_MAJOR    4
#define    DB_VERSION_MINOR    6
#define    DB_VERSION_PATCH    21
#define    DB_VERSION_STRING    "Berkeley DB 4.6.21: (September 27, 2007)"

I've tried renaming the /usr/include/db.h and /usr/lib/libdb.a but it still gives me that error. I'm guessing it has something to do with DB_File pointing somewhere else, but I don't know perl sad. If you guys could help me out, I'd really appreciate it.



Edit: Nevermind. Upgrade to the latest perl 5.8.8-8 fixed the problem.

'upgpkg: don't remove empty dirs, it breaks installation of perl. added coreutils as depend because of ln usage in .install file'

Last edited by gentoofu (2007-10-24 04:04:38)

Offline

Board footer

Powered by FluxBB