niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » HP-UX
ncurses compilation problem
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
hajek@nspuh.cz
*nix forums beginner


Joined: 04 Apr 2006
Posts: 3

PostPosted: Tue Jun 20, 2006 12:57 pm    Post subject: ncurses compilation problem Reply with quote

Hi,
I can not compile ncurses (5.5) on 11.23, PA-RISC:
../configure
....
(a lot of)
/usr/lib/dld.sl: Invalid version for shared library:
/usr/local/lib/libiconv.sl
/usr/lib/dld.sl: Exec format error
../config.status[1125]: 5451 Abort(coredump)
creating headers.sh

** Configuration summary for NCURSES 5.5 20051010:

extended funcs: yes
xterm terminfo: xterm-new
bin directory: /usr/local/bin
lib directory: /usr/local/lib
include directory: /usr/local/include/ncurses
man directory: /usr/local/man
terminfo directory: /usr/local/share/terminfo

** Include-directory is not in a standard location

hpuh:/docas/depots/src/ncurses-5.5 # file /usr/lib/dld.sl
/usr/lib/dld.sl: s800 shared library -not stripped
hpuh:/docas/depots/src/ncurses-5.5 # file /usr/local/lib/libiconv.sl
/usr/local/lib/libiconv.sl: PA-RISC2.0 shared library -not stripped

libiconv is built fom source, but I am getting the same error when
libiconv is swinstalled from binary depot

(HP-UX.insta.ll file says :
export LDOPTS="+s -L/usr/local/lib -L/usr/local/lib/hpux32"
OK, I did it, but /usr/local/lib/hpux32 is empty.)

Any idea?

Thanks, Michal
Back to top
Dennis Handly
*nix forums beginner


Joined: 28 Jun 2005
Posts: 38

PostPosted: Sat Jul 15, 2006 8:20 am    Post subject: Re: ncurses compilation problem Reply with quote

hajek@nspuh.cz wrote:
: I can not compile ncurses (5.5) on 11.23, PA-RISC:
: /usr/lib/dld.sl: Invalid version for shared library:
: /usr/local/lib/libiconv.sl
: /usr/lib/dld.sl: Exec format error

This indicates that libiconv.sl doesn't match the high water version
the application was linked with.

: file /usr/local/lib/libiconv.sl
: /usr/local/lib/libiconv.sl: PA-RISC2.0 shared library -not stripped

: libiconv is built from source, but I am getting the same error when
: libiconv is swinstalled from binary depot
: Any idea?
: Michal

You need to use /usr/ccs/bin/odump on your libs and executable:
$ odump -sldlhead -slliblist -sllibloadlist /usr/lib/libcl.2
Shared Library DL Header for /usr/lib/libcl.2:
version: 93092112
highwater_mark: 0000000049 <<<<<<<<<<

Shared Library List Table for /usr/lib/libcl.2:
Index Ref IDNRVIL HighWater Name
0 abs I....I. 0 libcl.2 (Ignore the 0 here for self)
1 -l .D...I. 0 /usr/lib/libdld.2
2 -l .D...I. 0 /usr/lib/libisamstub.1
^^^^
Shared Library Load List for /usr/lib/libcl.2:
Order Name
0 /usr/lib/libcl.2
1 ^ /usr/lib/libdld.2
2 ^ /usr/lib/libisamstub.1

The two highwater marks must agree. For the above lib, libcl has a HW
of 49. Anyone using this lib must have <= 49, in the second table.

Typically only libcl and libc have the obsolete intra-library versioning.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 1:18 pm | All times are GMT
navigation Forum index » *nix » HP-UX
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Unknown in header problem -SOLVED- Light Speed Postfix 0 Thu Jul 03, 2008 10:40 am
No new posts problem with sending mail nuxia Postfix 0 Mon Apr 21, 2008 3:58 am
No new posts Postfix 2.3.8 Virtual problem Blotto Postfix 0 Fri Apr 04, 2008 6:11 am
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am
No new posts bounce problem murkis Postfix 0 Sun Oct 08, 2006 3:45 pm

Lighting | Personal Loans | Loans | ADHD Coaches | Mortgage Calculator
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2606s ][ Queries: 16 (0.1873s) ][ GZIP on - Debug on ]