pre-built/custom library install locations
pre-built/custom library install locations
- Subject: pre-built/custom library install locations
- From: goochrules! <email@hidden>
- Date: Tue, 12 Oct 2004 13:49:16 -0600
I have this Xcode command line tool project that has a number of
dlopen()ed libraries, a number of dynamically-loaded libraries, and a
number of external libraries in either /usr/local/lib (e.g., boost) or
/sw/lib (e.g., expat). Each of the tool, dlopen()ed libraries and
dynamically loaded libraries could depend on the dynamically loaded
libraries and/or the external libraries.
The only way currently that I have been able to get my tool to work is
to replicate the file structure from my development machine onto the
test/production machines. I'd like to have everything contained
within /usr/local/bin/$myproj (with potentially not installing things
that might already exist in /sw/lib or /usr/local/lib, but for now,
consolidating to /usr/local/bin/$myproj is the goal).
Using "otool -L" I see that my tool and dylibs have references to
their dependencies using full paths. I suppose this is where my
problem lies, but have no idea how to change it if even it needs
changing.
Currently I have all of the external libraries & frameworks added to
the project under the "Project Structure" section. I have not
specified any library or framework directly in the build settings, but
for each target have added a "Frameworks & Libraries" build phase to
which each dependant library was dragged. I have added additional
header and library search paths for those targest that require them
(namely, the targets that link to libraries installed via fink.
Any hints on how to consolidate my installation tree are greatly
apperciated, especially those that involve only changing settings in
Xcode.
-- Matthew Peltzer
-- email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden