Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Fedora 7 x86_64 (home server), IPCop (home gateway), CentOS (work laptop), lots more at work.
Posts: 32
Rep:
PHP Install Error
I'm trying to compile PHP 4.3.11 on Solaris 9 SPARC. I have Apache 1.3.{most recent version} already installed in /wwwroot2 and I'm trying to install php in the same location. I get the ./configure done fine, and the make goes fine also. When I do make install, I get:
Installing PEAR environment: /wwwroot2/lib/php
ld.so.1: /var/tmp/php-4.3.11/sapi/cli/php: fatal: libgcc_s.so.1: open failed: No such file or directory
Killed
make[1]: *** [install-pear-installer] Error 137
make: *** [install-pear] Error 2
I have the libraries installed in the correct place, and I specified every place that the named file is located. Any thoughts? Thanks.
ld.so.1: /var/tmp/php-4.3.11/sapi/cli/php: fatal: libgcc_s.so.1: open failed: No such file or directory
Run-time linker (ld.so.1) is not able to find libgcc_s.so.1 library in the run-time search path. Adding the path of libgcc_s.so.1 to LD_LIBRARY_PATH, should work.
In short: Just make sure that you have libgcc_s.so.1's path in LD_LIBRARY_PATH, before you do "make install".
Distribution: Fedora 7 x86_64 (home server), IPCop (home gateway), CentOS (work laptop), lots more at work.
Posts: 32
Original Poster
Rep:
Okay... New problem, same topic. I'm trying to compile PHP 4.3.11 with IMAP support on Solaris 9. I installed the UW-IMAP Toolkit using PKG-GET (since compiling it doesn't work; it compiles up to mtest then it fails. It makes the libc-client.a file though...).
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for details.
And config.log says:
configure:43642: checking whether IMAP works
configure:43675: cc -o conftest -g -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib -L/usr/local/lib conftest.c -lc-client -lcryp$
"conftest.c", line 1: warning: 43650 is invalid in #line directive
Undefined first referenced
symbol in file
mail_newbody conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 43650 "configure"
#include "confdefs.h"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.