Bug #16286 Updated: undefined symbol: SQLParamData

From: Date: Wed, 27 Mar 2002 15:24:39 +0000
Subject: Bug #16286 Updated: undefined symbol: SQLParamData
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3489@lists.php.net to get a copy of this message
ID: 16286 Updated by: gory@alphasoft-bg.com Reported By: gory@alphasoft-bg.com Status: Open Bug Type: ODBC related Operating System: Slackware 7.1 PHP Version: 4.1.2 New Comment: also try with CUSTOM_ODBC_LIBS="-llibdblib8.so -llibdbodbc8.so" but same thing Previous Comments: ------------------------------------------------------------------------ [2002-03-26 15:24:57] sniper@php.net reclassified ------------------------------------------------------------------------ [2002-03-26 08:19:30] gory@alphasoft-bg.com I'm trying to compile php with custom odbc support (Sybase SQL Anywhere 8) and i get this :((( Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: SQLParamData ------------------ CUSTOM_ODBC_LIBS="-l/usr/local/sybase/SYBSsa8/lib/libodbc.so -l/usr/local/sybase/SYBSsa8/lib/libodbcinst.so" #CUSTOM_ODBC_LIBS="-llibodbc.so -llibodbcinst.so" - tried also export CUSTOM_ODBC_LIBS CPPFLAGS="-DODBC_QNX -DSQLANY_BUG" #CPPFLAGS="-DODBC_UNIX -DSQLANY_BUG" - tried also #CPPFLAGS="-DODBC_UNIX" - tried also #CPPFLAGS="-DODBC_QNX" - tried also export CPPFLAGS ------------------ make clean rm config.cache ./configure \ --with-apxs=/usr/local/apache/bin/apxs \ --with-mysql=/usr/local/mysql \ --with-iodbc=/usr/local \ --with-custom-odbc=/usr/local/sybase/SYBSsa8 \ --with-zlib \ --with-gd=/usr/local \ --with-png-dir=/usr/local/lib \ --with-freetype-dir=/usr/local/lib \ --with-jpeg-dir=/usr/local make make install ------------------ ldd /usr/local/apache/libexec/libphp4.so libdl.so.2 => /lib/libdl.so.2 (0x40186000) libz.so.1 => /usr/local/lib/libz.so.1 (0x40189000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40197000) libresolv.so.2 => /lib/libresolv.so.2 (0x401c4000) libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x401d2000) libpng.so.3 => /usr/local/lib/libpng.so.3 (0x4020b000) libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x4024a000) libm.so.6 => /lib/libm.so.6 (0x40269000) libnsl.so.1 => /lib/libnsl.so.1 (0x40285000) libc.so.6 => /lib/libc.so.6 (0x4029a000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) ------------------ I'm not sure is this a bug or lack of documetation induce me to wrong way. --with-custom-odbc[=DIR] Include a user defined ODBC support. The DIR is ODBC install base directory, which defaults to /usr/local. Make sure to define CUSTOM_ODBC_LIBS and have some odbc.h in your include dirs. E.g., you should define following for Sybase SQL Anywhere 5.5.00 on QNX, prior to run configure script: CPPFLAGS="-DODBC_QNX -DSQLANY_BUG" LDFLAGS=-lunix CUSTOM_ODBC_LIBS="-ldblib -lodbc". ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16286&edit=1

« previous php.bugs (#3489) next »