php-install Digest 10 Sep 2001 11:58:55 -0000 Issue 451

Topics (messages 4255 through 4264):

libphp4.so loading error
        4255 by: Lawonna
        4256 by: Rasmus Lerdorf
        4257 by: Steve Brazill
        4258 by: Lawonna
        4259 by: Lawonna

make problems (yes/lib ????)
        4260 by: Michael Dransfield

PHP Question - Newbie
        4261 by: Chris Ross
        4262 by: Chris Ross

mail() fucntion not sending out any mails
        4263 by: Vivek Jallan

Solaris 2.6, iPlanet 4.1, php 4.06 and Oracle 8.1.7
        4264 by: Robert Lindgren

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


After I installed PHP as a dynamic module, I get an error message when I
try to start Apache which says "syntax error...cannot
load/usr/local/apache/libexec/libphp4.so into server:
libmysqlclient.so.10: cannot load shared object file: No such file or
directory. libmysqlclient.so.10 is located at /mysql/lib/mysql/lib.

I added "/usr/local/mysql" to the /etc/ld.so.config file and ran ldconfig,
but that didn't make it load. Can anyone help me with this? I really would
appreciate it.

Lawonna




> After I installed PHP as a dynamic module, I get an error message when I
> try to start Apache which says "syntax error...cannot
> load/usr/local/apache/libexec/libphp4.so into server:
> libmysqlclient.so.10: cannot load shared object file: No such file or
> directory. libmysqlclient.so.10 is located at /mysql/lib/mysql/lib.
>
> I added "/usr/local/mysql" to the /etc/ld.so.config file and ran ldconfig,
> but that didn't make it load. Can anyone help me with this? I really would
> appreciate it.

Once again you are being inconsistent.  You say that libmysqlclient.so.10
is in /mysql/lib/mysql/lib but you added /usr/local/mysql to
/etc/ld.so.config

First, "/mysql/lib/mysql/lib" is not the same as "/usr/local/mysql"
and second, the file you are supposed to add it to is "/etc/ld.so.conf"

-Rasmus





I know this isn't the 'standard approved' method, but I usually just create
a 'symbolic' link to the file it needs from "/usr/lib" (which is the primary
directory in any "LDPATH").  My PATH to the file is shown in the example
below:

    cd /usr/lib
    ln -s /usr/local/mysql/lib/mysql/libmysqlclient.so.10


----- Original Message -----
From: "Lawonna" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 09, 2001 9:18 AM
Subject: [PHP-INST] libphp4.so loading error


> After I installed PHP as a dynamic module, I get an error message when I
> try to start Apache which says "syntax error...cannot
> load/usr/local/apache/libexec/libphp4.so into server:
> libmysqlclient.so.10: cannot load shared object file: No such file or
> directory. libmysqlclient.so.10 is located at /mysql/lib/mysql/lib.
>
> I added "/usr/local/mysql" to the /etc/ld.so.config file and ran ldconfig,
> but that didn't make it load. Can anyone help me with this? I really would
> appreciate it.
>
> Lawonna
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>





I apologize for my lack of clarity. libmysqlclient.so.10 is located at
/usr/local/mysql/lib/mysql/lib.

I added "/usr/local/mysql" to "/etc/ld.so.conf" and ran ldconfig. Any
assistance you can give me with this would be greatly appreciated.

Lawonna

In article <[EMAIL PROTECTED]>,
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote:


>> After I installed PHP as a dynamic module, I get an error message when
>> I try to start Apache which says "syntax error...cannot
>> load/usr/local/apache/libexec/libphp4.so into server:
>> libmysqlclient.so.10: cannot load shared object file: No such file or
>> directory. libmysqlclient.so.10 is located at /mysql/lib/mysql/lib.
>>
>> I added "/usr/local/mysql" to the /etc/ld.so.config file and ran
>> ldconfig, but that didn't make it load. Can anyone help me with this? I
>> really would appreciate it.
> Once again you are being inconsistent.  You say that
> libmysqlclient.so.10 is in /mysql/lib/mysql/lib but you added
> /usr/local/mysql to /etc/ld.so.config
> First, "/mysql/lib/mysql/lib" is not the same as "/usr/local/mysql" and
> second, the file you are supposed to add it to is "/etc/ld.so.conf" 
> -Rasmus
>




Excellent solution! Worked like a charm! Thanks ever so much! Lawonna

In article <0c1501c13951$5c6f0b40$[EMAIL PROTECTED]>, "Steve
Brazill" <[EMAIL PROTECTED]> wrote:


> I know this isn't the 'standard approved' method, but I usually just
> create a 'symbolic' link to the file it needs from "/usr/lib" (which is
> the primary directory in any "LDPATH").  My PATH to the file is shown in
> the example below:
> 
>     cd /usr/lib
>     ln -s /usr/local/mysql/lib/mysql/libmysqlclient.so.10
> ----- Original Message -----
> From: "Lawonna" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>
> Sent: Sunday, September 09, 2001 9:18 AM Subject: [PHP-INST] libphp4.so
> loading error
>> After I installed PHP as a dynamic module, I get an error message when
>> I try to start Apache which says "syntax error...cannot
>> load/usr/local/apache/libexec/libphp4.so into server:
>> libmysqlclient.so.10: cannot load shared object file: No such file or
>> directory. libmysqlclient.so.10 is located at /mysql/lib/mysql/lib.
>>
>> I added "/usr/local/mysql" to the /etc/ld.so.config file and ran
>> ldconfig, but that didn't make it load. Can anyone help me with this? I
>> really would appreciate it.
>>
>> Lawonna
>>
>> --
>> PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail:
>> [EMAIL PROTECTED] For additional commands, e-mail:
>> [EMAIL PROTECTED] To contact the list administrators,
>> e-mail: [EMAIL PROTECTED]
>>
>




