1 message in net.sourceforge.lists.courier-users[courier-users] Problem Compiling Cou...
FromSent OnAttachments
Chris HanrahanJan 10, 2004 7:24 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Problem Compiling Courier IMAP 2.2.1 on Solaris 8Actions...
From:Chris Hanrahan (chan@comcast.net)
Date:Jan 10, 2004 7:24:39 pm
List:net.sourceforge.lists.courier-users

Greetings,

I receive the following error when compiling under Solaris 8:

Compiling modauthvchkpw.c gcc -I/var/vpopmail/include -g -O2 -Wall -I.. -I./.. -o authvchkpw
modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a ../md5/libmd5.a
../sha1/libsha1.a -L/var/vpopmail/lib -lvpopmail -L/usr/local/mysql/lib
-lmysqlclient -lz -lm -lcrypt Undefined first referenced symbol in file getservbyname
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o) socket
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o) connect
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o) getpeername
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o) shutdown
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o) gethostbyname_r
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o) setsockopt
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o) inet_addr
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o) inet_ntoa
/usr/local/mysql/lib/libmysqlclient.a(my_net.o) ld: fatal: Symbol referencing errors. No output written to authvchkpw collect2: ld returned 1 exit status

I am running mysql 4.0.17. I downloaded the binary from them and installed as
per the instructions on their site.

I've seen a couple of pages that I found via Google that indicate that some
additional options need to be added to the link line, but I don't know how to do
this, since this was compiled using make. Any help would be appreciated.

Thanks,