Error using home-made functions

From: José Paumard <Jose(dot)Paumard(at)cmla(dot)ens-cachan(dot)fr>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Error using home-made functions
Date: 1999-01-19 14:08:42
Message-ID: 36A491EA.A9C7B563@cmla.ens-cachan.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

I still have the same mistake after upgrading to v6.4.2 :
add_one is a simple function that add 1 to a given int. It has been
compiled as a .so using gcc. The first time I use it, it gives an error
message, and the second and following times, it seems to work well :

template1=> select add_one(1) ;
ERROR: Load of file /usr/local/pgsql/lib/add_one.so failed:
/usr/local/pgsql/lib/add_one.so: undefined symbol: mem_set
template1=> select add_one(1) ;
add_one
-------
2
(1 row)
template1=>

Any help would be much appreciated,

Jose Paumard

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthias Schmitt 1999-01-19 14:18:57 different results selecting from base tables or views
Previous Message Jose' Soares 1999-01-19 12:30:37 Re: [HACKERS] about RULES