Re: native informix support with SDK? (error running apache)
| From: | Jeff Bluemel | Date: | Sun, 20 Oct 2002 19:00:35 +0000 |
| Subject: | Re: native informix support with SDK? (error running apache) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120681@lists.php.net to get a copy of this message | ||
I found a solution to this...
ar x $INFORMIXDIR/lib/esql/libifgen.a
gcc -shared -o libifgen.so *.o
cp libifgen.so $INFORMIXDIR/lib/esql
"Jeff Bluemel" <jeff@domintcom.com> wrote in message
news:20021020042823.17798.qmail@pb1.pair.com...
> I've got a quesiton... I'm using informix through ODBC instead of native
> support because it was my understanding that if informix is running on
> another server I couldn't use the native informix support.
>
> however, when I was looking at php's website php.net/ifx it mentioned
> support with newer versions of the informix SDK (which is used to connect
to
> informix running on other servers).
>
> I've got the following loading as enviroment variables in /etc/profile;
>
> export INFORMIXDIR=/opt/informix
> export ODBCINI=/usr/local/etc/odbc.ini
> export INFORMIXSERVER=m_srv
>
> now - I get php to compile, make, and make install. however, when I try
to
> start apache I get the following error;
>
> "Syntax error on line 211 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server:
> /opt/informix/lib/
> esql/libifgen.so: undefined symbol: stat
> /usr/local/apache/bin/apachectl start: httpd could not be started"
>
>
>