From: | Seum-Lim Gan <slgan(at)lucent(dot)com> |
---|---|
To: | Michael Meskes <meskes(at)postgresql(dot)org> |
Cc: | Michael Meskes <meskes(at)postgresql(dot)org>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: dyntest.pgc not working in 7.4 ? |
Date: | 2003-12-11 22:10:05 |
Message-ID: | p05100392bbfe9b328e6d@[192.168.10.94] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hi Michael,
We tried but seems this didn't solve the problem.
Actually the ldd command in the log I attached yesterday
has showed the link to the right libecpgtypes.so and libpg.so.
Adding the -lecpgtypes and -l libpg in build did not change anything.
It looks to us that the sqlca.sqlcode will never be set to non-zero
value when SQL errors, warnings, not_found happen.
Gan
At 4:09 pm +0100 2003/12/11, Michael Meskes wrote:
>On Wed, Dec 10, 2003 at 03:29:44PM -0600, Seum-Lim Gan wrote:
>> /platdb/bin/ecpg -I /platdb/include -o dyntest74.c dyntest.pgc
>> cc -I/platdb/include -R/platdb/lib -L/platdb/lib -lecpg -o
>> lucyDyntest74 dyntest74.c
>
>This looks like a wrong library. The latest ecpg does need more that
>libecpg. It also needs libpgtypes. Since you don't include this i wonder
>if you link against an older libecpg.
>
>Michael
>--
>Michael Meskes
>Email: Michael at Fam-Meskes dot De
>ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
>Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
--
+--------------------------------------------------------+
| Seum-Lim GAN email : slgan(at)lucent(dot)com |
| Lucent Technologies |
| 2000 N. Naperville Road, 6B-403F tel : (630)-713-6665 |
| Naperville, IL 60566, USA. fax : (630)-713-7272 |
| web : http://inuweb.ih.lucent.com/~slgan |
+--------------------------------------------------------+
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2003-12-11 22:27:09 | Re: libpq3 + ssl memory leak |
Previous Message | Peter Eisentraut | 2003-12-11 20:05:22 | Web form bugs |