On Fri, May 30, 2003 at 04:43:09AM +0300, Timo Sirainen wrote:
On Fri, 2003-05-30 at 03:25, Charlie Allom wrote:
dlopen(/usr/local/lib/dovecot/imap/drac.so) failed: /usr/local/lib/dovecot/imap/drac.so: Undefined PLT symbol "dracauth" (symnum = 28)
That look really weird. Remember instead of -ldrac I used -I/usr/pkg/lib/libdrac.a
-I? not -l? rather just give libdrac.a directly without either one.
But I'm not sure if that works. You may need to extract the libdrac.a and give the extracted .o files to gcc. Something like:
mkdir dracobj cd dracobj ar x /usr/pkg/lib/libdrac.a cd .. gcc drac.c ..etc.. dracobj/*.o
It works! I admire your stamina.
May 30 12:02:15 lazy pop3-login: Login: pia [66.93.191.111]
*** authlog *** May 30 12:02:15 lazy rpcbind: connect from ::1 to getport/addr(900101) May 30 12:02:15 lazy rpcbind: connect from 127.0.0.1 to getport/addr(900101)
12:02 yeled@lazy:~$ db btree /usr/pkg/etc/dracd.db 203.31.232.2 1054261313 66.93.191.111 1054261335
I did exactly what you said above with test9.
Thanks Timo. Is it possible to get it to do this without using 'ar' ? I will work on this being incorporated into NetBSD pkgsrc as soon as I can make it a clean cut.
C.
charlie@rubberduck.com - Melbourne, Australia http://rubberduck.com/~yeled/ PGP: 0x14AA7941 || finger yeled@lazy.spodder.com