|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8753 Dynamic load library error
Submitted: 2001-01-17 03:19 UTC Modified: 2001-06-22 11:51 UTC
From: ojo at gic dot sk Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.0.4pl1 OS: Linux
Private report: No CVE-ID: None
 [2001-01-17 03:19 UTC] ojo at gic dot sk

Invalid library (maybe not a PHP library) ?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-14 16:37 UTC]
How did you compile PHP ? What was the configure line used?

 [2001-06-15 02:05 UTC] ojo at gic dot sk
how did I compile PHP?
# ./configure --enable-versioning --enable-track-vars 
# make
# make install

and modul (for example pgsql):
# mkdir /tmp/newext
# cd /tmp/newext/
# cp -rp /usr/local/src/php-4.0.5/ext/pgsql/* .
# ./configure
# make install
# cd /usr/local/lib/php/extensions/
# cp no-debug-non-zts-20001222/ .
# pico /usr/local/lib/php.ini // uncommenting
# php

PHP Warning:  Invalid library (maybe not a PHP library) 
''  in Unknown on line 0

Using RH7.1, PHP 4.0.5

 [2001-06-19 09:54 UTC]
You seem to be skipping one important step here: phpize
Try reading these instructions found in the package:


And exactly WHY do you want to do this? 
It's better to configure with everything in the first place..

Also, update to 4.0.5 as it has some fixes regarding this issue.


 [2001-06-19 09:55 UTC]
And if you really want to have shared extensions, you can
compile them same time you compile main PHP by configuring like this:



 [2001-06-20 01:05 UTC] ojo at gic dot sk
Sorry, I just forgot to write down phpsize, but I used it. 
There is a still same error, even in version 4.0.5, plus 
there is an error vhen stand-alone program finishing its 
executing, so changes are not writing in database (even if 
error - segmentation fault -  occurs after ibase_close 
function). That's why I still want to use older version.

 [2001-06-20 01:09 UTC] ojo at gic dot sk
I can try --with-pgsql=shared, but what if I want to add 
support for mysql? Do I need to recompile php? I think 
modules can solve this problem, but this is not working 
(not on my PC). sorry.

 [2001-06-21 14:17 UTC]
Let's open this again, can you please try the 
PHP 4.0.6 RELEASE (not official yet) from here:

There have been some changes in everything and one pgsql
crash bug is fixed in this release.


 [2001-06-22 02:10 UTC] ojo at gic dot sk
Now it works. (Only interbase and postgres not mysql and 
sybase-ct, but it works).


 [2001-06-22 11:51 UTC]
Both mysql and sybase-ct are fixed in CVS now and they
should build as self-contained extensions.


PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Sep 28 13:01:23 2020 UTC