Hi,

I'm having a strange problem trying to run configure. 

I'm trying to build courier on an SUSE 8.2 box, this is the first time
I've used SUSE linux. 

So I ran the stock ./configure (with no additional options). I do have
all the mysql libs so I'm assuming it'll also do --with-authmysql.

When I run the make I realize that the authdaemond.mysql didn't get
built. So then I looked at authlib/config.log and noticed a few linker
errors, for example:

configure:3481: result: yes
configure:3578: checking for socket in -lsocket
configure:3609: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c
-lsocket   >&5
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:
cannot find -lsocket
collect2: ld returned 1 exit status
configure:3612: $? = 1

Similarly, more of the same later on:

configure:3630: result: no
configure:3641: checking for socket in -lsocket
configure:3693: result: no
configure:3705: checking for connect in -lsocket
configure:3736: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c
-lsocket   >&5
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:
cannot find -lsocket
collect2: ld returned 1 exit status
configure:3739: $? = 1

It's quite strange that it can't find the socket library? I have the
regular glibc and glibc-devel libraries installed...  

There are some other ones, like missing -lldap and -lshadow, but I don't
want to use ldap and plain auth anyway. I just want to be able to build
courier properly, and very importantly, build it with authmysql.

Anyone have any idea why it would be having problems with -lsocket?

Thanks for your help.

Ricardo


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to