Dillard

Well-Known Member
Feb 26, 2003
114
0
166
The Netherlands
FIXED: Webmail, Horde and Squirrelmail on FreeBSD

That didn't work for us (CPanel 9.9.8 on FreeBSD 5.2).

We tried touch /var/cpanel/usecpphp etc. but finally found we needed to recompile the Cpanel-PHP version.

/scripts/makecpphp did't worked either.

The following we found to be the error :

type "ls -l /usr/bin/mysql"

If /usr/bin/mysql is a symbolic link to /usr/local/bin/mysql do the following:

type "pico /scripts/makecpphp"

Replace this:

Code:
$MYSQL='--with-mysql';
if (-e "/usr/local/bin/mysql") {
        $MYSQL='--with-mysql=/usr/local';
}
if (-e "/usr/bin/mysql") {
        $MYSQL='--with-mysql=/usr';
}
by this:

Code:
$MYSQL='--with-mysql';
if (-e "/usr/local/bin/mysql") {
        $MYSQL='--with-mysql=/usr/local';
}
if (-e "/usr/bin/mysql") {
        $MYSQL='--with-mysql=/usr/local';
}
And run /scripts/makecpphp again. This time it will compile and webmail (horde and squirrelmail) runs again.

NB: This is NOT an elegant fix, but as /usr/bin/mysql is just a link (in our case) the script needs to know where it can find the mysql-header files, and that is in /usr/local ..

Perhaps CPanel-support can update makecpphp (with a something more elegant solution)?
 

easyhoster1

Well-Known Member
Sep 25, 2003
659
0
166
Here is what we found that goes wrong with every upgrade in cpanel.

The following files are removed from /usr/local/cpanel/lib

If you have more than one machine, we then fetch and copie them over.

libz.so.2
libpq.so.3
libpq.so.2
libmysqlclient.so.12
libintl.so.6
libintl.so.5
libintl.so.4
libiconv.so.3

Also make sure libcrypto.so.3 is located in
/usr/local/lib before you do any upgades.

Once these files are restored, Horde and Squirrel mail will work again.
 
Last edited:

Born2Kill

Well-Known Member
Jan 2, 2004
120
0
166
localhost or dev/null
easyhoster1 said:
Here is what we found that goes wrong with every upgrade in cpanel.

The following files are removed from /usr/local/cpanel/lib

If you have more than one machine, we then fetch and copie them over.

libz.so.2
libpq.so.3
libpq.so.2
libmysqlclient.so.12
libintl.so.6
libintl.so.5
libintl.so.4
libiconv.so.3

Also make sure libcrypto.so.3 is located in
/usr/local/lib before you do any upgades.

Once these files are restored, Horde and Squirrel mail will work again.
Hello,
I does not have that files
can someone post me or send me that files ?
 

NocTurNalFX

Active Member
Jan 24, 2003
27
0
151
I am missing those files as well, is there anyway to get them?


easyhoster1 said:
Here is what we found that goes wrong with every upgrade in cpanel.

The following files are removed from /usr/local/cpanel/lib

If you have more than one machine, we then fetch and copie them over.

libz.so.2
libpq.so.3
libpq.so.2
libmysqlclient.so.12
libintl.so.6
libintl.so.5
libintl.so.4
libiconv.so.3

Also make sure libcrypto.so.3 is located in
/usr/local/lib before you do any upgades.

Once these files are restored, Horde and Squirrel mail will work again.
 
Thread starter Similar threads Forum Replies Date
H Email 1
M Email 1
M Email 2
J Email 2
speckados Email 1