[PHP-DB] PHP-informix-Apache undefined symbol

2002-01-16 Thread Fernando Carter

Hi ,
   I compile PHP  --with-informix=yes  and everithing went ok , until I
restarted apache

I got the following error.

Cannot Load /etc/httpd/modules/libphp4.so into server
/opt/informix/lib/esql/libifgen.so undifines symbol: stat

Please Help !
What I'm I doing wrong?


Many Thanks in advance




-- 
PHP Database 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]




Re: [PHP-DB] PHP-informix-Apache undefined symbol

2002-01-16 Thread Miles Thompson

Fernando,

First of all, where is libphp4.so located? You may have to copy it into 
that directory. On my system it's in
/path/to/apache/libexec. Try that and see if apache will start.

If the libphp4.so error is gone, but the other remains, try this. In your 
/etc directory is a file named ld.so.conf, which contains the paths to the 
locations of various dynamic shared objects(DSOs). For example mine contains

/usr/lib
/use/i486-linux-libc5/lib
/usr/X11R6/lib   -- down to here all this stuff was installed when 
Linux was installed
/usr/local/pgsql/lib
/drv2/bin/mysql/lib/mysql

The last two I added after installing PostgreSQL and MySQL. So if I cd to 
/drv2/bin/mysql/lib/mysql and execute ls, I'll see a number of files, each 
with an .so extension, or .so as part of the file name. Some are symlinks.

Add the location of the DSO for informix to this file, then run the command 
ldconfig.

You should then be able to start Apache and everything should work OK. One 
more thing, did you follow the INSTALL instructions on copying and renaming 
php.ini-dist? If not, do so and restart Apache.

Hope this helps. There is also a PHP-INSTALL list where you will be better 
off if the above doesn't bring results.

Regards - Miles Thompson


At 01:14 AM 1/16/2002 -0300, Fernando Carter wrote:
Hi ,
I compile PHP  --with-informix=yes  and everithing went ok , until I
restarted apache

I got the following error.

Cannot Load /etc/httpd/modules/libphp4.so into server
/opt/informix/lib/esql/libifgen.so undifines symbol: stat

Please Help !
What I'm I doing wrong?


Many Thanks in advance




--
PHP Database 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 Database 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]