[Monetdb-developers] MonetDB on Darwin/ARM

Stefan de Konink stefan at konink.de
Sun May 3 18:21:04 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.


Stefan




More information about the developers-list mailing list