i have tried to install php-4.0.4p1 on red hat 7.0 with this compile

./configure --with-mm=/etc/httpd/mm/ --with-gd --with-apxs=/etc/httpd/bin/ap
xs --with-zlib --with-dom --with-magic-quotes --prefix=/etc/httpd/ --with-qt
-dom --with-ttf=/usr/include/freetype2

the configure part works ok - but when i type make it exits with the
following error

make[1]: Entering directory `/usr/src/php-4.0.4pl1'
/bin/sh /usr/src/php-4.0.4pl1/libtool --silent --mode=link
gcc  -I. -I/usr/src/php-4.0.4pl1/ -I/usr/src/php-4.0.4pl1/main -I/usr/src/ph
p-4.0.4pl1 -I/etc/httpd/include -I/usr/src/php-4.0.4pl1/Zend -I/usr/include/
freetype -I/usr/src/php-4.0.4pl1/ext/mysql/libmysql -I/etc/httpd/mm//include
 -I/usr/src/php-4.0.4pl1/ext/xml/expat/xmltok -I/usr/src/php-4.0.4pl1/ext/xm
l/expat/xmlparse -I/usr/src/php-4.0.4pl1/TSRM  -DLINUX=22 -DNO_DBM_REWRITEMA
P -DMOD_SSL=208101 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM 
-DSHARED_CORE -DXML_BYTE_ORDER=12 -g -O2   -o libphp4.la -rpath
/usr/src/php-4.0.4pl1/libs -avoid-version -L/etc/httpd/mm//lib  -R
/etc/httpd/mm//lib stub.lo  Zend/libZend.la sapi/apache/libsapi.la
main/libmain.la regex/libregex.la ext/domxml/libdomxml.la ext/gd/libgd.la
ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la
ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la
ext/zlib/libzlib.la
TSRM/libtsrm.la -ldl -lz -lmm -lttf -lz -lpng -lgd -lz -lxml -lresolv -lm -l
dl -lcrypt -lnsl -lresolv -Lyes/lib -lz
/usr/src/php-4.0.4pl1/libtool: cd: yes/lib: No such file or directory
libtool: link: warning: cannot determine absolute directory name of
`yes/lib'
libtool: link: passing it literally to the linker, although it might fail
/usr/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.4pl1'
make: *** [all-recursive] Error 1


does anyone know what is going wrong here???

i have recently upgraded many of my software packages to be in line with red
hat 7.1






Our website was running PHP Version 4.0RC1, then our host decided to upgrade
to version 4.0.6. Once they did this our site no longer worked.... every
time we went to a php page it would give an internal error. Now our host
tells us its because we have old php code.... is this possible.

Now they went back to version 4.0RC1, but I'm confused.

I'm new to php, but that would be strange if the updated it and it didn't
support old code. If this is the case can someone point me in the right
direction so I can find how to change my code to be compatible?

Thanks
chris
www.iwinweekly.com





Our website was running PHP Version 4.0RC1, then our host decided to upgrade
to version 4.0.6. Once they did this our site no longer worked.... every
time we went to a php page it would give an internal error. Now our host
tells us its because we have old php code.... is this possible.

Now they went back to version 4.0RC1, but I'm confused.

I'm new to php, but that would be strange if the updated it and it didn't
support old code. If this is the case can someone point me in the right
direction so I can find how to change my code to be compatible?

Thanks
chris
www.iwinweekly.com





Hello,

I have successfully configured PHP4.0.6 on RedHat5.2, all is well but
for
the mail() which does not send out any mail, it does not return any
error
either, i tested it with the following code;

<?php

mail("[EMAIL PROTECTED]", "Test My Subject", "LiniTeste 1\nLine 2\nLine
3");

?>

This does not return an error but does not send out any mail either, i
have also
tested this with variety of other parameters/code available at
http://www.php.net/manual/en/function.mail.php but still no mail is
being send out.

I have edited my php.ini file and it looks like this;

[mail function]
; For Win32 only.
;SMTP = localhost

; For Win32 only.
;sendmail_from = [EMAIL PROTECTED]

; For Unix only.  You may supply arguments as well (default: 'sendmail
-t -i').
sendmail_path = sendmail -t -i


I have also tried substituting sendmail_path = usr/lib/sendmail , i.e.
the path
to my sendmail but nothing sems to work here.

I am using;
PHP4.0.6
sendmail-8.9.3-20.2RS
apache-1.3.14-2.2RS

Please help me in troubleshooting this.

Best Regards,
Vivek






Hi gurus!

I hope someone has a similiar system and can point me in the right 
direction.
Here's the problem.

If I run
configure -with-ldap=/opt/ldapSDK4.0 -with-nsapi=/opt/iplanet 
-with-imap=/usr/local -enable-ftp -enable-sockets
make
make install

every thing work's just fine. But unfortunately I also want to add 
oracle support. So I do
configure -with-ldap=/opt/ldapSDK4.0 -with-nsapi=/opt/iplanet 
-with-oci8=/apps/oracle/product/8.1.7 -with-imap=/usr/local -enable-ftp 
-enable-sockets
make
make install

everything compiles nicely but when I start the webserver(iPlanet) I get 
the message:
[myserver.se]: start failed. (2: unknown early startup error)
[myserver.se]: conf_init: Error running init function load-modules: 
dlopen of /opt/iplanet/bin/libphp4.so failed (ld.so.1: ns-httpd: fatal: 
libclntsh.so.8.0: open failed: No such file or directory)
[myserver.se]: server exit: status 1

Does anybody have a clue?

Thanks in advance

/Robert



Reply via email to