Operating System - HP-UX
1751694 Members
5259 Online
108781 Solutions
New Discussion юеВ

Re: perl 5.6.1, DBI, DBD problems - Old Thread - Do Not Reply!

 
SOLVED
Go to solution
H.Merijn Brand (procura
Honored Contributor

Re: perl 5.6.1, DBI, DBD problems - Old Thread - Do Not Reply!

>> cc -c -I. -I/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/auto/DBI -I/usr/ local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/auto/DBD/include -Ae - D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include - D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit - DVERSION=\"0.43\" -DXS_VERSION=\"0.43\" +Z "-I/usr/local/lib/perl5/ 5.8.0/PA-RISC2.0/CORE" ODBC.c
cpp: "dbdodbc.h", line 6: error 4036: Can't open include file 'libudbc.h'.
*** Error exit code 1

Does not ring a bell.

# find / -name libudbc.h
?? [ don't do this with NFS partitions active ]

I only use ODBC on M$windoze, and that passes ( I see you use 0.43 :) You like newest versions)

You can try comp.perl.modules newsgroup, or the author
Enjoy, Have FUN! H.Merijn

Re: perl 5.6.1, DBI, DBD problems - Old Thread - Do Not Reply!

With

# find / -name libudbc.h

I don't have this library on my server at all. What can I do to compile and install DBD::ODBC successfuly ?
H.Merijn Brand (procura
Honored Contributor

Re: perl 5.6.1, DBI, DBD problems - Old Thread - Do Not Reply!

I cannot build one for you, because of:

--8<---
lep l1:/pro/3gl/CPAN/DBD/DBD-ODBC-0.45_5 106 > perl Makefile.PL

Configuring DBD::ODBC ...

>>> Remember to actually *READ* the README file!
And re-read it if you have any problems.

Using DBI 1.28 installed in /pro/lib/perl5/site_perl/5.6.1/PA-RISC2.0/auto/DBI

The DBD::ODBC module needs to link with an ODBC 'Driver Manager'.
(The Driver Manager, in turn, needs one or more database specific ODBC drivers.
The DBD::ODBC module does _not_ include any ODBC drivers!)

You need to indicate where your ODBC Driver Manager is installed.
You can do this ether by setting the ODBCHOME environment variable
or by runing 'perl Makefile.PL -o odbcdir'.

If you do not have an ODBC Driver Manager you can try building
the free iODBC Driver Manager in the iodbcsrc directory.

Makefile.PL aborted.
Exit 2
lep l1:/pro/3gl/CPAN/DBD/DBD-ODBC-0.45_5 107 >
-->8---

If I were to have an ODBC manager, it is very likely that it is not the same as yours. Chances are that the 'perl Makefile.PL' command has either detected the wrong version of the ODBC manager you want, or misconfigured the found manager for whatever reason.

I managed to build it on Win32/Cygwin, and ODBC said it detected the M$ version, which seemed very plausible :)
Enjoy, Have FUN! H.Merijn
CIS Unix (Keith Daley)
Occasional Advisor

Re: perl 5.6.1, DBI, DBD problems - Old Thread - Do Not Reply!

I take it that HP support the Perl DBI module on HP servers ???
H.Merijn Brand (procura
Honored Contributor

Re: perl 5.6.1, DBI, DBD problems - Old Thread - Do Not Reply!

No, why should they?
Enjoy, Have FUN! H.Merijn
KeithDaley
Advisor

Re: perl 5.6.1, DBI, DBD problems - Old Thread - Do Not Reply!

I'd have thought they would do.

What happens when the Perl module causes a problem - HP won't help you out will they ??
ankurp
Frequent Advisor

Re: perl 5.6.1, DBI, DBD problems - Old Thread - Do Not Reply!

hi,

I copied perl directory (with DBI modules) from production server to other server , now when i execute perl , i get the following errors.

/usr/lib/dld.sl: Can't find path for shared library: libperl.sl
/usr/lib/dld.sl: No such file or directory

pls. help

rgds
Ankur
Robert-Jan Goossens
Honored Contributor

Re: perl 5.6.1, DBI, DBD problems - Old Thread - Do Not Reply!

Hello Ankurp,

Please open a new thread.

Best regards,
Robert-Jan
ankurp
Frequent Advisor

Re: perl 5.6.1, DBI, DBD problems - Old Thread - Do Not Reply!

soory , i thought we were flowing in the same river.

Rgds
Ankur