<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Configuring MCrypt Support For Mod_PHP</title>
	<atom:link href="http://www.philchen.com/2007/06/11/configuring-mcrypt-support-for-mod_php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.philchen.com/2007/06/11/configuring-mcrypt-support-for-mod_php</link>
	<description>Phil Chen</description>
	<lastBuildDate>Sun, 22 Jan 2012 06:08:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: phil</title>
		<link>http://www.philchen.com/2007/06/11/configuring-mcrypt-support-for-mod_php/comment-page-1#comment-1054</link>
		<dc:creator>phil</dc:creator>
		<pubDate>Sat, 31 May 2008 00:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/2007/06/11/configuring-mcrypt-support-for-mod_php/#comment-1054</guid>
		<description>No need to modify httpd.conf or php.ini prior to the execution of the ./configure of PHP.

Regarding the error you are getting 3 things:

the error is Syntax error on line 233 of /usr/oracleAS904/Apache/Apache/conf/httpd.conf:
Cannot load /usr/oracleAS904/Apache/Apache/libexec/libphp4.so into server: ld.so.1: httpd: fatal: libgcc_s.so.1: open failed: No such file or directory.

1) Where is your libgcc_s.so.1 ?

I have that particular shared object in:
/lib/libgcc_s.so.1
/lib64/libgcc_s.so.1

I would find your libgcc_s.so.1 file and set your:
LD_LIBRARY_PATH or equivelent in your .bashrc file or equivilent

export LD_LIBRARY_PATH=/var/lib/mysql:/usr/local/lib:/usr/lib:/lib

don&#039;t forget to source it. For the make of apache.

2) Another thing is what version of GCC are you running, it&#039;s possible you may need to recompile your Apache with the same GCC version as the other packages you are compiling for mcrypt.

I use GCC 3.4.6 its possible you compiled apache with an older version of GCC and now are using a newer version for mcrypt.


3) You have GCC compiled in a non standard location see the below link for info about that possible cause:

http://archives.postgresql.org/pgsql-admin/2002-09/msg00016.php

--

Bottom line I think its a pathing issue or a mis-match GCC version issue or a non standard GCC location issue.

-Phil</description>
		<content:encoded><![CDATA[<p>No need to modify httpd.conf or php.ini prior to the execution of the ./configure of PHP.</p>
<p>Regarding the error you are getting 3 things:</p>
<p>the error is Syntax error on line 233 of /usr/oracleAS904/Apache/Apache/conf/httpd.conf:<br />
Cannot load /usr/oracleAS904/Apache/Apache/libexec/libphp4.so into server: ld.so.1: httpd: fatal: libgcc_s.so.1: open failed: No such file or directory.</p>
<p>1) Where is your libgcc_s.so.1 ?</p>
<p>I have that particular shared object in:<br />
/lib/libgcc_s.so.1<br />
/lib64/libgcc_s.so.1</p>
<p>I would find your libgcc_s.so.1 file and set your:<br />
LD_LIBRARY_PATH or equivelent in your .bashrc file or equivilent</p>
<p>export LD_LIBRARY_PATH=/var/lib/mysql:/usr/local/lib:/usr/lib:/lib</p>
<p>don&#8217;t forget to source it. For the make of apache.</p>
<p>2) Another thing is what version of GCC are you running, it&#8217;s possible you may need to recompile your Apache with the same GCC version as the other packages you are compiling for mcrypt.</p>
<p>I use GCC 3.4.6 its possible you compiled apache with an older version of GCC and now are using a newer version for mcrypt.</p>
<p>3) You have GCC compiled in a non standard location see the below link for info about that possible cause:</p>
<p><a href="http://archives.postgresql.org/pgsql-admin/2002-09/msg00016.php" rel="nofollow">http://archives.postgresql.org/pgsql-admin/2002-09/msg00016.php</a></p>
<p>&#8211;</p>
<p>Bottom line I think its a pathing issue or a mis-match GCC version issue or a non standard GCC location issue.</p>
<p>-Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jane Wong</title>
		<link>http://www.philchen.com/2007/06/11/configuring-mcrypt-support-for-mod_php/comment-page-1#comment-1053</link>
		<dc:creator>Jane Wong</dc:creator>
		<pubDate>Fri, 30 May 2008 22:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/2007/06/11/configuring-mcrypt-support-for-mod_php/#comment-1053</guid>
		<description>Prior to the execution of php &#039;configure&#039;, any need to modify files: httpd.conf and php.ini ?

