How does one build bundles for loadable modules

Mac OSX specific forum
Rozek
User
User
Posts: 64
Joined: Thu Jul 05, 2007 12:19 pm
Location: Böblingen (Germany)

How does one build bundles for loadable modules

Post 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!
Kind regards,

Andreas Rozek
Rozek
User
User
Posts: 64
Joined: Thu Jul 05, 2007 12:19 pm
Location: Böblingen (Germany)

Re: How does one build bundles for loadable modules

Post 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...
Kind regards,

Andreas Rozek
Rozek
User
User
Posts: 64
Joined: Thu Jul 05, 2007 12:19 pm
Location: Böblingen (Germany)

Re: How does one build bundles for loadable modules

Post 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.
Kind regards,

Andreas Rozek
Post Reply