Re: [Gtk-osx-users] Precompiled Library

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.

John Ralls

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