[Monetdb-developers] MonetDB on Darwin/ARM

Stefan.Manegold at cwi.nl Stefan.Manegold at cwi.nl
Sun May 3 19:03:57 CEST 2009


> Hi Fabian,
>
> Fabian Groffen wrote:
>> On 03-05-2009 06:48:53 +0200, Stefan de Konink wrote:
>>> #WARNING: LoaderException:loadLibrary:mmath: loader error
>>> dlopen(/Applications/MonetDB.app/lib/MonetDB5/lib/lib_mmath.dylib, 10):
>>> Symbol not found: ___fpclassifyd
>>>    Referenced from:
>>> /Applications/MonetDB.app/lib/MonetDB5/lib/lib_mmath.dylib
>>>    Expected in: flat namespace
>>
>> Looks like you have a mismatch in libSystem.B.dylib or something.  Are
>> you sure you compiled your cross against an updated SDK?  Use `otool -L`
>> where you're linking against.
>
> I just found out how to do it in the toolchain;
>
> arm-apple-darwin-otool -L /Applications/MonetDB.app/bin/mserver5
> /Applications/MonetDB.app/bin/mserver5:
>          /Applications/MonetDB.app/lib/libmonetdb5.5.dylib
> (compatibility version 17.0.0, current version 17.0.0)
>          /Applications/MonetDB.app/lib/libbat.1.dylib (compatibility
> version 31.0.0, current version 31.0.0)
>          /Applications/MonetDB.app/lib/libstream.1.dylib (compatibility
> version 31.0.0, current version 31.0.0)
>          /Applications/MonetDB.app/lib/libmutils.1.dylib (compatibility
> version 31.0.0, current version 31.0.0)
>          /Applications/MonetDB.app/lib/libiconv.2.dylib (compatibility
> version 8.0.0, current version 8.0.0)
>          /usr/lib/libz.1.dylib (compatibility version 1.0.0, current
> version 1.2.3)
>          /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current
> version 1.0.4)
>          /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
> current version 111.0.10)
>          /usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8,
> current version 0.9.8)
>          /usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8,
> current version 0.9.8)
>
>   otool -L /Applications/MonetDB.app/bin/mserver5
> /Applications/MonetDB.app/bin/mserver5:
>          /Applications/MonetDB.app/lib/libmonetdb5.5.dylib
> (compatibility version 17.0.0, current version 17.0.0)
>          /Applications/MonetDB.app/lib/libbat.1.dylib (compatibility
> version 31.0.0, current version 31.0.0)
>          /Applications/MonetDB.app/lib/libstream.1.dylib (compatibility
> version 31.0.0, current version 31.0.0)
>          /Applications/MonetDB.app/lib/libmutils.1.dylib (compatibility
> version 31.0.0, current version 31.0.0)
>          /Applications/MonetDB.app/lib/libiconv.2.dylib (compatibility
> version 8.0.0, current version 8.0.0)
>          /usr/lib/libz.1.dylib (compatibility version 1.0.0, current
> version 1.2.3)
>          /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current
> version 1.0.4)
>          /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
> current version 111.0.10)
>          /usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8,
> current version 0.9.8)
>          /usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8,
> current version 0.9.8)
>
> Looks equal. Anyway, I'll recompile the toolchain later today... I see
> that iconv, libxml2 and readline are present on the iPod aswell so I'll
> try to make use of it, saves space. Maybe even attempt to compile it on
> the device.
>

if you're concerned about gdk_scanselect (et al.), you can (first) try
configuring with --enable-noexpand=all --- and of course
--disable-optimize --enable-debug to make compilation "as cheap as
possible" ...

Stefan

>
> Stefan
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Monetdb-developers mailing list
> Monetdb-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
>





More information about the developers-list mailing list