From: | Jason Tishler <jason(at)tishler(dot)net> |
---|---|
To: | kob(at)norkart(dot)no |
Cc: | pgsql-cygwin(at)postgresql(dot)org |
Subject: | Re: Problem configuring Postgres under Cygwin |
Date: | 2002-10-31 17:50:55 |
Message-ID: | 20021031175054.GA476@tishler.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
On Thu, Oct 31, 2002 at 06:10:12PM +0100, kob(at)norkart(dot)no wrote:
> Thanks for helping:
No problem -- actually, you are helping me.
> ls -l /usr/local/lib/libcygipc.a output:
>
> -rw-r--r-- 1 kob None 26912 Nov 27 2001 /usr/local/lib/libcygipc.a
Good, your cygipc installation is fine.
> This seems like the Cygwin installer has given wrong permissions on
> all the files...
The above is a separate and unrelated issue.
> gcc -v -o conftest conftest.c -lcygipc output:
>
> Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
> [snip]
> /usr/lib/gcc-lib/i686-pc-cygwin/3.2/collect2.exe -Bdynamic
> --dll-search-prefix=
> cyg -o conftest.exe /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../crt0.o
> /usr/lib
> /gcc-lib/i686-pc-cygwin/3.2/crtbegin.o
> -L/usr/lib/gcc-lib/i686-pc-cygwin/3.2 -L/
> usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../..
> /cygdrive/c/DOCUME~1/KOB~1.SAN/LOCAL
> S~1/Temp/ccotfJYK.o -lcygipc -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32
> -lshe
> ll32 -lgcc /usr/lib/gcc-lib/i686-pc-cygwin/3.2/crtend.o
> /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
> cannot fi
> nd -lcygipc
> collect2: ld returned 1 exit status
The above implies that Cygwin gcc 3.x is not automatically searching for
libraries in /usr/local/lib. BTW, I just tried under Linux gcc 3.x and
it does not search /usr/local/lib either.
You can try the following workaround:
$ ln -s /usr/local/lib/libcygipc.a /usr/lib
while I try to figure out the best long-term solution.
Any help is greatly appreciated.
Thanks,
Jason
From | Date | Subject | |
---|---|---|---|
Next Message | Norman Vine | 2002-10-31 17:51:50 | Re: Problem configuring Postgres under Cygwin |
Previous Message | kob | 2002-10-31 17:10:12 | Re: Problem configuring Postgres under Cygwin |