php 4.0.6 and iodbc...additional info for question

From: Date: Wed, 11 Jul 2001 04:06:47 +0000
Subject: php 4.0.6 and iodbc...additional info for question
Groups: php.install 
Request: Send a blank email to php-install+get-3495@lists.php.net to get a copy of this message
I'm trying to install 4.0.6 on Mac OS X Server 10.0.4 (has Apache 1.3.19). I'm using iODBC with the <ftp://www.openlinksw.com/open40/m2kozzzz.taz> files. I was able to install it once on a Mac OS X box that had Apache 1.3.20 and using PHP 4.0.6 and the same iODBC. All my files are in the /usr/local/src and I'm using sudo with all my commands. Where could it be going wrong? It seems that attachments aren't accepted. Here's the info from the debug.log after I run ./configure: CONFIGURE: './configure' '--with-xml' '--with-zlib' '--with-apxs=/usr/sbin/apxs' '--with-iodbc=../odbcsdk' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-debug' CC: cc CFLAGS: -g -O2 CPPFLAGS: -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DHARD_SERVER_LIMIT=1024 -DEAPI -DSUPPORT_UTF8 CXX: CXXFLAGS: INCLUDES: -I/usr/local/src/odbcsdk/include -I/usr/include/httpd -I$(top_builddir)/Zend -I/usr/local/src/php-4.0.6/ext/mysql/libmysql -I../odbcsdk/include LDFLAGS: -L/usr/local/src/odbcsdk/lib -L/usr/local/src/odbcsdk/lib LIBS: -liodbc -lz -lm DLIBS: SAPI: apache PHP_RPATHS: /usr/local/src/odbcsdk/lib uname -a: Darwin fileserver 1.3.7 Darwin Kernel Version 1.3.7: Sat Jun 9 11:12:48 PDT 2001; root:xnu/xnu-124.13.obj~1/RELEASE_PPC Power Macintosh powerpc cc -o conftest -g -O2 -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DHARD_SERVER_LIMIT=1024 -DEAPI -DSUPPORT_UTF8 -L/usr/local/src/odbcsdk/lib -L/usr/local/src/odbcsdk/lib conftest.c -liodbc -lz -lm 1>&5 dyld: ./conftest can't open library: .libs/libiodbc.dylib (No such file or directory, errno = 2) I've gone through the "how to" at <http://www.iodbc.org/iodbc-phposxHOWTO.html> but I've still been having the problem. What really bothers me is I had gotten it to config and make without problems ONCE (out of ~12 times). grrr.... I don't know what I did differently that one time that allowed it to work and fine the libs. I do know that one thing that is different after everything is installed was that the .dylib files had gotten installed into /usr/local/lib: -rwxr-xr-x 1 root staff 296552 Jul 7 16:07 libiodbc.2.1.5.dylib lrwxr-xr-x 1 root staff 20 Jul 7 16:07 libiodbc.2.dylib -> libiodbc.2.1 .5.dylib -rw-r--r-- 1 root staff 531360 Jul 7 16:07 libiodbc.a lrwxr-xr-x 1 root staff 20 Jul 7 16:07 libiodbc.dylib -> libiodbc.2.1.5 .dylib -rwxr-xr-x 1 root staff 717 Jul 7 16:07 libiodbc.la -rwxr-xr-x 1 root staff 204076 Jul 7 16:07 libiodbcinst.2.1.5.dylib lrwxr-xr-x 1 root staff 24 Jul 7 16:07 libiodbcinst.2.dylib -> libiodbc inst.2.1.5.dylib -rw-r--r-- 1 root staff 559892 Jul 7 16:07 libiodbcinst.a lrwxr-xr-x 1 root staff 24 Jul 7 16:07 libiodbcinst.dylib -> libiodbcin st.2.1.5.dylib -rwxr-xr-x 1 root staff 745 Jul 7 16:07 libiodbcinst.la These files didn't get installed when ./configure can't find the .libs folder (and I'm assuming some other stuff since just making sure those files are there doesn't make it work either). Thanks. -- -Ryan --- Mr. Ryan La Riviere Drexel University; College of Engineering The Drexel Engineering Curriculum Philadelphia, PA 19104 hp: <http://staff.tdec.drexel.edu/larz/> w: 215.895.6010

« previous php.install (#3495) next »