Re: [PHP-DEV] Re: PHP 4.0 Bug #8913 Updated: undefined symbol SQLParamData

2001-01-26 Thread Loren Bandiera


Well that clears some of this up.  Thanks.

So how do I compile IBM DB2 support in PHP?  I followed
the instructions in the docs, but when I try and
load the plug-in, apache complains it's can't find
the symbol SQLParamData.

Like I said before, when I tried to figure this out
on my own, the only references I could find were
about PHP and this SOLID library/thing.  That mentioned
something about a compiling/linking problem, but it
wasn't very clear at all.

I'm back to sqaure one again.  Has anyone got IBM DB2
support working in PHP?  It seems like everyone
is only using mysql or postgres.

On Fri, 26 Jan 2001, Dan Kalowsky wrote:

> Loren Bandiera wrote:
> >
> > Okay maybe I'm missing something, but what exactly is
> > SOLID?  I've never heard of this before, and I'm not
> > sure what it has to do with PHP in regards to me
> > compiling in DB2 support.
>
> Absolutely nothing to do with DB2, don't worry about it.  SOLID is a
> competing database provider that PHP supports.
>
> > Do I need this SOLID library for have DB2 support in PHP?
> > If so, what does it do?  and where do I get it from?  Also
> > how do I let PHP know about it? ( --with-solid=[DIR] ? )
>
> No you do not need it.  If you did, the PHP docs would have  mentioned
> it :)
>
>
>

-- 
---
Loren Bandiera
[EMAIL PROTECTED]
---



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Re: PHP 4.0 Bug #8913 Updated: undefined symbol SQLParamData

2001-01-25 Thread Loren Bandiera


Okay maybe I'm missing something, but what exactly is
SOLID?  I've never heard of this before, and I'm not
sure what it has to do with PHP in regards to me
compiling in DB2 support.

Do I need this SOLID library for have DB2 support in PHP?
If so, what does it do?  and where do I get it from?  Also
how do I let PHP know about it? ( --with-solid=[DIR] ? )

On 25 Jan 2001, Bug Database wrote:

> ID: 8913
> Updated by: kalowsky
> Reported By: [EMAIL PROTECTED]
> Status: Open
> Bug Type: Apache related
> Assigned To:
> Comments:
>
> With regards to the SOLID part.  This has been delt with and corrected since about 
>PHP 4.0.3pl1.  It was basically an incorrect linking of libraries done by PHP to the 
>weird SOLID libraries.
>
> I'm not totally familiar with the DB2 layout, but it sounds like you did not 
>properly link in your libraries files.  Check your configure log, and double check 
>that they do exist where configure says they do.
>
> Previous Comments:
> ---
>
> [2001-01-25 14:34:00] [EMAIL PROTECTED]
> I compiled PHP 4.0.4p1 today, with the following options:
>
> ./configure --with-apxs=/opt/apache/bin/apxs
> --with-ibm-db2=/usr/IBMdb2/V7.1
>
> It compiles fine, but when I try and load Apache it fails
> with this error:
>
> Cannot load /opt/apache/libexec/libphp4.so into server:
> /opt/apache/libexec/libphp4.so: undefined symbol: SQLParamData
>
> When I do an 'ldd' on it, I get the following:
>
> libdb2.so.2 => /usr/lib/libdb2.so.2
> libdl.so.2 => /usr/libdl.so.2
> libresolv.so.2 => /lib/libresolv.so.2
> libm.so.6 => /lib/libm.so.6
> libcrypt.so.1 => /lib/libcrypt.so.1
> libnsl.so.1 => /lib/libnsl.so.1
> libc.so.6 => /lib/libc.so.6
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2
>
> I'm not sure what the problem is.  When I tried to
> investigate this error, I found some information about this
> coming up when compiling PHP with something called 'Solid'.
>
> My system is as follows:
>
> Debian GNU/Linux 2.2
> Kernel v2.4.0
>
> apache: v1.3.14
> php: v4.0.4p1
> gcc: v2.95.3
>
>
>
>
>
>
>
> ---
>
>
> Full Bug description available at: http://bugs.php.net/?id=8913
>

-- 
---
Loren Bandiera
[EMAIL PROTECTED]
---



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]