Discussion:
[freetds] Trouble With Configure and Make on HP-UX 11.31 ia64
Wes Crews
2013-06-12 17:19:34 UTC
Permalink
Hi,

I am new to this list and to freeTDS and am running into issues with the configuration and make files. If anyone has had luck with getting freeTDS built and deployed on HP-UX 11.31 ia64 I would appreciate some pointers for getting it done.

Thanks,
Wes
James K. Lowden
2013-06-13 00:19:16 UTC
Permalink
On Wed, 12 Jun 2013 17:19:34 +0000
Post by Wes Crews
am running into issues with the configuration and make files. If
anyone has had luck with getting freeTDS built and deployed on HP-UX
11.31 ia64 I would appreciate some pointers for getting it done.
Should just be

$ mkdir build
$ cd build && ../configure
$ make && make install

What is the complete command line of the failed compile/link command,
and what is the error message?

--jkl
Wes Crews
2013-06-13 00:26:47 UTC
Permalink
Thanks for the quick reply. The full error I am getting is:

ld: Unknown input file type: "../../dblib/.libs/libsybdb.so"
Fatal error.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Wes

Wesley Crews
Senior Information Consultant
NexLevel Information Technology
Phone: 310-977-3609
http://www.nexlevelit.com
mailto:wes.crews at nexlevelit.com
*********************************************************************************************************************************************************
?
This message and accompanying documents are covered by the Electronic Communications Privacy Act,
18 U.S.C. ?? 2510-2521, and contain information intended for the specified individual(s) only. This information is confidential.
If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby
notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based
on the contents of this information is strictly prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original message.

*********************************************************************************************************************************************************



