Loading ...
Sorry, an error occurred while loading the content.

configure fails finding libdb

Expand Messages
  • hansmeiserweb
    Hello, i compiled and used webalizer on a newer system (suse 10.1) Now i want to to the same with older system (suse 8.2) configure says: checking for main in
    Message 1 of 2 , Jun 10, 2009
    • 0 Attachment
      Hello,

      i compiled and used webalizer on a newer system (suse 10.1)
      Now i want to to the same with older system (suse 8.2)
      configure says:

      checking for main in -ldb... no
      configure: WARNING: libdb not found.. DNS/GeoDB code disabled!

      this is confusing because installed is db44-4.4.20-1 db44-devel-4.4.20-1 db-utils-4.4.20-1 db-compat-4.4.20-1

      This is Sleepycat Berkeley DB database library in Version 44.20

      libs are also availabile:
      /usr/lib/libdb-3.1.so /usr/lib/libdb-4.0.so /usr/lib/libdb-4.4.la /usr/lib/libdb-4.so /usr/lib/libdb1.a /usr/lib/libdb1_p.a
      /usr/lib/libdb-3.3.so /usr/lib/libdb-4.4.a /usr/lib/libdb-4.4.so /usr/lib/libdb.so.3 /usr/lib/libdb1.so /usr/lib/libdb_cxx-4.0.so

      also /usr/include/db.h is installed. What is configure really looking for?

      gcc is version 3.3

      as a result if this missing libs webalizer does not do any dns-resolving. every host is only represented of its IP.
      with configure switches --with-db --with-dblib there was also no effect.

      What can i do now? How to solve this problem? What could be wrong?


      Thanks,
      Andre
    • hansmeiserweb
      ... ok, solved my problem. there were some old packageconflicts. historical reasons. i repackaged db 4.4 and now it works. btw. would be nice if this list
      Message 2 of 2 , Jun 11, 2009
      • 0 Attachment
        --- In webalizer@yahoogroups.com, "hansmeiserweb" <andre.huebner@...> wrote:
        >
        > Hello,
        >
        > i compiled and used webalizer on a newer system (suse 10.1)
        > Now i want to to the same with older system (suse 8.2)
        > configure says:
        >
        > checking for main in -ldb... no
        > configure: WARNING: libdb not found.. DNS/GeoDB code disabled!
        >
        > this is confusing because installed is db44-4.4.20-1 db44-devel-4.4.20-1 db-utils-4.4.20-1 db-compat-4.4.20-1
        >
        > This is Sleepycat Berkeley DB database library in Version 44.20
        >
        > libs are also availabile:
        > /usr/lib/libdb-3.1.so /usr/lib/libdb-4.0.so /usr/lib/libdb-4.4.la /usr/lib/libdb-4.so /usr/lib/libdb1.a /usr/lib/libdb1_p.a
        > /usr/lib/libdb-3.3.so /usr/lib/libdb-4.4.a /usr/lib/libdb-4.4.so /usr/lib/libdb.so.3 /usr/lib/libdb1.so /usr/lib/libdb_cxx-4.0.so
        >
        > also /usr/include/db.h is installed. What is configure really looking for?
        >
        > gcc is version 3.3
        >
        > as a result if this missing libs webalizer does not do any dns-resolving. every host is only represented of its IP.
        > with configure switches --with-db --with-dblib there was also no effect.
        >
        > What can i do now? How to solve this problem? What could be wrong?
        >
        >
        > Thanks,
        > Andre
        >


        ok, solved my problem. there were some old packageconflicts. historical reasons. i repackaged db 4.4 and now it works.

        btw. would be nice if this list would be more verbose ;)

        Thanks,
        Andre
      Your message has been successfully submitted and would be delivered to recipients shortly.