Re: libgcc_s.so.1 open failed with Solaris 9

From: Date: Wed, 26 Nov 2003 17:22:15 +0000
Subject: Re: libgcc_s.so.1 open failed with Solaris 9
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-12310@lists.php.net to get a copy of this message
Another fix recieved was In article <ba154189.0311241654.3b94181@posting.google.com>, Madhu Nair <eloormadhu@hotmail.com> wrote: >from Sun website. I verified this libgcc_s.so.1 under >/opt/sfw/gcc-3.2/lib/ env LDFLAGS="-R/opt/sfw/gcc-3.2/lib" ./configure --blah John groenveld@acm.org "Madhu" <madhu.kangara@t-mobile.com> wrote in message news:20031125222205.69277.qmail@pb1.pair.com... > I found the solution and a special thanks to Brian C. Hill ( bchill@bch.net) > I added the path to this gcc library using crle command > # crle -u -l /opt/sfw/gcc-3.2/lib /opt/sfw/lib > Here is the output of crle > # crle > > Configuration file [3]: /var/ld/ld.config > Default Library Path (ELF): /opt/sfw/gcc-3.2/lib:/usr/lib:/opt/sfw/lib > Trusted Directories (ELF): /usr/lib/secure (system default) > > Command line: > crle -c /var/ld/ld.config -l /opt/sfw/gcc-3.2/lib:/usr/lib:/opt/sfw/lib > > > Here /opt/sfw/gcc-3.2/lib is the path to the gcc 3.2 lib > and /opt/sfw/lib is the path to other open source stuff > > After this gmake install went smooth and php is working with apache > > Madhu > > > > > "Madhu" <madhu.kangara@t-mobile.com> wrote in message > news:20031125004953.38638.qmail@pb1.pair.com... > > I am experiencing libgcc_s.so.1 open failed when trying to gmake install > php > > source. I have Solaris 9 (sparc) with gcc-3.2 downloaded from Sun > website. > > I verified this libgcc_s.so.1 under /opt/sfw/gcc-3.2/lib/ > > Any tips? > > > > Here is the debug.log output > > CONFIGURE: './configure' '--with-apxs=/usr/apache/bin/apxs' > > '--enable-libgcc' '--with-zlib' > > '--with-zlib-dir=/opt/local' > > '--with-gd' '--with-jpeg-dir=/opt/local' > > '--with-png-dir=/opt/local' > > '--with-zlib-dir=/opt/local' '--enable-rule=SHARED_CORE' > > '--enable-shared=max' > > CC: gcc > > CFLAGS: -g -O2 > > CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS > > CXX: > > CXXFLAGS: > > INCLUDES: -I$(top_builddir)/Zend -I/opt/local/include > > > LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/opt/sfw/gcc-3.2/lib/gcc-lib/sparc-su > > > n-solaris2.9/3.2 -L/opt/sfw/gcc-3.2/lib/gcc-lib/sparc-sun-solaris2.9/3.2 -R/ > > opt/ > > local/lib -L/opt/local/lib > > LIBS: -lpng -lz -ljpeg -lz -lresolv -lm -ldl -lnsl -lsocket -lgcc > > DLIBS: > > SAPI: apache > > PHP_RPATHS: /usr/ucblib > > /opt/sfw/gcc-3.2/lib/gcc-lib/sparc-sun-solaris2.9/3.2 /opt/local/lib > > uname -a: SunOS vmsun1 5.9 Generic sun4u sparc SUNW,Sun-Blade-100 > > gcc -o > > conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib > > -R/opt/sfw/gcc-3.2/lib/gcc-lib/sparc-sun-solaris2.9/3.2 -L/opt/sfw/gcc-3.2 > /l > > ib/gcc-lib/sparc-sun-solaris2.9/3.2 -R/opt/local/lib -L/opt/local/lib > > conftest.c -lp > > ng -lz -ljpeg -lz -lresolv -lm -ldl -lnsl -lsocket -lgcc 1>&5 > > ld.so.1: ./conftest: fatal: libgcc_s.so.1: open failed: No such file or > > directory

« previous php.install (#12310) next »