RE: [PHP-INST] Problem loading libiodbc.so.2

From: Date: Mon, 23 Jul 2001 14:27:26 +0000
Subject: RE: [PHP-INST] Problem loading libiodbc.so.2
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-3679@lists.php.net to get a copy of this message
Neil, You must have your LD_LIBRARY_PATH environment variable set (pointing to odbcsdk/lib) before starting apache. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Data Integration Technology Providers > -----Original Message----- > From: Neil Aggarwal [mailto:neil@JAMMConsulting.com] > Sent: Saturday, July 21, 2001 8:44 PM > To: php-install@lists.php.net > Subject: [PHP-INST] Problem loading libiodbc.so.2 > > > Hello: > > I am trying to set-up odbc on my RedHat 7.1 Server. > I want the PHP as a DSO for apache. > > Here is what I did: > > Logged in as root > cd /usr/local > > Downloaded the file > ftp://www.openlinksw.com/open40/l3kozzzz.taz > mkdir odbc > cd odbc > tar zxvf ../l3kozzzz.taz > > cd /usr/local > Downloaded the php 4.0.6 source file from > http://us4.php.net/downloads.php > > tar zxvf php-4.0.6.tar.gz > cd php-4.0.6 > > ./configure --with-zlib --with-iodbc=/usr/local/odbc/odbcsdk > --with-mysql=/u > sr/local/mysql --with-apxs=/usr/local/apache/bin/apxs > make > make install > > cp php.ini-dist /usr/local/lib/php.ini > vi /etc/ld.so.conf > Added a line: > /usr/local/odbc/odbcsdk/lib > > When I tried to start apache via apachectl restart, I got this message > Starting apache: Syntax error on line 206 of > /usr/local/apache/conf/httpd.conf: > Cannot load /usr/local/apache/libexec/libphp4.so into server: > libiodbc.so.2: > cannot load shared object file: No such file or directory > /usr/local/apache/bin/apachectl startssl: httpd could not be started > > The lib files are existing and they should be loaded via the > /etc/ld.so.conf > file. > Any ideas why apache cant find them? > > Thanks, > Neil. > > -- > Neil Aggarwal > JAMM Consulting, Inc. (972) 612-6056, > http://www.JAMMConsulting.com > Custom Internet Development Ecommerce, Java, JSP, servlets, databases > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.install (#3679) next »