Re: c function - undefined symbols

From: Steffn <steffn(at)gmx(dot)at>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: c function - undefined symbols
Date: 2008-12-10 11:17:56
Message-ID: 493FA564.9080401@gmx.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

Thanks for your reply. Yes, thats also my suspicion. But what library to
include?
I added /Library/PostgreSQL/8.3/lib/** to my library search path, but it
won't help. If I knew which library I have to add, I think I can figure
out how to properly configure my build settings. Couldn't find any hints
in the docu nor in the mailing list.

Thanks,
steffn

Richard Huxton wrote, On 12/10/08 11:21 AM:
> Steffn wrote:
>
>> Undefined symbols:
>> "_Float8GetDatum", referenced from:
>> _add_one_float8 in foo.o
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>>
>> Following the documentation I only added
>> "/Library/PostgreSQL/8.3/include/**" to my header search path. What else
>> do I need to configure?
>>
>
> I'm not a "C" hacker, but that's failing at the linking stage, not the
> compiling stage. Are you missing the right lib to go with your headers?
>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2008-12-10 11:39:08 Re: Monty on MySQL 5.1: "Oops, we did it again"
Previous Message Mark Morgan Lloyd 2008-12-10 11:03:35 Re: PostgreSQL and eval()