-----Original Message-----
From: freetds-bounces at lists.ibiblio.org [mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of James K. Lowden
Sent: Wednesday, June 12, 2013 5:19 PM
To: freetds at lists.ibiblio.org
Subject: Re: [freetds] Trouble With Configure and Make on HP-UX 11.31 ia64

On Wed, 12 Jun 2013 17:19:34 +0000
Post by Wes Crews
am running into issues with the configuration and make files. If
anyone has had luck with getting freeTDS built and deployed on HP-UX
11.31 ia64 I would appreciate some pointers for getting it done.
Should just be

$ mkdir build
$ cd build && ../configure
$ make && make install

What is the complete command line of the failed compile/link command, and what is the error message?

--jkl
Wes Crews
2013-06-13 00:35:34 UTC
Permalink
The first error I sent was when the CPFLAGS and CFLAGS variables were set to "+DD32". I tried again with them set to "+DD64" and the error was as follows:

ld: Mismatched ABI for -lxnet, found /usr/lib/hpux32/libxnet.so
Fatal error.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Wes

Wesley Crews
Senior Information Consultant
NexLevel Information Technology
Phone: 310-977-3609
http://www.nexlevelit.com
mailto:wes.crews at nexlevelit.com
*********************************************************************************************************************************************************
?
This message and accompanying documents are covered by the Electronic Communications Privacy Act,
18 U.S.C. ?? 2510-2521, and contain information intended for the specified individual(s) only. This information is confidential.
If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby
notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based
on the contents of this information is strictly prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original message.

*********************************************************************************************************************************************************



-----Original Message-----
From: Wes Crews
Sent: Wednesday, June 12, 2013 5:27 PM
To: freetds at lists.ibiblio.org
Subject: RE: [freetds] Trouble With Configure and Make on HP-UX 11.31 ia64

Thanks for the quick reply. The full error I am getting is:

ld: Unknown input file type: "../../dblib/.libs/libsybdb.so"
Fatal error.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Wes

Wesley Crews
Senior Information Consultant
NexLevel Information Technology
Phone: 310-977-3609
http://www.nexlevelit.com
mailto:wes.crews at nexlevelit.com
*********************************************************************************************************************************************************
?
This message and accompanying documents are covered by the Electronic Communications Privacy Act,
18 U.S.C. ?? 2510-2521, and contain information intended for the specified individual(s) only. This information is confidential.
If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.

*********************************************************************************************************************************************************



-----Original Message-----
From: freetds-bounces at lists.ibiblio.org [mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of James K. Lowden
Sent: Wednesday, June 12, 2013 5:19 PM
To: freetds at lists.ibiblio.org
Subject: Re: [freetds] Trouble With Configure and Make on HP-UX 11.31 ia64

On Wed, 12 Jun 2013 17:19:34 +0000
Post by Wes Crews
am running into issues with the configuration and make files. If
anyone has had luck with getting freeTDS built and deployed on HP-UX
11.31 ia64 I would appreciate some pointers for getting it done.
Should just be

$ mkdir build
$ cd build && ../configure
$ make && make install

What is the complete command line of the failed compile/link command, and what is the error message?

--jkl
James K. Lowden
2013-06-13 02:59:16 UTC
Permalink
On Thu, 13 Jun 2013 00:35:34 +0000
Post by Wes Crews
ld: Unknown input file type: "../../dblib/.libs/libsybdb.so"
Fatal error.
...
Post by Wes Crews
The first error I sent was when the CPFLAGS and CFLAGS variables were
set to "+DD32". I tried again with them set to "+DD64" and the error
ld: Mismatched ABI for -lxnet,
found /usr/lib/hpux32/libxnet.so
Fatal error.
(I did ask for the command line, not just the error message. I did
that so we could see your inputs and relate them to the message.)

I don't know what +DD64 does. You'll have to look over your system
documentation again to make sure you're linking and compiling for the
same binary format.

I would guess in the first case you somehow compiled fisql for 32 bit
and libsybdb for 64 bit. (This could happen if you changed compile/link
options and re-ran make without first running "make clean".) The linker
doesn't recognize the library as a library of any kind ("Unknown input
file type"), probably because such files didn't exist when the linker
was written.

In the second case it looks like you compiled for 64 and tried to link
to the 32-bit libraries. There are two clues: the "hpux32" directory
name, and the "mismatched ABI" error suggests the (newer) 64-bit linker
recognizes, but can't use, the (older) 32-bit library.

I have found it helpful in such situations to be very judicious setting
CPPFLAGS, CFLAGS, and LDFLAGS, taking care that no option appears in
more than one variable. To do that requires reading the documentation
carefully, in which process the right questions arise and incorrect
settings are purged.

HTH.

--jkl
Frediano Ziglio
2013-06-13 09:38:54 UTC
Permalink
Hi,
how did you set CFLAGS/LDFLAGS ? These flags should be redefined for both
configure and make, this can be easily done passing these flags to
configure, something like

CFLAGS="+DD64" LDFLAGS="+DD64" ./confgure --whatever-argument-you-want

Frediano



2013/6/13 Wes Crews <wes.crews at nexlevelit.com>
Post by Wes Crews
The first error I sent was when the CPFLAGS and CFLAGS variables were set
to "+DD32". I tried again with them set to "+DD64" and the error was as
ld: Mismatched ABI for -lxnet, found /usr/lib/hpux32/libxnet.so
Fatal error.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Wes
Wesley Crews
Senior Information Consultant
NexLevel Information Technology
Phone: 310-977-3609
http://www.nexlevelit.com
mailto:wes.crews at nexlevelit.com
*********************************************************************************************************************************************************
This message and accompanying documents are covered by the Electronic
Communications Privacy Act,
18 U.S.C. ?? 2510-2521, and contain information intended for the specified
individual(s) only. This information is confidential.
If you are not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby
notified that you have received this document in error and that any
review, dissemination, copying, or the taking of any action based
on the contents of this information is strictly prohibited. If you have
received this communication in error,
please notify us immediately by e-mail, and delete the original message.
*********************************************************************************************************************************************************
-----Original Message-----
From: Wes Crews
Sent: Wednesday, June 12, 2013 5:27 PM
To: freetds at lists.ibiblio.org
Subject: RE: [freetds] Trouble With Configure and Make on HP-UX 11.31 ia64
ld: Unknown input file type: "../../dblib/.libs/libsybdb.so"
Fatal error.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Wes
Wesley Crews
Senior Information Consultant
NexLevel Information Technology
Phone: 310-977-3609
http://www.nexlevelit.com
mailto:wes.crews at nexlevelit.com
*********************************************************************************************************************************************************
This message and accompanying documents are covered by the Electronic
Communications Privacy Act,
18 U.S.C. ?? 2510-2521, and contain information intended for the specified
individual(s) only. This information is confidential.
If you are not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified that you
have received this document in error and that any review, dissemination,
copying, or the taking of any action based on the contents of this
information is strictly prohibited. If you have received this communication
in error, please notify us immediately by e-mail, and delete the original
message.
*********************************************************************************************************************************************************
-----Original Message-----
freetds-bounces at lists.ibiblio.org] On Behalf Of James K. Lowden
Sent: Wednesday, June 12, 2013 5:19 PM
To: freetds at lists.ibiblio.org
Subject: Re: [freetds] Trouble With Configure and Make on HP-UX 11.31 ia64
On Wed, 12 Jun 2013 17:19:34 +0000
Post by Wes Crews
am running into issues with the configuration and make files. If
anyone has had luck with getting freeTDS built and deployed on HP-UX
11.31 ia64 I would appreciate some pointers for getting it done.
Should just be
$ mkdir build
$ cd build && ../configure
$ make && make install
What is the complete command line of the failed compile/link command, and
what is the error message?
--jkl
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
Wes Crews
2013-06-13 15:11:24 UTC
Permalink
Thanks Frediano. I tried this and received a slightly different error:

ld: Mismatched Data ABI. Expected EF_IA_64_ABI64 but found none in file terminal.o.
Fatal error.

Wes

Wesley Crews
Senior Information Consultant
NexLevel Information Technology
Phone: 310-977-3609
http://www.nexlevelit.com
mailto:wes.crews at nexlevelit.com
*********************************************************************************************************************************************************
?
This message and accompanying documents are covered by the Electronic Communications Privacy Act,
18 U.S.C. ?? 2510-2521, and contain information intended for the specified individual(s) only. This information is confidential.
If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby
notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based
on the contents of this information is strictly prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original message.

*********************************************************************************************************************************************************



-----Original Message-----
From: freetds-bounces at lists.ibiblio.org [mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of Frediano Ziglio
Sent: Thursday, June 13, 2013 2:39 AM
To: FreeTDS Development Group
Subject: Re: [freetds] Trouble With Configure and Make on HP-UX 11.31 ia64

Hi,
how did you set CFLAGS/LDFLAGS ? These flags should be redefined for both configure and make, this can be easily done passing these flags to configure, something like

CFLAGS="+DD64" LDFLAGS="+DD64" ./confgure --whatever-argument-you-want

Frediano



2013/6/13 Wes Crews <wes.crews at nexlevelit.com>
Post by Wes Crews
The first error I sent was when the CPFLAGS and CFLAGS variables were
set to "+DD32". I tried again with them set to "+DD64" and the error
was as
ld: Mismatched ABI for -lxnet, found /usr/lib/hpux32/libxnet.so
Fatal error.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Wes
Wesley Crews
Senior Information Consultant
NexLevel Information Technology
Phone: 310-977-3609
http://www.nexlevelit.com
mailto:wes.crews at nexlevelit.com
**********************************************************************
**********************************************************************
*************
This message and accompanying documents are covered by the Electronic
Communications Privacy Act,
18 U.S.C. ?? 2510-2521, and contain information intended for the specified
individual(s) only. This information is confidential.
If you are not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified that
you have received this document in error and that any review,
dissemination, copying, or the taking of any action based on the
contents of this information is strictly prohibited. If you have
received this communication in error, please notify us immediately by
e-mail, and delete the original message.
**********************************************************************
**********************************************************************
*************
-----Original Message-----
From: Wes Crews
Sent: Wednesday, June 12, 2013 5:27 PM
To: freetds at lists.ibiblio.org
Subject: RE: [freetds] Trouble With Configure and Make on HP-UX 11.31 ia64
ld: Unknown input file type: "../../dblib/.libs/libsybdb.so"
Fatal error.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Wes
Wesley Crews
Senior Information Consultant
NexLevel Information Technology
Phone: 310-977-3609
http://www.nexlevelit.com
mailto:wes.crews at nexlevelit.com
**********************************************************************
**********************************************************************
*************
This message and accompanying documents are covered by the Electronic
Communications Privacy Act,
18 U.S.C. ?? 2510-2521, and contain information intended for the specified
individual(s) only. This information is confidential.
If you are not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified that
you have received this document in error and that any review,
dissemination, copying, or the taking of any action based on the
contents of this information is strictly prohibited. If you have
received this communication in error, please notify us immediately by
e-mail, and delete the original message.
**********************************************************************
**********************************************************************
*************
-----Original Message-----
freetds-bounces at lists.ibiblio.org] On Behalf Of James K. Lowden
Sent: Wednesday, June 12, 2013 5:19 PM
To: freetds at lists.ibiblio.org
Subject: Re: [freetds] Trouble With Configure and Make on HP-UX 11.31 ia64
On Wed, 12 Jun 2013 17:19:34 +0000
Post by Wes Crews
am running into issues with the configuration and make files. If
anyone has had luck with getting freeTDS built and deployed on HP-UX
11.31 ia64 I would appreciate some pointers for getting it done.
Should just be
$ mkdir build
$ cd build && ../configure
$ make && make install
What is the complete command line of the failed compile/link command,
and what is the error message?
--jkl
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
Wes Crews
2013-06-13 15:19:16 UTC
Permalink
Running the "make distclean" brought me back to an earlier error message:

ld: Unknown input file type: "../../dblib/.libs/libsybdb.so"

Wes

Wesley Crews
Senior Information Consultant
NexLevel Information Technology
Phone: 310-977-3609
http://www.nexlevelit.com
mailto:wes.crews at nexlevelit.com
*********************************************************************************************************************************************************
?
This message and accompanying documents are covered by the Electronic Communications Privacy Act,
18 U.S.C. ?? 2510-2521, and contain information intended for the specified individual(s) only. This information is confidential.
If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby
notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based
on the contents of this information is strictly prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original message.

*********************************************************************************************************************************************************



-----Original Message-----
From: Robert Boehne [mailto:robertb at trdlnk.com]
Sent: Thursday, June 13, 2013 8:15 AM
To: FreeTDS Development Group
Cc: Wes Crews
Subject: Re: [freetds] Trouble With Configure and Make on HP-UX 11.31 ia64

You probably have some left over stuff from the last build.

Do this:
make distclean

and then re-run configure.

HTH,

Robert
Post by Wes Crews
ld: Mismatched Data ABI. Expected EF_IA_64_ABI64 but found none in file terminal.o.
Fatal error.
Wes
Wesley Crews
Senior Information Consultant
NexLevel Information Technology
Phone: 310-977-3609
http://www.nexlevelit.com
mailto:wes.crews at nexlevelit.com
**********************************************************************
**********************************************************************
*************
This message and accompanying documents are covered by the Electronic
Communications Privacy Act,
18 U.S.C. ?? 2510-2521, and contain information intended for the specified individual(s) only. This information is confidential.
If you are not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified that
you have received this document in error and that any review,
dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.
**********************************************************************
**********************************************************************
*************
-----Original Message-----
From: freetds-bounces at lists.ibiblio.org
[mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of Frediano
Ziglio
Sent: Thursday, June 13, 2013 2:39 AM
To: FreeTDS Development Group
Subject: Re: [freetds] Trouble With Configure and Make on HP-UX 11.31 ia64
Hi,
how did you set CFLAGS/LDFLAGS ? These flags should be redefined
for both configure and make, this can be easily done passing these
flags to configure, something like
CFLAGS="+DD64" LDFLAGS="+DD64" ./confgure --whatever-argument-you-want
Frediano
2013/6/13 Wes Crews <wes.crews at nexlevelit.com>
Post by Wes Crews
The first error I sent was when the CPFLAGS and CFLAGS variables were
set to "+DD32". I tried again with them set to "+DD64" and the error
was as
ld: Mismatched ABI for -lxnet, found /usr/lib/hpux32/libxnet.so
Fatal error.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Wes
Wesley Crews
Senior Information Consultant
NexLevel Information Technology
Phone: 310-977-3609
http://www.nexlevelit.com
mailto:wes.crews at nexlevelit.com
*********************************************************************
*
*********************************************************************
*
*************
This message and accompanying documents are covered by the Electronic
Communications Privacy Act,
18 U.S.C. ?? 2510-2521, and contain information intended for the specified
individual(s) only. This information is confidential.
If you are not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified that
you have received this document in error and that any review,
dissemination, copying, or the taking of any action based on the
contents of this information is strictly prohibited. If you have
received this communication in error, please notify us immediately by
e-mail, and delete the original message.
*********************************************************************
*
*********************************************************************
*
*************
-----Original Message-----
From: Wes Crews
Sent: Wednesday, June 12, 2013 5:27 PM
To: freetds at lists.ibiblio.org
Subject: RE: [freetds] Trouble With Configure and Make on HP-UX 11.31 ia64
ld: Unknown input file type: "../../dblib/.libs/libsybdb.so"
Fatal error.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Wes
Wesley Crews
Senior Information Consultant
NexLevel Information Technology
Phone: 310-977-3609
http://www.nexlevelit.com
mailto:wes.crews at nexlevelit.com
*********************************************************************
*
*********************************************************************
*
*************
This message and accompanying documents are covered by the Electronic
Communications Privacy Act,
18 U.S.C. ?? 2510-2521, and contain information intended for the specified
individual(s) only. This information is confidential.
If you are not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified that
you have received this document in error and that any review,
dissemination, copying, or the taking of any action based on the
contents of this information is strictly prohibited. If you have
received this communication in error, please notify us immediately by
e-mail, and delete the original message.
*********************************************************************
*
*********************************************************************
*
*************
-----Original Message-----
freetds-bounces at lists.ibiblio.org] On Behalf Of James K. Lowden
Sent: Wednesday, June 12, 2013 5:19 PM
To: freetds at lists.ibiblio.org
Subject: Re: [freetds] Trouble With Configure and Make on HP-UX 11.31 ia64
On Wed, 12 Jun 2013 17:19:34 +0000
Post by Wes Crews
am running into issues with the configuration and make files. If
anyone has had luck with getting freeTDS built and deployed on HP-UX
11.31 ia64 I would appreciate some pointers for getting it done.
Should just be
$ mkdir build
$ cd build && ../configure
$ make && make install
What is the complete command line of the failed compile/link command,
and what is the error message?
--jkl
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
Loading...