LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
LinkBack Search this Thread
Old 06-02-2005, 02:17 PM   #1
omega71122
Member
 
Registered: Mar 2005
Location: Central Ohio, USA
Distribution: Fedora 7 x86_64 (home server), IPCop (home gateway), CentOS (work laptop), lots more at work.
Posts: 32

Rep: Reputation: 15
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.
 
Old 06-02-2005, 06:46 PM   #2
technopark02
Member
 
Registered: Feb 2005
Distribution: Solaris 8 - 11, JDS Linux 3.0
Posts: 99

Rep: Reputation: 15
Code:
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".
 
Old 06-03-2005, 08:16 AM   #3
omega71122
Member
 
Registered: Mar 2005
Location: Central Ohio, USA
Distribution: Fedora 7 x86_64 (home server), IPCop (home gateway), CentOS (work laptop), lots more at work.
Posts: 32

Original Poster
Rep: Reputation: 15
Got it fixed. It was in one of the locations in the LD_LIBRARY_PATH, but not the first. So I just added it in the first and it worked.
 
Old 06-06-2005, 10:38 AM   #4
omega71122
Member
 
Registered: Mar 2005
Location: Central Ohio, USA
Distribution: Fedora 7 x86_64 (home server), IPCop (home gateway), CentOS (work laptop), lots more at work.
Posts: 32

Original Poster
Rep: Reputation: 15
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...).

Anyway, here's my ./configure command:

# ./configure --with-apxs=/wwwroot2/bin/apxs --prefix=/wwwroot2 --with-gettext --with-zlib --with-HTTP_Request --with-Log --with-xml --with-mime-magic --enable-mime-magic --with-domxslt --with-domexslt --enable-ftp --with-dom=/usr/local --libdir=/usr/lib --with-imap --without-ssl

And here's the relavent output...

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"

void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char mail_newbody();
int main() {
mail_newbody();
return 0;
}

What am I/is it doing wrong? Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP install with T1lib error dfhzn Suse/Novell 3 05-31-2005 02:31 AM
Install PHP - Error During Compile Sitaga Linux - Software 3 01-13-2005 12:04 PM
configure php install error obj63 Linux - Software 2 08-18-2004 09:19 PM
php install error matt3333 Linux - Software 1 04-24-2003 12:24 AM
error with php install? wujimon Linux - Newbie 6 02-10-2003 09:38 AM


All times are GMT -5. The time now is 11:53 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration