[Yazlist] Building 64bit lib on Intel Mac OS X 10.5

Wolfram Schneider wosch at FreeBSD.org
Wed Sep 9 11:11:38 CEST 2009


Hi,

did you compiled yaz yourself or do you using MacPorts (www.macports.org)?

If you compile yaz yourself you should tell configure the CFLAGS, e.g.

env CFLAGS=' -arch x86_64' ./configure

you may need the compile option -m64 as well.

env CFLAGS=' -arch x86_64 -m64' ./configure

-Wolfram

On Tue, Sep 8, 2009 at 06:53, David Nock<davidn at accessitsoftware.com> wrote:
>
> Hi,
>
> Has anyone built a 64bit yaz library on OSX?
>
> I've tried adding  -arch x86_64 to the CFLAGS in the Makefile and
> client/Makefile but it fails when building the client as the
> libyaz.dylib is not of the required architecture.
>
> # file libyaz.dylib Mach-O dynamically linked shared library i386
>
> Primarily I'm interested in the static library but attempting to link
> this to our JNI produces the same error about the wrong architecture.
>
> Is there any way to tell ./configure that a 64bit build is required or
> it it down to editing the Makefiles?
>
> Thanks
> Dave
>
> --
> **********************
> David Nock
> Senior Developer
> Access-It Software Ltd
> **********************
>
> This email and any attachments are confidential and intended
> exclusively for the person to whom the email is addressed.
> If you are not the intended recipient, do not read, copy,
> disclose or use the contents in any way. Please notify us
> immediately by return email and destroy the email and attachments.
> Access-It Software Ltd does not accept any liability for
> any changes made to this email or attachments after sending
> by Access-It Software Ltd. You must scan this email and
> attachments for viruses. The opinions expressed are not
> necessarily those of Access-It Software Ltd.
>
> Access-It Software Ltd accepts no liability for any loss,
> damage or consequence, whether caused by our own negligence
> or not, resulting directly or indirectly
> from the use of this email and attachments.
>
>
>
> _______________________________________________
> Yazlist mailing list
> Yazlist at lists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
>



-- 
Wolfram Schneider <wosch at FreeBSD.org> http://wolfram.schneider.org



More information about the Yazlist mailing list