Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Help > Simple Software...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3771 of 3882
Post > Topic >>

Simple Software Distribution (bundle+dylib)

by Korchkidu <korchkidu@[EMAIL PROTECTED] > Jun 14, 2008 at 08:43 AM

Hi everybody,

I have a plug-in (a .bundle) that is linked against a dynamic lib I
wrote. Everything works fine on my machine. The only problem is that
now, I want to distribute it. Problem, I would like to make it very
simple. For the moment, the .dylib has to be in the /usr/local/lib
folder for my application to work well. So, I need the user to copy it
manually to that folder which is kind of "hard" sometimes. So, here is
my question:

Is there a simple way to specify my application (during compile time
with xcode or anything else) to look in its current directory first?
In other words, I would like my application to be in a directory named
for example /home/mySuperApp/ and to automatically look in the
directory /home/mySuperApp/libs/ when dylib is needed without asking
the user to modify the environment variables or something else.

A must specifiy that I am kind of new to the mac world so please, do
not hesitate if you have any advice, recommandations, questions,
remarks, etc.

Any help would be appreciated.
K.
 




 3 Posts in Topic:
Simple Software Distribution (bundle+dylib)
Korchkidu <korchkidu@[  2008-06-14 08:43:21 
Re: Simple Software Distribution (bundle+dylib)
"Armel" <arm  2008-06-14 20:58:16 
Re: Simple Software Distribution (bundle+dylib)
Korchkidu <korchkidu@[  2008-06-16 01:20:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 10:18:30 CST 2008.