• 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: Linking problem...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking problem...


  • Subject: Re: Linking problem...
  • From: Scott Stevenson <email@hidden>
  • Date: Sat, 16 Oct 2004 00:06:32 -0700


On Oct 15, 2004, at 8:14 PM, Jerry LeVan wrote:

It appears that the linker will choose a dylib
over an archive lib.

I got around the problem by moving the dylibs out
of the directory containing libpq.a and then
was able to get the libpq to be staticly linked
into the image.

The only one I could get libpq.a into the build
process was to drag the file onto the project.
Then open panel in the add file to project would
not let me choose the static library.

I guess I will need to keep a copy of the static
lib in some other directory...

If you do:

./configure --disable-shared

You can build without getting the dylib.

- Scott


--
http://treehouseideas.com/
http://theobroma.treehouseideas.com/ [blog]

_______________________________________________
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: 
 >Linking problem... (From: Jerry LeVan <email@hidden>)
 >Re: Linking problem... (From: Jerry LeVan <email@hidden>)

  • Prev by Date: Re: Linking error
  • Next by Date: closing windows
  • Previous by thread: Re: Linking problem...
  • Next by thread: Linking error
  • Index(es):
    • Date
    • Thread