|
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,
Chris Hanrahan
|
