Operating System - Linux
1752734 Members
5480 Online
108789 Solutions
New Discussion юеВ

Compile errors on HP-UX 11.23

 
SOLVED
Go to solution
Kalin Evtimov
Regular Advisor

Compile errors on HP-UX 11.23

Hi!
I have some trouble compiling a perl module. Actually it compiles, but when running a perl-progs, I get error messages. I' ve documented most in the attachment..
10x for help.
4 REPLIES 4
Peter Nikitka
Honored Contributor

Re: Compile errors on HP-UX 11.23

Hi,

you have used the directories
/usr/lib/hpux32
/usr/sap/rfcsdk/lib
for the resolution of libraries in your makefile.

There may be shared libraries inside you need at runtime as well, so try again after setting LD_LIBRARY_PATH (or SHLIB_PATH and friends):
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/sap/rfcsdk/lib:..." perl tables.pl

Additionally set LD_RUN_PATH like in the makefile:
LD_RUN_PATH="/usr/lib/hpux32" ...

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Kalin Evtimov
Regular Advisor

Re: Compile errors on HP-UX 11.23

I am sure that it is some C compiling options that are not set correctly, but gcc is for me the dark side of the forest, I know nothing about how to compile.
See the attachment to see what I get from make after setting the variebles LD_....

Greetings!

Kalin
Peter Nikitka
Honored Contributor
Solution

Re: Compile errors on HP-UX 11.23

Hi,

I didn't mean to set these variables at compile time but at runtime!

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Kalin Evtimov
Regular Advisor

Re: Compile errors on HP-UX 11.23

I see...sorry.
But it didn't work again.

Greetings!
Kalin