[freetds] problem with FreeTDS compiling with PHP 5
Aaron (Rusty) Lloyd
rusty at rustmon.org
Mon Oct 17 10:42:26 EDT 2005
Hello!
I am hoping folks can help me here.
I'm using a Linux server, running this RedHat variant:
Linux myhost 2.6.9-5.0.5.ELsmp #1 SMP Fri Apr 8 14:29:47
EDT 2005 i686 i686 i386 GNU/Linux
Also running:
PHP 5.05, compiled with the apache2 weberver
freeTDS distribution 0.63
now, here is the thing:
PHP 5 seems to make fine with both of these configurations:
./configure --with-apxs2=/usr/sbin/apxs
and
./configure --with-apxs2=/usr/sbin/apxs --with-mssql=/usr/local/freetds
The weird thing is that when I restart apache using the first PHP
configuration,
it starts fine.
When I run the second configuration, I get this error:
[root at myhost]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 1026 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp5.so into server: libsybdb.so.5: failed
to map segment from shared object: Permission denied
the libsybdb.so.5 is found here:/usr/local/freetds/lib
My PATH and my LD_LIBRARY_PATH have this directory included as well as
/usr/local/freetds/bin.
Anyone know what I could be doing wrong here?
Thanks for any help!
Please send responses to rusty at rustmon.org, as I do not read this group
regularly.
Thanks again!
Rusty
--
* Aaron (Rusty) Lloyd * rusty at rustmon dot org
* Chivalry, Honor, Courtesy * Vices to live by.
* http://www.rustmon.org * http://www.wearyellow.com
* Mind, Body, Soul. Relationship, Career, Life. Turn it up a notch!
"Tiki's running like someone's chasing him!"
"Uh - they are."
- Stuart Scott to Kenny Mayne, ESPN:SportsCenter, 10/11/04
More information about the FreeTDS
mailing list