Skip to Content.
Sympa Menu

freetds - Re: [freetds] Problems with freetds DBD::Sybase (HP-UX 11.11, 64bit)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Problems with freetds DBD::Sybase (HP-UX 11.11, 64bit)
  • Date: Wed, 11 Jul 2007 20:48:51 -0400

Stephan Austermühle wrote:
> I am in the unhappy situation that I need to request data from an MS SQL
> server with a Perl script running on HP-UX 11i.
...
First, the compiler stops at
> line 111 in file dbdimp.c complaining about 'Unexpected symbol:
> "context_alloc_mutex".'.

I would ./configure --enable-threadsafe=no instead.

> Next, I had to add the OpenSSL libraries ("-lssl -lcrypto")

Do you need these features? They're not required for basic connectivity.



> Can't make loaded symbols global on this platform while loading
> [...]/lib/site_perl/5.8.8/PA-RISC2.0-LP64/auto/DBD/Sybase/Sybase.sl at
> [...]/lib/5.8.8/PA-RISC2.0-LP64/DynaLoader.pm line 230.
> DBI connect('database=XXXX','XXXX',...) failed: (no error string) at
> ./sybtest line 10

That's too deep in Perl magic for me. Found this:

http://osdir.com/ml/gnome.gtk+.perl/2003-09/msg00257.html

> 14:25:07.467565 26826 (login.c:209):IP address pointer is empty
> 14:25:07.467602 26826 (login.c:211):Server SYBASE not found!

That usually indicates your freetds.conf is wrong, mislocated,
inaccessible, or something. You said tsql worked, so maybe in this case
it's related to the dynaloader error. It's worth checking with
TDSDUMPCONFIG that the file is being used and the server information is
found.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page