Re: undefined symbol: SortMem

From: Pawel Szczesny <shine(at)sdf(dot)lonestar(dot)org>
To: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: undefined symbol: SortMem
Date: 2003-08-05 22:30:31
Message-ID: Pine.NEB.4.33.0308052150530.11153-100000@sdf.lonestar.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php


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(dot)marlowe(at)ihs(dot)com>
> To: Pawel Szczesny <shine(at)sdf(dot)lonestar(dot)org>
> Cc: pgsql-php(at)postgresql(dot)org
> 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(at)sdf(dot)lonestar(dot)org
> > 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(at)sdf(dot)lonestar(dot)org
http://shine.freeshell.org

SDF Public Access UNIX System - http://sdf.lonestar.org
-------------------------------------------------------

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Gerd Terlutter 2003-08-06 08:23:16 Re: PHP Connections
Previous Message scott.marlowe 2003-08-05 19:46:07 Re: PHP Connections