[Locomotive-users] Adding Oracle OCI8 to the Rails+RMagick bundle
Ryan Raaum
ryan.raaum at gmail.com
Thu Jul 6 03:18:08 GMT 2006
Hi Lori,
On 7/5/06, Lori M Olson <loriolson at mac.com> wrote:
>
> Ok, that worked. Thanks. Next problem... I copied the customized
> bundle to a second machine, and tried running my application from
> Locomotive, and now when RMagick is referenced in my application I get:
>
> dyld: NSLinkModule() error
> dyld: Library not loaded: /usr/X11R6/lib/libXext.6.dylib
> Referenced from: /Users/lori/Applications/Locomotive2/Bundles/
> rails112rmagick_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/
> powerpc-darwin7.9.0/RMagick.bundle
> Reason: image not found
> Trace/BPT trap
>
> Ideas?
Again, running into the total lack of documentation. You need to have X11
installed (either from your install DVD or download from Apple).
Best,
-r
Lori
>
> On 5-Jul-06, at 4:16 PM, Ryan Raaum wrote:
>
> > Hi Lori,
> >
> > There's an environment.plist file in the bundle that you can add
> > to. (Sorry about the complete lack of documentation!)
> >
> > -r
> >
> > On 7/5/06, Lori M Olson <loriolson at mac.com> wrote: Hi,
> >
> > New to the list. I am trying to customize the Rails+RMagick bundle
> > to include the Oracle OCI8 driver. After working through some issues
> > with gcc, I finally have the OCI8 bundle installed, but when I run, I
> > get an NSLinkModule error on the Oracle library when I run script/
> > server.
> >
> > I have successfully run script/server after manually adjusting the
> > DYLD_FALLBACK_LIBRARY_PATH to include the Oracle Instant Client
> > libraries. But I need to know how to automate this, so I can run the
> > server from the Locomotive interface.
> >
> > After reading the help and searching this list, I decided that adding
> > an environment.plist file via the environment setting in
> > locomotive.yml would probably work. But it did not work, and the
> > DYLD_FALLBACK_LIBRARY_PATH remains unchanged. Is it only the PATH
> > that can be modified in this way, and not the
> > DYLD_FALLBACK_LIBRARY_PATH?
> >
> > Can I get some guidance here? Is the environment.plist file the
> > right way to go? If so, can anyone provide a working example file?
> > If not, what else should I be trying?
> >
> > Thanks,
> >
> > Lori
> > _______________________________________________
> > Locomotive-users mailing list
> > Locomotive-users at lists.raaum.org
> > http://lists.raaum.org/mailman/listinfo/locomotive-users
> >
> >
> >
> > --
> > Ryan Raaum
> > http://www.anthro.ufl.edu - Molecular Anthropology, University of
> > Florida
> > http://locomotive.raaum.org -- Self contained one-click Rails for
> > Mac OS X
> > _______________________________________________
> > Locomotive-users mailing list
> > Locomotive-users at lists.raaum.org
> > http://lists.raaum.org/mailman/listinfo/locomotive-users
>
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
--
Ryan Raaum
http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida
http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060706/03f92613/attachment.htm
More information about the Locomotive-users
mailing list