error building gnorpm from source



Trying to build gnorpm from sources, during make I get this:

 /usr/lib/librpm.so: undefined reference to `db_create'
 /usr/lib/librpm.so: undefined reference to `db_env_set_func_fsync'
 /usr/lib/librpm.so: undefined reference to `db_env_create'
 /usr/lib/librpm.so: undefined reference to `db_strerror'
 collect2: ld returned 1 exit status
 make[2]: *** [tester] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive-am] Error 2

which I assume is related to this:


 checking for db_create in -ldb-3.1... (cached) no
 checking for db_create in -ldb-3.0... (cached) no

which is from configure.

Can someone tell me which library I'm missing? I couldn't find any iteration of
'ldb-3.x' in /usr/include. Or do I misunderstand something?

Please reply privately, since I do not subscribe to the list.

Thanks, 

gary






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