Operating System - HP-UX
1832497 Members
5925 Online
110043 Solutions
New Discussion

Unresolved symbol: __dbm_do_nextkey

 
Kent Ferry
New Member

Unresolved symbol: __dbm_do_nextkey

I've got hp-ux 11.11, gcc 3.3.3, openssl 0.9.7c, apache 1.3.29 and mod_ssl 2.8.16. Everything compiles up fine, but when trying to start apache in SSL mode, I get:

/usr/lib/dld.sl: Unresolved symbol: __dbm_do_nextkey (code) from /usr/lib/libdbm.1
Syntax error on line 207 of /home/kferry/apachessl/conf/httpd.conf:
Cannot load /home/kferry/apachessl/libexec/libssl.so into server: No such file or directory
./apachectl startssl: httpd could not be started

It runs fine without SSL, and it has no problem with other modules such as mod_proxy. Any ideas on how to fix this?
2 REPLIES 2
Procnus
Frequent Advisor

Re: Unresolved symbol: __dbm_do_nextkey

I'd probably start by working backwards from libssl.so, does it exist in the directory given? /home/kferry/apachessl/libexec

If it does, does it have read access for everyone? What are the contents of lines 206 and 207 of the httpd.conf file?

That's all I can think of at the moment.

Cheers
Steven
Kent Ferry
New Member

Re: Unresolved symbol: __dbm_do_nextkey

It turns out that I needed --enable-rule=SSL_SDBM when configuring mod_ssl. Here's the text from the modssl install doc:

NOTE: The --enable-rule=SSL_SDBM option enabled the use of the built-in SDBM library instead of a custom defined or vendor supplied DBM library. This can be useful when the vendor DBM library is buggy or restricts the data size too dramatically (for SSL sessions to be cacheable the DBM library should allow more than 1KB of data to be stored under a particular key).