• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: I don't know where to ask...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I don't know where to ask...


  • Subject: Re: I don't know where to ask...
  • From: Bob Ippolito <email@hidden>
  • Date: Mon, 10 Jan 2005 16:10:31 -0500

You should have a dyld error in the console. You are linking to a dynamic library that is not shipped with Mac OS X, and you are not shipping that dynamic library with your application. Chances are, your previous installation only installed a static library, and you linked with that -- which gets included in your application's executable.

What you should do is simply link DIRECTLY to the .a file (it should also install one of these), and not use -lpq. Alternatively you could link with -lpq, rewrite the install name to be @executable_path relative, and include it in your bundle, but that's not as easy.

-bob

On Jan 10, 2005, at 15:56, Theodore Petrosky wrote:

My problem is that when I compile for deployment and
move  the app to a different computer, it doesn't run.
I have never had this problem before.

I double click the app and nothing. no error or any
warning. I feel sick...


Ted


--- Will Mason <email@hidden> wrote:

In your project just uncheck the Prebinding build
option. All this
means is that since the library is not prebound,
your app can't be
prebound either. In practical terms, receiving this
warning and fixing
it will have no effect. Chances are that you will
never need to care
whether your app is prebound or not.

Will

--- Theodore Petrosky <email@hidden> wrote:

I have been developing a project using postgresql
as a
backend. I use the libpq C libraries to talk to
the
server. So far everything has been working well.

All of a sudden (after an upgrade to 7.4.6) I get
an
error when trying to compile.

ld: warning prebinding disabled because dependent
library: /usr/local/pgsql/lib/libpq.3.dylib is not
prebound

I haven't a clue where to begin to look for the
problem. Any help will be appreciated.

Ted Petrosky


__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty
viruses.
http://promotions.yahoo.com/new_mail
 _______________________________________________
Do not post admin requests to the list. They will
be ignored.
Cocoa-dev mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription:


email@hidden

This email sent to email@hidden





__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: I don't know where to ask... (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Authorization - Perl as helper tool vs. SUID
  • Next by Date: Dynamically adding tabs during runtime?
  • Previous by thread: Re: I don't know where to ask...
  • Next by thread: Authorization - Perl as helper tool vs. SUID
  • Index(es):
    • Date
    • Thread