Brad,
Thanks for your help and Now I am able to compile it successfully. But when
I try to launch the openchangeclient, it gives me this error. Any clue?

openchangeclient: error while loading shared libraries: libmapi.so.0: cannot
open shared object file: No such file or directory

Regards,

Ashvin


On Thu, Dec 4, 2008 at 12:33 PM, Brad Hards <[EMAIL PROTECTED]> wrote:

> On Thursday 04 December 2008 01:41:49 pm Ashvin Savani wrote:
> > Julien,
> > Again stucked at the same point:
> >
> <snip>
> > Compiling libmapi/socket/netif.c with -fPIC
> > Generating libmapi/utf8_convert.yy.c
> > Compiling libmapi/utf8_convert.yy.c with -fPIC
> > libmapi/utf8_convert.l:695: warning: âyyunputâ defined but not used
> > Linking libmapi.so.0.8
> > /usr/local/samba/lib: file not recognized: Is a directory
> > collect2: ld returned 1 exit status
> > make: *** [libmapi.so.0.8] Error 1
> It is a bit hard to see what is going on here. It would help if we could
> see the linker line.
> Can you make this change (just remove the @ at the start of the linker line
> by hand if you like)
> and post the openchange build process again - you don't need to rebuild
> samba4 thankfully :-)
>
> --- Makefile    (revision 901)
> +++ Makefile    (working copy)
> @@ -278,7 +278,7 @@
>        libmapi/socket/netif.po                         \
>        libmapi/utf8_convert.yy.po
>        @echo "Linking $@"
> -       @$(CC) $(DSOOPT)
> -Wl,-soname,libmapi.$(SHLIBEXT).$(LIBMAPI_SO_VERSION) -o $@ $^ $(LIBS)
> +       $(CC) $(DSOOPT)
> -Wl,-soname,libmapi.$(SHLIBEXT).$(LIBMAPI_SO_VERSION) -o $@ $^ $(LIBS)
>
>
>  libmapi.$(SHLIBEXT).$(LIBMAPI_SO_VERSION):
> libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
>
> Brad
>
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to