FW: Having "configure" problem with PHP 5.2.14 and EasySoft unixODBC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Let’s try a correct email send-to address this time.  Sigh…
 
Best Regards,
 
Mark V. Dalton
Enterprise Operations
CAO HIR Technology Infrastructure
Office of the Chief Administrative Officer
U. S. House of Representatives
(office) 571-921-3198  (mobile) 202-593-2866
(pager) mdalton1@xxxxxxxxxxxxxxxxxx
 
_____________________________________________
From: Dalton, Mark
Sent: Friday, August 06, 2010 4:56 PM
To: 'php-install@xxxxxxxxxxxx'
Cc: Kemp, David; Wenzel, Ken
Subject: Having "configure" problem with PHP 5.2.14 and EasySoft unixODBC
 
 
This is my first time trying to configure and compile PHP.  We are attempting to integrate EasySoft unixODBC with PHP 5.2.14 inside a Solaris 10 non-global zone.  This is an UltraSPARC T1 processor architecture (T2000).  The ultimate target is a “FastCGI” plugin to the Sun Java System Web Server 7.0 system.
 
Following the PHP Manual Web page I have tried to configure PHP for a subsequent make and have run into a Solaris loader problem.  I tried an educated guess to see if I couldn’t coax the right build environment but it didn’t make any difference:
 
CONFIGURE:   './configure'  '--with-unixODBC=/usr/local/easysoft/unixODBC' '--build=sparc64-sun-solaris2.10'
CC:         gcc
CFLAGS:     -I/usr/include -g -O2
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS
CXX:       
CXXFLAGS:  
INCLUDES:    -I/home/mdalton/php-5.2.14/ext/date/lib -I/usr/include/libxml2
LDFLAGS:    -L/usr/lib  -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 -R/usr/local/easysoft/unixODBC/lib -L/usr/local/easysoft/unixODBC/lib
LIBS:       -lrt -lresolv -lm -lnsl -lsocket  -lgcc -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lodbc -lxml2 -lz -lm -lsocket -lnsl
DLIBS:     
SAPI:       cgi
PHP_RPATHS:  /usr/ucblib /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 /usr/local/easysoft/unixODBC/lib
uname -a:   SunOS www1 5.10 Generic_141414-10 sun4v sparc SUNW,Sun-Fire-T200
 
gcc -o conftest -I/usr/include -g -O2  -D_POSIX_PTHREAD_SEMANTICS -L/usr/lib  -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 -R/usr/local/easysoft/unixODBC/lib -L/usr/local/easysoft/unixODBC/lib conftest.c -lrt -lresolv -lm -lnsl -lsocket  -lgcc -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lodbc -lxml2 -lz -lm -lsocket -lnsl 1>&5
ld: fatal: file /usr/local/easysoft/unixODBC/lib/libodbc.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
 
Any hints to what I’m doing wrong?
 
Thanks, in advance, for any help offered.
 
Best Regards,
 
Mark V. Dalton
Enterprise Operations
CAO HIR Technology Infrastructure
Office of the Chief Administrative Officer
U. S. House of Representatives
(office) 571-921-3198  (mobile) 202-593-2866
(pager) mdalton1@xxxxxxxxxxxxxxxxxx
 
 

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux