freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] FreeTDS, HP/UX, DBD::Sybase unresolved symbols
- From: Patrick van Kleef <iodbc AT openlinksw.com>
- To: freetds AT lists.ibiblio.org
- Subject: Re: [freetds] FreeTDS, HP/UX, DBD::Sybase unresolved symbols
- Date: Mon, 06 Jan 2003 17:47:56 +0100
Hi Andrew,
> I've given up on ODBC. iODBC has been a total compilation nightmare, and
> now it drops core when you CALL_DRIVER against libtdsodbc.sl.0. *sigh*.
I always use the native HP/UX c compiler and use the following line:
CFLAGS="-O -Ae" ./configure .......
I can check with the latest version, but this has always worked. Which
version of iODBC are you using?
> Anyways, I'm compiling DBD::Sybase and get this when DynaLoader calls
> libct:
>
> t/base........../usr/lib/dld.sl: Unresolved symbol: __eprintf (code) from
> /home/ediusers/freetds/lib/libct.sl.0
> /usr/lib/dld.sl: Unresolved symbol: __divdi3 (code) from
> /home/ediusers/freetds/lib/libct.sl.0
This is because you are using the GCC compile as far as i can tell. This
compiler needs the libgcc.a file which you need to add manually to your
makefile as far as i can tell. The latest versions of gcc should also
install a shared library version of the code, but if you link with the
/bin/ld program it will probably not pick this up by default.
Use "gcc --print-libgcc-file-name" to find out exactly where this library
is located. You need to add this complete path to the end of your ld
command.
> Part of me thinks I could try and change the DynaLoader shl_load flags to
> BIND_IMMEDIATE | BIND_NONFATAL, but I think that it would still croak
> later downstream. But, this also may be a linking problem....
Changing the shl_load flags may not help as most likely the FreeTDS code
in eprintf will try to dereference this symbol.
> (I hacked DBD::Sybase to look like DBD::FreeTDS, so I could have
> 2 different DBD::Sybase's co-existing)
>
> So, what is (could?) be the resolution for this problem?
>
Please let me know if i can help you any further with your HP/UX problem.
Best regards,
Patrick
--
Patrick van Kleef Email : iodbc AT openlinksw.com
Maintainer iODBC Web : http://www.iodbc.org/
OpenLink Software
Universal Data Access & Data Integration Technology Providers
-
RE: [freetds] PHP-4.3.0 MSSQL and FreeTDS,
Lowden, James K, 01/06/2003
- RE: [freetds] PHP-4.3.0 MSSQL and FreeTDS, Aliet Santiesteban Sifontes, 01/06/2003
- <Possible follow-up(s)>
-
RE: [freetds] PHP-4.3.0 MSSQL and FreeTDS,
Lowden, James K, 01/06/2003
-
[freetds] FreeTDS, HP/UX, DBD::Sybase unresolved symbols,
Andrew Stanley, 01/06/2003
-
Re: [freetds] FreeTDS, HP/UX, DBD::Sybase unresolved symbols,
Patrick van Kleef, 01/06/2003
-
Re: [freetds] FreeTDS, HP/UX, DBD::Sybase unresolved symbols,
Andrew Stanley, 01/06/2003
-
Re: [freetds] FreeTDS, HP/UX, DBD::Sybase unresolved symbols,
Andrew Stanley, 01/06/2003
- Re: [freetds] FreeTDS, HP/UX, DBD::Sybase unresolved symbols, Michael Peppler, 01/06/2003
-
Re: [freetds] FreeTDS, HP/UX, DBD::Sybase unresolved symbols,
Andrew Stanley, 01/06/2003
-
Re: [freetds] FreeTDS, HP/UX, DBD::Sybase unresolved symbols,
Andrew Stanley, 01/06/2003
-
Re: [freetds] FreeTDS, HP/UX, DBD::Sybase unresolved symbols,
Patrick van Kleef, 01/06/2003
- RE: [freetds] PHP-4.3.0 MSSQL and FreeTDS, Aliet Santiesteban Sifontes, 01/06/2003
- [freetds] Is really working for someone the new mssql support in PHP-4.3.0 with the native mssql extension???, Aliet Santiesteban Sifontes, 01/06/2003
-
[freetds] FreeTDS, HP/UX, DBD::Sybase unresolved symbols,
Andrew Stanley, 01/06/2003
Archive powered by MHonArc 2.6.24.