Patrick Lin wrote:
>
> 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.
> >
> > 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 !
>
> hello
> i got the same errors
> but if you put -ldb before -lsasl
> it is work
Not for me. It keeps doing the same thing.
--
- frankie -