| From: | Ice Planet <ice(at)ice(dot)sk> |
|---|---|
| To: | General Mailinglist <pgsql-general(at)postgresql(dot)org> |
| Subject: | static compilation error |
| Date: | 2000-11-03 11:07:55 |
| Message-ID: | 20001103120755.A31134@ice.sk |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi,
I would like to compile my simple test program, but I need to use static
compilation.
I'm using postgres 7.0.2 on debian 2.2 .
Enviroment settings:
LD_LIBRARY_PATH=/usr/local/pgsql/lib
The whole install was done following readme in sources downloaded from
www.postgresql.org
I compile this attached source using:
gcc admin.c -static -L/usr/local/pgsql/lib -lpq -lcrypt -Wall -o admin
And I get error message like this:
/usr/local/pgsql/lib/libpq.a(fe-connect.o): In function `defaultNoticeProcessor':
fe-connect.o(.text+0x21ad): undefined reference to `_IO_stderr_'
collect2: ld returned 1 exit status
Thanks for any help
Ice Planet
| Attachment | Content-Type | Size |
|---|---|---|
| admin.c | text/x-csrc | 659 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ned Lilly | 2000-11-03 15:07:39 | live chat on associative model databases (starts 11:00 ET today) |
| Previous Message | He Weiping (Laser Henry) | 2000-11-03 10:06:15 | Re: OSDN Database conference report (long) |