Re: libpq - main symbol unresolved.

From: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Joseph Rajkumar" <rajkumar(at)telocity(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq - main symbol unresolved.
Date: 2002-02-04 08:49:07
Message-ID: 46C15C39FEB2C44BA555E356FBCD6FA41EB4D0@m0114.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> > > Syntax error on line 222 of
> > /export/home/rajkumar/apache/conf/httpd.conf:
> > > Cannot load /export/home/rajkumar/apache/libexec/libphp4.so into
> > server: ld.so.1: > /export/home/rajkumar/apache/bin/httpd: fatal:
> > relocation error: file /usr/local/lib/libpq.so.2: symbol main:
> > >referenced symbol not found
>
> This looks more like a problem in the libphp link process
> and/or the httpd
> dynamic loading process.

I have seen a similar failure on AIX recently. It seems that
php (and tcl, which was my case) use a somewhat different way to load
the shared libs than PostgreSQL does.

While PostgreSQL does not care, they need a shared lib that was linked
with a switch to specify no entry (like -bnoentry on AIX).
Maybe that has to do with our RTLD_LAZY ?

Andreas

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2002-02-04 14:28:18 v7.2 rolled last night ...
Previous Message Jean-Michel POURE 2002-02-04 07:33:56 Re: Management tool support and scalibility