thanks</description>
		<content:encoded><![CDATA[<p>Prior to the execution of php &#8216;configure&#8217;, any need to modify files: httpd.conf and php.ini ?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jane Wong</title>
		<link>http://www.philchen.com/2007/06/11/configuring-mcrypt-support-for-mod_php/comment-page-1#comment-1052</link>
		<dc:creator>Jane Wong</dc:creator>
		<pubDate>Fri, 30 May 2008 21:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/2007/06/11/configuring-mcrypt-support-for-mod_php/#comment-1052</guid>
		<description>I got no errors when configured libmcrypt 2.5.8, mhash 0.9.9 and mcrypt 2.6.7. and php 4.3.10. But, fail to start the HTTP server: the error is Syntax error on line 233 of /usr/oracleAS904/Apache/Apache/conf/httpd.conf:
Cannot load /usr/oracleAS904/Apache/Apache/libexec/libphp4.so into server: ld.so.1: httpd: fatal: libgcc_s.so.1: open failed: No such file or directory. 

Following parameters were used when configuring PHP:
./configure --enable-wddx --with-zlib --with-apxs=$OAS_HOME/Apache/Apache/bin/apxs --with-config-file-path=$OAS_HOME/Apache/Apache/conf --with-oci8=$OAS_HOME --prefix=$OAS_HOME --with-mcrypt=$OAS_HOME/libmcrypt/mcrypt-2.6.7 

I know the problem is with mcrypt. When configured without mcrypt, HTTP server is able to start: ./configure --enable-wddx --with-zlib --with-apxs=$OAS_HOME/Apache/Apache/bin/apxs --with-config-file-path=$OAS_HOME/Apache/Apache/conf --with-oci8=$OAS_HOME --prefix=$OAS_HOME

Don&#039;t know what&#039;s wrong with the mcrypt setup? 

thanks in advance.</description>
		<content:encoded><![CDATA[<p>I got no errors when configured libmcrypt 2.5.8, mhash 0.9.9 and mcrypt 2.6.7. and php 4.3.10. But, fail to start the HTTP server: the error is Syntax error on line 233 of /usr/oracleAS904/Apache/Apache/conf/httpd.conf:<br />
Cannot load /usr/oracleAS904/Apache/Apache/libexec/libphp4.so into server: ld.so.1: httpd: fatal: libgcc_s.so.1: open failed: No such file or directory. </p>
<p>Following parameters were used when configuring PHP:<br />
./configure &#8211;enable-wddx &#8211;with-zlib &#8211;with-apxs=$OAS_HOME/Apache/Apache/bin/apxs &#8211;with-config-file-path=$OAS_HOME/Apache/Apache/conf &#8211;with-oci8=$OAS_HOME &#8211;prefix=$OAS_HOME &#8211;with-mcrypt=$OAS_HOME/libmcrypt/mcrypt-2.6.7 </p>
<p>I know the problem is with mcrypt. When configured without mcrypt, HTTP server is able to start: ./configure &#8211;enable-wddx &#8211;with-zlib &#8211;with-apxs=$OAS_HOME/Apache/Apache/bin/apxs &#8211;with-config-file-path=$OAS_HOME/Apache/Apache/conf &#8211;with-oci8=$OAS_HOME &#8211;prefix=$OAS_HOME</p>
<p>Don&#8217;t know what&#8217;s wrong with the mcrypt setup? </p>
<p>thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.philchen.com/2007/06/11/configuring-mcrypt-support-for-mod_php/comment-page-1#comment-1035</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Tue, 27 May 2008 00:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/2007/06/11/configuring-mcrypt-support-for-mod_php/#comment-1035</guid>
		<description>I haven&#039;t personally installed MCrypt on Solaris 9 64-bit, however the error you are getting does appear to be a mismatch of 32bit and 64bit lib and compile.

I recall reading somewhere the default flags, in common/Makefile.common, for v9 sol8 64 specify 64-bit compilation via the -m64 flag.

I did my compile on a 1950 Dell 64bit Centos server btw, but in 32bit mode.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t personally installed MCrypt on Solaris 9 64-bit, however the error you are getting does appear to be a mismatch of 32bit and 64bit lib and compile.</p>
<p>I recall reading somewhere the default flags, in common/Makefile.common, for v9 sol8 64 specify 64-bit compilation via the -m64 flag.</p>
<p>I did my compile on a 1950 Dell 64bit Centos server btw, but in 32bit mode.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jane Wong</title>
		<link>http://www.philchen.com/2007/06/11/configuring-mcrypt-support-for-mod_php/comment-page-1#comment-1033</link>
		<dc:creator>Jane Wong</dc:creator>
		<pubDate>Mon, 26 May 2008 20:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/2007/06/11/configuring-mcrypt-support-for-mod_php/#comment-1033</guid>
		<description>Any idea if MCrypt works on Solaris 9 64-bit, php 4.3 and Apache 1.x? 

I tried to compile libmcrypt 2.5.8, but got following error:
/usr/local/lib/sparcv9/libstdc++.so.5: wrong ELF class: ELFCLASS64

Does that mean I am using the 64-bit lib to compile the 32-bit source? Any idea as how to fix it? 

thanks</description>
		<content:encoded><![CDATA[<p>Any idea if MCrypt works on Solaris 9 64-bit, php 4.3 and Apache 1.x? </p>
<p>I tried to compile libmcrypt 2.5.8, but got following error:<br />
/usr/local/lib/sparcv9/libstdc++.so.5: wrong ELF class: ELFCLASS64</p>
<p>Does that mean I am using the 64-bit lib to compile the 32-bit source? Any idea as how to fix it? </p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

