Re: [Gtk-osx-users] Precompiled Library



Hi John,

Thanks for the heads up. the DYLD_FALLBACK_LIBRARY_PATH worked well.

Victor



On Thu, May 5, 2011 at 7:12 AM, John Ralls <jralls ceridwen us> wrote:

On May 4, 2011, at 8:55 PM, Victor wrote:

> Hi John,
>
> Basically my program is a GUI which simulates some hardware. My user can write their own program to control the simulated hardware. That's why the user needs to compile my program.
>
> I have copied over all the include and lib folders in the gtk/inst to my package. I have used gcc -L and -I options to redirect the include and library files there is no problem with the compiling and linking as I have follow all the libraries specified by pkg-config. I am not sure how the loadable modules works in Mac OSX.
>
> It will be great if you can tell me what I need to tweak in order to change the path of the dynamic library?

You still haven't told me what kind of a package it is.

By "tweak", do you mean $LD_LIBRARY_PATH? OSX changes it to DYLD_LIBRARY_PATH, and I think that if you look at the man page for those you'll find most of the answers you need. If not, there's plenty more in the Developer Documentation that Apple provided on your Mac.

Regards,
John Ralls


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Gtk-osx-users mailing list
Gtk-osx-users lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-osx-users







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]