| Roland Cruse 2007-05-09, 7:02 pm |
| Success!
I compiled php without the --with-pdo-mysql switch.
Then made a pecl directory inside the php source tree then downloaded
the pdo_mysql "pecl download pdo_mysql"
Then untarred the file=20
Then did:
../configure --with-pdo-mysql=3D/usr LDFLAGS=3D'-L/usr/lib'
(maybe this setting would have worked for the php compile...)
Then copied the resulting pdo_mysql.so to my php include library.
Happy ending :)
>-----Original Message-----
>From: Roland Cruse [mailto:roland.cruse@vrs-soft.com]
>Sent: Wednesday, May 09, 2007 2:18 PM
>To: php-install@lists.php.net
>Subject: RE: [PHP-INSTALL] pdo_mysql can not find libmysqlclient.so
libz.so
>
>
>
>Thanks. I did not realize they where links.
>I checked and the "missing" files (links) do point to existing files.
>
>lrwxrwxrwx 1 root root 24 May 9 14:00 /usr/lib/libmysqlclient.so
>-> libmysqlclient.so.15.0.0
>lrwxrwxrwx 1 root root 24 May 9 14:00
>/usr/lib/libmysqlclient.so.10 -> libmysqlclient.so.10.0.0
>-rwxr-xr-x 1 root root 224606 Feb 26 08:18
>/usr/lib/libmysqlclient.so.10.0.0
>lrwxrwxrwx 1 root root 24 May 9 14:00
>/usr/lib/libmysqlclient.so.12 -> libmysqlclient.so.12.0.0
>-rwxr-xr-x 1 root root 306483 Feb 26 08:18
>/usr/lib/libmysqlclient.so.12.0.0
>lrwxrwxrwx 1 root root 24 May 9 14:00
>/usr/lib/libmysqlclient.so.14 -> libmysqlclient.so.14.0.0
>-rwxr-xr-x 1 root root 1265956 Feb 26 08:18
>/usr/lib/libmysqlclient.so.14.0.0
>lrwxrwxrwx 1 root root 24 May 9 14:00
>/usr/lib/libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
>-rwxr-xr-x 1 root root 1437860 Feb 26 08:18
>/usr/lib/libmysqlclient.so.15.0.0
>
>And the same with the libz.
>
>The "make" script seems to be looking in /usr/lib/mysql for the missing
>files. When they do exist in /usr/lib These files appear to have come
>from the MySQL-shared-compat rpm.
>
-[color=darkred]
>----
--with-mysql=3D/usr
\[color=darkred]
--enable-mbstring
\[color=darkred]
\[color=darkred]
>--with-ttf=3D/usr/lib
>
> ****************************************
*************************
>
>IMPORTANT NOTICE
>
>The information in this e-mail and any attached files is CONFIDENTIAL
and
>may be legally privileged or prohibited from disclosure and
unauthorized
>use. The views of the author may not necessarily reflect those of the
>Company. This communication is intended solely for the addressee, or
the
>employee or agent responsible for delivering such materials to the
>addressee. If you have received this message in error please return it
to
>the sender then delete the email and destroy any copies of it. If you
are
>not the intended recipient, any form of reproduction, dissemination,
>copying, disclosure, modification, distribution and/or publication or
any
>action taken or omitted to be taken in reliance upon this message or
its
>attachments is prohibited and may be unlawful.
>
>
>At present the integrity of e-mail across the Internet cannot be
guaranteed
>and messages sent via this medium are potentially at risk. All
liability is
>excluded to the extent permitted by law for any claims arising as a
result
>of the use of this medium to transmit information by or to VillaDirect
>Management LLC.
****************************************
*************************
IMPORTANT NOTICE
The information in this e-mail and any attached files is CONFIDENTIAL =
and may be legally privileged or prohibited from disclosure and =
unauthorized use. The views of the author may not necessarily reflect =
those of the Company. This communication is intended solely for the =
addressee, or the employee or agent responsible for delivering such =
materials to the addressee. If you have received this message in error =
please return it to the sender then delete the email and destroy any =
copies of it. If you are not the intended recipient, any form of =
reproduction, dissemination, copying, disclosure, modification, =
distribution and/or publication or any action taken or omitted to be =
taken in reliance upon this message or its attachments is prohibited and =
may be unlawful.
At present the integrity of e-mail across the Internet cannot be =
guaranteed and messages sent via this medium are potentially at risk. =
All liability is excluded to the extent permitted by law for any claims =
arising as a result of the use of this medium to transmit information by =
or to VillaDirect Management LLC.
|