mysql building

djtamse.eu

Verified User
Joined
May 31, 2009
Messages
41
so i installed mysql but now i would like to know how i can unbuild mysql
i wanted to try out mysql instead of mysqld but mysql is not something for me
as i think mysqld is better performance wice for my server i didt ./build mysql but how do i undo that ?

also ./build php n i get this error at the very last Fatal error: Class 'PEAR' not found in phar://install-pear-nozlib.phar/index.php on line 24 how to i install pear ?
 
What? Is it a joke? mysqld is the SQL daemon (that is, the MySQL server). To use client programs, mysqld must be running, because clients gain access to databases by connecting to the server.

http://dev.mysql.com/doc/refman/5.1/en/programs-overview.html
no why would i joke and also some how i get this error after enabling mysql 5.0 in directadmin options when restarting directadmin
root@server:/usr/local/directadmin/custombuild# /etc/init.d/directadmin restart
Stopping DirectAdmin: [ FAILED ]
Starting DirectAdmin: /usr/local/directadmin/directadmin: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
[ FAILED ]
 
I don't know why you would joke. But as soon as you want to use MySQL server on your box you can not run it without mysqld. See the link from my previous post to learn details.

Regarding to your error see this http://help.directadmin.com/item.php?id=236

i didt already chek that link half an hour ago before you post it , but i use debian 6 32 bit ... and its a guide for 64 bit im just going a bit mad on my self that i can fix it my self and i am searching on directadmin as well for help sorry about the 64 part my mistake i looked wrong atm after building ./build php n

i get this error


Make Complete
Copying php.ini..
/usr/local/lib/php.ini already exists, skipping.
Increasing memory limit to 32M...
Installing php...
Installing PHP SAPI module: apache2handler
/var/www/build/instdso.sh SH_LIBTOOL='/var/www/build/libtool' libphp5.la /usr/lib/apache
/var/www/build/libtool --mode=install cp libphp5.la /usr/lib/apache/
cp .libs/libphp5.so /usr/lib/apache/libphp5.so
cp .libs/libphp5.lai /usr/lib/apache/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/local/directadmin/custombuild/php-5.2.17/libs'
chmod 755 /usr/lib/apache/libphp5.so
[activating module `php5' in /etc/httpd/conf/httpd.conf]
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/

Fatal error: Class 'PEAR' not found in phar://install-pear-nozlib.phar/index.php on line 24
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
and i have searched as mad on how to fix it
 
Last edited:

the first one
http://help.directadmin.com/item.php?id=293
gave me the this error
directadmin: no process found
root@server:/usr/local/directadmin# ./directadmin b2000
./directadmin: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such filr directory

2nd one
http://help.directadmin.com/item.php?id=185
root@server:/usr/local/directadmin# gdb directadmin
gdb: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libpython2.6.so.1.0)
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/directadmin/directadmin...(no debugging symbols found)...done.
(gdb) run s
Starting program: /usr/local/directadmin/directadmin s
/usr/local/directadmin/directadmin: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory

Program exited with code 0177.
(gdb)
 
Fix this error:

./directadmin: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such filr directory

Code:
find / -name libmysqlclient.so[CODE]

Maybe you got a different version, if yes, make a symlink and should work.

Regards
 
Back
Top