RE: GDBM problem during make

"Anthony J. Biacco" <[email protected]>
Newsgroups gmane.mail.qpopper
Message-ID <[email protected]>
Make sure there's only one ndbm.h file on your system and make sure it's a
compatible ones (usually from http://sleepycat.com is definitive) and not
third-party.
Usually when you have this problem you have a ndbm.h in /usr/include
somewhere and then an old or 3rd party one in /usr/local/include

-Tony
----------------------------------------
Anthony J. Biacco
Senior Systems and Network Administrator
303-981-4955 

> -----Original Message-----
> From: Alex Moen [mailto:[email protected]] 
> Sent: Thursday, November 09, 2006 3:58 PM
> To: Subscribers of Qpopper
> Subject: RE: GDBM problem during make
> 
> Anyone????  If more info is needed, I'd be happy to mail more.
> 
> I'd really like to get this going....
> 
> Alex
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Alex Moen [mailto:[email protected]]
> Sent: Thursday, November 02, 2006 11:18 AM
> To: '[email protected]'
> Subject: GDBM problem during make
> 
> 
> Hi all,
> 
> Running into a problem compiling 4.0.9 on a Solaris 10 6-06 
> box, patched to
> the latest 10_Recommended patchlevel.  Also have lots of GNU software
> already installed, for instance: autoconf 2.59, automake 1.9, 
> bison 1.875,
> flex 2.5, gcc 3.3.2, make 3.80, tcl 8.5, gdbm 1.83 (all from 
> sunfreeware).
> 
> I compile using the following command:
> 
> ./configure  --enable-bulldb=/var/spool/bulls --enable-auto-delete
> --enable-server-mode --enable-standalone 
> --enable-log-facility=LOG_LOCAL5
> --enable-specialauth --with-pam --enable-shy
> --enable-home-dir-mail=mail/.mail
> 
> Compile completes with no warnings at all.  However, here's 
> the end of the
> make output:
> 
> ---clip---
> gcc   pop_dele.o pop_dropcopy.o pop_get_command.o pop_get_subcommand.o
> pop_init.o pop_last.o pop_list.o pop_log.o pop_lower.o 
> pop_msg.o pop_parse.o
> pop_pass.o pop_quit.o pop_rset.o pop_send.o pop_stat.o 
> pop_updt.o pop_user.o
> pop_xtnd.o pop_xmit.o popper.o pop_bull.o xtnd_xlst.o 
> pop_uidl.o mktemp.o
> pop_rpop.o pop_apop.o md5.o pop_auth.o pop_pope.o pop_extend.o scram.o
> hmac.o base64.o pop_util.o get_sub_opt.o msg_ptr.o drac.o pop_config.o
> pop_tls.o pop_tls_openssl.o pop_tls_sslplus.o sslplus_utils.o main.o
> pop_cache.o genpath.o  -o popper ../mmangle/libmangle.a \
>         -I../common ../common/libcommon.a \
>         -lnsl -lsocket -lresolv -lmail  -lgdbm -lnsl  
> -lposix4 -lcrypt -ldl
> -lpam  
> Undefined                       first referenced
>  symbol                             in file
> dbm_dirfno                          pop_bull.o
> ld: fatal: Symbol referencing errors. No output written to popper
> collect2: ld returned 1 exit status
> make[1]: *** [popper] Error 1
> make[1]: Leaving directory `/usr/local/source/qpopper4.0.9/popper'
> make: *** [popper_server] Error 2
> 
> What I have tried so far to no avail: 
> -Reinstalling GDBM
> -Adding the following to Makefile:
> 	DBM_LIBS        =       -L/usr/local/lib -lgdbm
> 	LIBS            =       ${NETWORK_LIBS} 
> ${KERBEROS_LIBS} ${DBM_LIBS}
> 
> -Grepping the net for more help
> 
> Not sure what I'm missing here.  I have already been able to 
> compile popper
> without bulletin support, but I really need the bulletins.
> 
> I've seen this discussed all over the place, but can't find 
> any resolutions
> to any problems.
> 
> Anyone have any ideas???
> 
> Thanks!
> 
> Alex
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.