FROM : Scott Stevenson
DATE : Sat Oct 16 09:06:32 2004
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]
DATE : Sat Oct 16 09:06:32 2004
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]
| Related mails | Author | Date |
|---|---|---|
| Jerry LeVan | Oct 16, 02:46 | |
| Jerry LeVan | Oct 16, 05:14 | |
| Scott Stevenson | Oct 16, 09:06 |






Cocoa mail archive

