Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to install PHPLICENSEWATCHER

Status
Not open for further replies.

rbri

Programmer
Jun 27, 2002
84
US
Hello Everyone
I am trying to install a package called phplicensewatcher I downloaded it from the freshmeat site. It requires that Apache, php/pear and php/mysql plus mysql installed to run everything seem to be working execpt one thing it appears that the php programs can't find any of the mysql stuff. Here is the error I get when I run the script that came with the phplicensewatcher program that is suppose to check php instaltion.

PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/mysql.so' - /usr/lib/libmysqlclient.so.10: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference in Unknown on line 0
Content-type: text/html
X-Powered-By: PHP/4.3.2

Is there a command that I can run to create the proper lib links that it appers not to exist. Thanks for any help you can provide. I installed all the required packages to there default location on my machine using the command "rpm -i (package name)"

Thanks Randy
 
Sounds like the proper pathing is not set up in your user environment. Check your .profile



JuJutsu - Jeff S.
Support Analyst
 
Looks more like the libmysqlclient10 package you installed is compiled against a different version of glibc. You can look for an appropriately versioned package of libmysqlclient, or compile it yourself from source.

With rpm, if you get the src.rpm for a package, you can do 'rpmbuild' and roll a fresh rpm.

----
JBR
 
If you're running a RedHat variant (including CentOS), they
broke out the different module support for php into different
rpms. Try:

yum install php-mysql

The same applies for Mandriva as well.
 
And restart apache, since mod_php needs to be reloaded after
you add another module to php.
 
Thanks everyone for your help I would up having to rebuild the machine because of a small experiment I tried PHP and mysql now see each other but I have a new error I am trying to get through mysql will not start and that isn't a Linix issue again thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top