LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-26-2006, 04:21 PM   #1
OpenCircuit
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25

Rep: Reputation: 15
Missing PHP Libraries?


I'm trying to setup a new PHP network monitor on our servers, and I've just finished upgrading to PHP 5.1.4. After upgrading and installing, everything is working fine, except when I go to run PHP from the console I'm recieving:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20050922/interbase.so' - libfbclient.so.1: cannot open shared object file: No such file or directory in Unknown on line 0.

no PHP IS running fine, I can create a .php document and check it in a browser and everything is fine. phpinfo.php shows no conflicts either. Here is a list of all the libraries this references in the error (several appear when I type # php

libfbclient.so
libldap-2.3.so
libodbc.so
libpq.so
libsqlite3.so
libsqlite.so

I've run updatedb after in PHP 5 upgrade and it still doesn't find these libraries.

Any and all help would be appreciated.
Thanks

Distro is Slackware 10.2 btw.
 
Old 06-26-2006, 05:05 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
I wonder just how you upgraded your PHP. It seems to suffer from a dependency problem (interbase which it cannot find) which leads me to conclude you just grabbed a PHP5 package from somewhere (linuxpackages.net?) and installed that.
Many 3rd party Slackware packages have hidden dependencies because their packager built the package on a non-fresh Slackware system full of software that does not belong to a default Slackware install.

I guess if you look inside /etc/apache/php.ini that you will find a line looking like:
"extension = interbase.so"
PHP will work even if it finds extension libraries mentioned in php.ini that it cannot load or locate. But to get rid of the error message, you can comment this line for interbase.so out by placing a ';' in front of it.

Eric
 
Old 06-26-2006, 05:18 PM   #3
simon_w
Member
 
Registered: Jun 2004
Location: UK
Distribution: Debian Etch
Posts: 71

Rep: Reputation: 15
Quote:
Originally Posted by OpenCircuit
I'm trying to setup a new PHP network monitor on our servers
What is it out of interest?
 
Old 06-26-2006, 05:23 PM   #4
OpenCircuit
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by simon_w
What is it out of interest?
Bartlby Network Monitor (http://www.bartlby.org/xoops/)
I'd really like to use this one, one of the better ones I've found, especially for alert messaging.

If anyone has anything they use that's better I would really appreciate it. I like the idea of it keeping database, and having it be completely customizable via a PHP / XML interface. And that it supports multi platform machines (this is of course a mixed windows and *nix network I work in)

I'd like to be able to just monitor system resources, and network traffic to isolate any issues on the network, and to be alerted when a machine is failing or has failed via SMS or Instant Messaging.

I will also comment out those lines. Thanks!

But any recommendations on a good (and FREE) network monitor would be appreciated as well.

Aaron
 
Old 06-26-2006, 05:24 PM   #5
OpenCircuit
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien Bob
I wonder just how you upgraded your PHP. It seems to suffer from a dependency problem (interbase which it cannot find) which leads me to conclude you just grabbed a PHP5 package from somewhere (linuxpackages.net?) and installed that.
Many 3rd party Slackware packages have hidden dependencies because their packager built the package on a non-fresh Slackware system full of software that does not belong to a default Slackware install.

I guess if you look inside /etc/apache/php.ini that you will find a line looking like:
"extension = interbase.so"
PHP will work even if it finds extension libraries mentioned in php.ini that it cannot load or locate. But to get rid of the error message, you can comment this line for interbase.so out by placing a ';' in front of it.

Eric
thanks I will try that.
 
Old 06-26-2006, 05:26 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Quote:
Originally Posted by OpenCircuit
But any recommendations on a good (and FREE) network monitor would be appreciated as well.
Nagios perhaps> http://www.nagios.org/

Eric
 
Old 06-26-2006, 05:28 PM   #7
OpenCircuit
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
also just for the sake of information:

I've gotten through the configuration and installation of Bartlby, and when I go to start it, I'm getting:

/dev/stdout: Permission Denied

Not even sure why in the word it would need to use stdout but that's what I'm getting.
 
Old 06-26-2006, 05:32 PM   #8
OpenCircuit
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien Bob
Nagios perhaps> http://www.nagios.org/

Eric
perhaps? Does that mean your not sure? Have you ever used it? I'll give it a shot of course. Thanks. :-)
 
Old 06-26-2006, 05:39 PM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Yes I have used it, the organisation I work for is using it extensively. It is very customizable and has many contributed plugins. Worth checking out.
The "perhaps" was just used to flag my post as a hint.

Eric
 
Old 06-26-2006, 05:40 PM   #10
OpenCircuit
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien Bob
Yes I have used it, the organisation I work for is using it extensively. It is very customizable and has many contributed plugins. Worth checking out.
The "perhaps" was just used to flag my post as a hint.

Eric
heheh ah gotcha. ;-)

Commenting out those lines worked perfectly. Thanks alot.

I will give Nagios a try. I really appreciate your help.

Aaron
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing libraries simasimon Slackware 1 05-03-2006 06:02 PM
c++ libraries missing roxvogn Programming 1 03-07-2005 02:38 PM
Missing libraries help Jmcatch742 Fedora 1 11-17-2004 07:00 PM
missing libraries onebadnewbie Linux - Software 3 05-24-2003 01:49 AM
missing libraries babelfish Linux - Newbie 4 08-17-2001 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration