Thread View: borland.public.interbase.interclient
3 messages
3 total messages
Started by Diego
Wed, 04 Oct 2006 12:32
php and interbase compilation problem
Author: Diego
Date: Wed, 04 Oct 2006 12:32
Date: Wed, 04 Oct 2006 12:32
32 lines
2565 bytes
2565 bytes
Hello
I try to use Interbase Client with PHP to work with an interbase database.
I work on Solaris 8, with php 5.1.4 and apache 2.0.55.
So, i have to recompile my php with the option: "--with-interbase=shared,/opt/app/apache/SoftAnx/Interbase/7.5"
The compilation fails with the following error message :
...
checking for isc_detach_database in -lib_util... no
configure: error: libgds, libib_util or libfbclient not found! Check config.log for more information
In the config.log, I has the following error :
...
configure:49496: checking for isc_detach_database in -lib_util
configure:49515: gcc -o conftest -I/usr/local/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/opt/app/apache/SoftAnx/Interbase/7.5/lib -L/opt/app/apache/SoftAnx/Interbase/7.5/lib -liconv -L/usr/local/lib -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2 -L/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2 -R/usr/local/lib -L/usr/local/lib conftest.c -lib_util -liconv -lresolv -lm -ldl -lnsl -lsocket -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl 1>&5
Undefined first referenced
symbol in file
isc_detach_database /var/tmp//cc8FeqZi.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 49504 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char isc_detach_database(
The 3 libraries are wel installed and my LD_LIBRARY_PATH is correct...
Thanks for help
Di�go
Re: php and interbase compilation problem
Author: Quinn Wildman
Date: Wed, 04 Oct 2006 20:27
Date: Wed, 04 Oct 2006 20:27
39 lines
3115 bytes
3115 bytes
I've never used php, but based on what I'm reading here, it doesn't use java, but rather uses the InterBase native client. That's fine, but it first means you've posted to the wrong section. :-) My hunch as to your problem here is the InterBase client simply is not installed. Could that be the case? Diego wrote: > Hello > I try to use Interbase Client with PHP to work with an interbase database. > I work on Solaris 8, with php 5.1.4 and apache 2.0.55. > So, i have to recompile my php with the option: "--with-interbase=shared,/opt/app/apache/SoftAnx/Interbase/7.5" > The compilation fails with the following error message : > ... > checking for isc_detach_database in -lib_util... no > configure: error: libgds, libib_util or libfbclient not found! Check config.log for more information > > In the config.log, I has the following error : > ... > configure:49496: checking for isc_detach_database in -lib_util > configure:49515: gcc -o conftest -I/usr/local/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/opt/app/apache/SoftAnx/Interbase/7.5/lib -L/opt/app/apache/SoftAnx/Interbase/7.5/lib -liconv -L/usr/local/lib -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2 -L/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2 -R/usr/local/lib -L/usr/local/lib conftest.c -lib_util -liconv -lresolv -lm -ldl -lnsl -lsocket -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl 1>&5 > Undefined first referenced > symbol in file > isc_detach_database /var/tmp//cc8FeqZi.o > ld: fatal: Symbol referencing errors. No output written to conftest > collect2: ld returned 1 exit status > configure: failed program was: > #line 49504 "configure" > #include "confdefs.h" > /* Override any gcc2 internal prototype to avoid an error. */ > /* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ > char isc_detach_database( > > The 3 libraries are wel installed and my LD_LIBRARY_PATH is correct... > > Thanks for help > > Di�go
Re: php and interbase compilation problem
Author: Di�go
Date: Thu, 05 Oct 2006 07:35
Date: Thu, 05 Oct 2006 07:35
8 lines
1173 bytes
1173 bytes
Thanks for your answer. The interbase native client is wel installed. In windows machines you simply need to add a dll and restart your php-apache server...and it works. On Unix symtem symtem you need to install the native Interbase client and to recompile the PHP server. Di�go
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads