Re: c function - undefined symbols - Mailing list pgsql-general

From Steffn
Subject Re: c function - undefined symbols
Date
Msg-id 493FA564.9080401@gmx.at
Whole thread Raw
In response to Re: c function - undefined symbols  (Richard Huxton <dev@archonet.com>)
Responses Re: c function - undefined symbols
Re: c function - undefined symbols
List 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?
>
>
>

pgsql-general by date:

Previous
From: Mark Morgan Lloyd
Date:
Subject: Re: PostgreSQL and eval()
Next
From: Bruce Momjian
Date:
Subject: Re: Monty on MySQL 5.1: "Oops, we did it again"