Search Postgresql Archives

Re: c function - undefined symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?



--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux