I have rebuilt everything from tarballs. This I think compiled php/postgres/apache together and there was no need to link additional library. I deleted in my scripts line: dl('pgsql.so') and everything is working fine without any problems. Probably I misundertood need of this linked library. I should read manuals more carefully ;) Thanks a lot Ynse On Tue, 5 Aug 2003, scott.marlowe wrote: > Date: Tue, 5 Aug 2003 13:43:49 -0600 (MDT) > From: scott.marlowe <scott.marlowe@xxxxxxx> > To: Pawel Szczesny <shine@xxxxxxxxxxxxxxxx> > Cc: pgsql-php@xxxxxxxxxxxxxx > Subject: Re: [PHP] undefined symbol: SortMem > > I'm running the same basic setup on RH 7.3 and 7.2 with no worries. > > I am using PHP 4.3.2, postgresql 7.3.3 (soon to be 7.3.4) and apache > 1.3.28. > > I noticed that after apache 1.3.27 came out, PHP 4.0 and 4.1 no longer > work right, and now have to use 4.3.x to make it work. Postgresql has > worked anytime I've gotten apache and PHP to work together. > > Are all of these built from tarballs, or partially from RPMS? > > I've found that build apache/postgresql/php from tar.gz files seems the > most reliable method for getting a server to run reliably and sometimes to > just to get it to work. > > On Tue, 5 Aug 2003, Pawel Szczesny wrote: > > > > > Hi all, > > > > I am running Apache and PHP 4.3.2 with pgsql compiled in on RH8.0 (I know, > > I should choose better system :). When I'm trying to use PostgreSQL from > > web page scripts, I got this: > > > > Warning: Unable to load dynamic library '/usr/lib/php4/pgsql.so' - > > /usr/lib/php4/pgsql.so: undefined symbol: SortMem in > > /home/blah/whatso/php/register.php on line 3 and similar line is in > > Apache's error_log. And of course non of pgsql functions work. > > > > I do not think this is something connected to Apache, I have tried three > > versions of it, also changed version of php. But all scripts and functions > > work from command line. I have no idea how to set it up. > > > > I was searching the web, but "undefined symbol: SortMem" seems to not > > appear at any mailing list or FAQs. > > > > Any suggestions will be greatly appreciated > > Ynse > > > > ------------------------------------------------------- > > shine@xxxxxxxxxxxxxxxx > > http://shine.freeshell.org > > > > SDF Public Access UNIX System - http://sdf.lonestar.org > > ------------------------------------------------------- > > > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 7: don't forget to increase your free space map settings > > > > ------------------------------------------------------- shine@xxxxxxxxxxxxxxxx http://shine.freeshell.org SDF Public Access UNIX System - http://sdf.lonestar.org -------------------------------------------------------