On 9/27/07, Mark Ridley <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Everytime I create a development environment I get the following errors:
>
> Configure --prefix=/usr/local/samba
>
> configure: error: libmagic is missing - install it please
>
> This comes with file-devel and file-libs.
>
> openchangeclient then doesn't run because it complains that libmapi.so.0
> doesn't exist, I just created a link from libmapi.so.0.4 to libmapi.so.0in
> /usr/local/samba/lib
>
> Is this normal?


I dunno how "normal" it is, but I experienced it too.
I *was* following doc/howto.txt.

My build script now does this:

                cd $PREFIX/lib
                for l in *.so
                do
                        [ -L $l.0 ] || ln -s $l $l.0
                done

It seems to need this both for the Samba libraries and the libmapi ones,
so I do it after installing Samba, and again after installing libmapi.

Andrew.

PS: Another thing: what's with the naming convention?
Can't we have binaries named something like this:

openchangeclient --> occlient
mapiprofile --> ocprofile
openchangemapidump --> ocdump

My poor fingers...!  Thank goodness Samba doesn't call it's files
"servermessageblockclient".  :->
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to