On Wed, Jul 15, 2009 at 6:40 AM, Glenn Tarcea<[email protected]> wrote: > Thanks Bruno, that is the problem. It turns out that the library also > needs to be built 64 bit. I verified this by building a small utility > as 64-bit and tried linking it against a 32-bit library. MacOSX > doesn't like this. I'll have to rebuild BerkeleyDB for 64 bit. > > The dlopen man page implies that 64bit and 32bit libraries can be > loaded on a 64bit system. I wonder if there is a universal linker > option that would allow this... > > Thanks for the pointer. I'll have to do a bit more exploring. >
You certainly can run a 32 bit application in the 64-bit os and you can load 32 bit libraries into that 32 bit application. You cannot mix and match 32 and 64 bit libs in the same process though. If you hunt around you will find how to build "universal" libs and apps. That should get your lib working with either type of process. I've completely forgotten the details though. -- Darrin ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
