Francesc Guasch a écrit :
> 
> I did install cyrus-sasl and I managed to compile it in
> another box with solaris-2.5.1. But with solaris-2.6
> it looks it doesn't work.
> 
> I searched the mailing list and I found two people
> asking the same question but no answers.
> 
> # ./configure
> 
> checking for sasl_getprop in -lsasl... (cached) no
> configure: error: Cannot continue without libsasl.
> Get it from ftp://ftp.andrew.cmu.edu:/pub/cyrus-mail/.
> 
> If I hack a little the configure script and I do make
> I got:
> 
> gcc -L/usr/local/BerkeleyDB.3.2/lib -R/usr/local/BerkeleyDB.3.2/lib
> -L/usr/local/BerkeleyDB.3.2/lib -L/usr/local/lib -R/usr/local/lib  -g
> -O2   -o imapd \
>  ../master/service.o pushstats.o imapd.o index.o tls.o libimap.a
> ../acap/libacap.a ../lib/libcyrus.a  -lsasl -ldl -lfl -ldb  -lsocket
> -lnsl   ../et/libcom_err.a -lwrap -lnsl
> Undefined                       first referenced
>  symbol                             in file
> db_open                             /usr/local/lib/libsasl.so
> ld: fatal: Symbol referencing errors. No output written to imapd
> collect2: ld returned 1 exit status
> 
> What can I do ? help !
> 
> --
>  - frankie -

hello
i got the same errors
but if you put -ldb before -lsasl 
it is work

regards,

patrick
-- 
                                              ____________
           __________________________________(           /
  ________|                                  |          /
  \       | This message is transmitted by   |          \
   \      |   100 % recycled electrons       |___________\
   /      |__________________________________(
  /__________)

Reply via email to