RE: [PHP] Installing ODBC
| From: | Andrew Hill | Date: | Tue, 30 Oct 2001 17:55:19 +0000 |
| Subject: | RE: [PHP] Installing ODBC | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72906@lists.php.net to get a copy of this message | ||
Hi,
You should compile --with-iodbc pointing to the odbcsdk directory, not just
the libiodbc file.
The SDK is available at www.iodbc.org.
You will also need your LD_LIBRARY_PATH varible set to include the directory
where libiodbc is.
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Data Integration Technology Providers
> -----Original Message-----
> From: webmaster uva [mailto:webmaster@uva.es]
> Sent: Tuesday, October 30, 2001 12:53 PM
> To: php
> Subject: [PHP] Installing ODBC
>
>
> Hello,
>
> I have problems compiling libiodbc-3.0.5
> I have tried to compile being root and being a normal user
> and I get the same error.
> I execute
> $ ./configure --prefix=/usr/local
> --exec-prefix=/usr/local --with-iodbc-inidir=/etc --build=i686
> and it works properly (I think)
> when I execute
> $ make
> I get the next error.
>
> *** Warning: inter-library dependencies are not known to be supported.
> *** All declared inter-library dependencies are being dropped.
> *** The inter-library dependencies that have been dropped here will be
> *** automatically added whenever a program is linked with this library
> *** or is declared to -dlopen it.
> gcc -shared catalog.lo connect.lo dlf.lo dlproc.lo execute.lo
> fetch.lo hdbc.lo henv.lo herr.lo hstmt.lo info.lo itrace.lo
> misc.lo prepare.lo result.lo odbc3.lo -Wl,-soname -Wl,
> -Wl,-retain-symbols-file -Wl,./iodbc.exp -o .libs/
> /usr/i386-slackware-linux/bin/ld: cannot open output file .libs/:
> Is a directory
> collect2: ld returned 1 exit status
> gmake[1]: *** [libiodbc.la] Error 1
> gmake[1]: Leaving directory `/opt/src/libiodbc-3.0.5/iodbc'
> gmake: *** [all-recursive] Error 1
>
> Please, could you help me?
>
> I am trying to install it on a linux machine.
>
> I am trying to connect that linux machine with Apache and PHP
> with a Windows NT with SQL-Server.
> Would I need any other software on the Linux or the NT machines?
>
> Thanks
>
> Regards.
> Félix García Renedo
> mailto:felix@uva.es
> mailto:webmaster@uva.es
> Tfn: 983-423000 Ext. 26520
> Fax: 983-423271
> Centro de Telecomunicaciones e Informatica
> Universidad de Valladolid
> España
>
>