Skip to Content.
Sympa Menu

freetds - [freetds] php undefined symbol: mssql_module_entry (cannot load phpwith --with-mssql=/usr/local/freetds)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Carlos García <cgarcia AT intdatacollection.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] php undefined symbol: mssql_module_entry (cannot load phpwith --with-mssql=/usr/local/freetds)
  • Date: Tue, 07 Nov 2006 12:49:43 -0800

Thanks a lot !!
:-(
Can you help? These are the results for both commands you suggested. (rdd and readlf). /libsybdb /path is there.


[root@qonos php-5.1.6]# *ldd* /wwwroot/modules/libphp5.so
libcrypt.so.1 => /lib/libcrypt.so.1 (0xf6c62000)
libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0xf6b28000)
* libsybdb.so.5 => /usr/local/freetds/lib/libsybdb.so.5 (0xf6ae1000)*
libresolv.so.2 => /lib/libresolv.so.2 (0xf6acd000)
libm.so.6 => /lib/tls/libm.so.6 (0xf6aaa000)
libdl.so.2 => /lib/libdl.so.2 (0xf6aa6000)
libnsl.so.1 => /lib/libnsl.so.1 (0xf6a90000)
libz.so.1 => /usr/lib/libz.so.1 (0xf6a7f000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xf698c000)
libc.so.6 => /lib/tls/libc.so.6 (0xf6865000)
libnss_files.so.2 => /lib/libnss_files.so.2 (0xf685a000)
libnss_dns.so.2 => /lib/libnss_dns.so.2 (0xf6854000)
/lib/ld-linux.so.2 (0x003b3000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xf6841000)

[root@qonos php-5.1.6]# *readelf *-d /wwwroot/modules/libphp5.so | grep -i rpath
0x0000000f (RPATH) Library rpath: [/usr/local/freetds/lib]
[root@qonos php-5.1.6]# readelf -d /wwwroot/modules/libphp5.so | grep -i rpath
0x0000000f (RPATH) Library rpath: [/usr/local/freetds/lib]

Where is RPATH defined? What should i do?

-----
Put that aside, I've built PHP with sybase and mssql, no errors at all, but /Call to undefined function sybase_connect()/ messages. I've read i can connect to MS-SQL using freetds. Any suggestions.
-----

Sorry, I don't mean to mix subjects.

Please help.

Thanks !!

Carlos
















Archive powered by MHonArc 2.6.24.

Top of Page