Hi,

Sounds awesome. I will experiment with it as soon as I can. I am not familiar with the Mac's dynamic library loading, but there is a man page for dlopen at least. There's hope. :-)

Mike

On Fri, Dec 30, 2011 at 7:55 AM, <ivan@cvut.cz> wrote:
Quoting Petr Vanek <petr@scribus.info>:

>
> On Dec 29, 2011 (Thursday), at 3:18 PM, Nathan Neulinger wrote:
>
>> Oh, wow.
>
> wow II!
>
> Mike, are you able to compile it on mac? (I did not try it yet)
>

It will not work on mac because the mac specific code is missing.

Especially in:
tooraclefind.cpp
- possible paths for libclntsh.so
- dlopen for libclntsh.so, on Linux I use VERY ugly hack to load it.

utils.cpp
- there is the function which checks whether the library file is .ELF
or COFF object
and whether it is 32bit or 64bit.
- loadlibrary - wrapper for dlopen (or LoadLibraryEx)
- unLoadLibrary - wrapper for dlclose(or FreeLibrary)
- lookupSymbol - wrapper for dlsym(or GetProcAddress).

- CMakeList.txt
- there magic parameters for linker. Some magic is used when linking
poracle.so

If you want to check it on mac you have to find some "volunteer"
to implement these.

Ivan


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Tora-develop mailing list
Tora-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tora-develop