Thanks very much for your help.

I have modified ldb.pc and reran autogen.sh and configure as you said, but
the make still failed. I meet another error message:

Linking bin/exchange2mbox
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [bin/exchange2mbox] Error 1

Could you give me more suggestions?

All the codes of Samba and Openchange are got via git and subversion.

Thanks,

Gang

On Tue, Jun 24, 2008 at 4:58 AM, Brad Hards <[EMAIL PROTECTED]> wrote:

> On Monday 23 June 2008 11:40:55 pm Gang Chen wrote:
> > Hi All,
> >
> > I am very interested in this project, and I want to install it on my
> server
> > for a test. But I met a problem that I cannot solve on my own.
> >
> > When I make openchange:
> >
> > $make
> >
> > I met following error message:
> >
> > Linking libmapi.so.0.8
> > /usr/bin/ld: cannot find -levents
> > collect2: ld returned 1 exit status
> > make: *** [libmapi.so.0.8] Error 1
> >
> > I do not know how to solve this problem. I need some suggestions. My OS
> is
> > Ubuntu 8.04, and I think I have installed all necessary library.
> I think this is a problem on the samba/openchange side - you've probably
> done
> everyting correctly.
>
> The specific problem relates to an incorrect file that is installed under
> the
> samba4 install prefix (usually /usr/local/samba). Under that, look for
> lib/pkgconfig/ldb.pc, which will have a line that looks like:
>
> Requires: talloc events
>
> Just delete the events part (leaving talloc):
>
> Requires: talloc
>
> You'll then need to rebuild openchange (including rerunning the configure
> part).
>
> Hope this helps, and we're looking to get the samba stuff fixed up ASAP.
>
> Let us know if you still have problems.
>
> Brad
>
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to