Discussion:
Installing Postfix on Solaris 10 Sparc
(too old to reply)
Victor Duchovni
2007-02-23 22:13:36 UTC
Permalink
I have heard great things about postfix. I have decided to install it as the
default MTA on a Sun E250 running Solaris 10. 1G ram with a single CPU at
the moment. I went to the net and looked around for an install guide and
found the following that had appeared to be solid and easy to follow.
The /usr/include/ndbm.h header on my Solaris 10 system has:

#define dbm_dirfno(__db) ((__db)->dbm_dirf)
#define dbm_pagfno(__db) ((__db)->dbm_pagf)

Perhaps your gcc includes a different ndbm.h from somwhere else. You
many to rebuild the gcc converted headers...
gcc -Wmissing-prototypes -Wformat -Dstrcasecmp=fix_strcasecmp
-Dstrncasecmp=fix_strncasecmp -g -O -I. -I../../include -DSUNOS5 -o sendmail
sendmail.o ../../lib/libglobal.a ../../lib/libutil.a -lresolv -lsocket -lnsl
Undefined first referenced
symbol in file
dbm_dirfno ../../lib/libutil.a(dict_dbm.o)
dbm_pagfno ../../lib/libutil.a(dict_dbm.o)
--
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:***@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
Wietse Venema
2007-02-23 23:30:25 UTC
Permalink
Undefined first referenced
symbol in file
dbm_dirfno ../../lib/libutil.a(dict_dbm.o)
dbm_pagfno ../../lib/libutil.a(dict_dbm.o)
This is an ancient.

http://www.postfix.org/faq.html#dbm_dirfno

Question: When I build Postfix I get the following errors:

Undefined first referenced
symbol in file
dbm_pagfno ../lib/libutil.a(dict_dbm.o)
dbm_dirfno ../lib/libutil.a(dict_dbm.o)

Answer: instead of using /usr/include/ndbm.h, you're building Postfix with some incompatible third-party file, typically /usr/local/include/ndbm.h.

Fix: get rid of the third-party ndbm.h include file.

Loading...