Page 1 of 1

How does one build bundles for loadable modules

Posted: Wed Sep 30, 2009 9:50 am
by Rozek
Hello!

It's great to see that PB is now able to create shared object (.so) files under MacOS X - but how does one create complete "bundles" (for what is called "loadable modules") under MacOS X?

I've already tried a script that seems to come with the Gnu libtool: the result looked like a .bundle, but it could not be loaded.

Surprisingly, the "strings" command does not come up with any output when I run it over the .so (with ProcedureDLLs it it, of course)

Thanks in advance for any response!

Re: How does one build bundles for loadable modules

Posted: Wed Sep 30, 2009 10:15 am
by Rozek
Just as a remark:
  • PB is able to load the original .so file
  • PB is also able to load the .so file after it has been "bundled" with the beforementioned Gnu libtool script (when one properly points into the bundle's subdirectory)
But I can't load the bundle as a whole...

Re: How does one build bundles for loadable modules

Posted: Wed Sep 30, 2009 11:53 am
by Rozek
Hmmm,

the library now seems to be loaded! Believe it or not, it seems that it is still not advisable to have spaces in a folder path! Even on a Macintosh (well, it's a UNIX underneath)

I found the problem because PB wasn't able to load the original .so after moving that into a folder with a space in it's path name.