1830223 Members
1454 Online
109999 Solutions
New Discussion

path for vim

 
SOLVED
Go to solution
yc_2
Regular Advisor

path for vim

Hi,

I have successfully installed vim and its dependencies (gettext, gtk+ and glib) into HP-UX 11.00. When I tried to used vim, the following message showed:

/usr/lib/dld.sl: Can't open shared library: /opt/gettext/lib/libintl.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

I search for libintl.sl and found it located in /usr/local/lib.

Appreciate any advice which can overcome this problem.

Thanks in advance,



YC
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: path for vim

Current patch sets wouldn't hurt, December 2002. This looks alot like trouble I had when the SHLIB_PATH wasn't set for Oracle. Make sure that the path's for shared libraries are correctly defined.

Get all the components installed from binary depots if possible.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
T G Manikandan
Honored Contributor

Re: path for vim

$SHLIB_PATH=$SHLIB_PATH:/usr/local/lib

$export SHLIB_PATH

$vim


Thanks
Stanimir
Trusted Contributor

Re: path for vim

Hi!
The message says, that the library libintl.sl
could not be found in any of search paths, used by dynamic loader.
You can run:
#chatr vim
- to see which paths are searched by dld.sl

Check correct instalation /and vers. 10.20
or 11.x / for gettext.

Check content of SHLIB_PATH.

Regards,Stan
yc_2
Regular Advisor

Re: path for vim

Hi,

I tried the following:

1) echo $SHLIB_PATH (nothing in returned)

2) export SHLIB_PATH=/usr/local/lib

3) vim (same error as before)

4) chart vim
chatr(warning): dl_header_ext.size != sizeof(dl_header_ext). Please update your version of the linker.
vim:
shared executable
shared library dynamic path search:
SHLIB_PATH enabled first
embedded path disabled second Not Defined
shared library list:
dynamic /opt/gtk+/lib/libgtk.sl
dynamic /opt/gtk+/lib/libgdk.sl
dynamic /opt/glib/lib/libgmodule.sl
dynamic /opt/glib/lib/libglib.sl
dynamic /opt/gettext/lib/libintl.sl
dynamic /usr/lib/X11R6/libXext.3
dynamic /usr/lib/libm.2
dynamic /usr/lib/X11R6/libXt.3
dynamic /usr/lib/X11R6/libX11.3
dynamic /usr/lib/libc.2
shared library binding:
deferred
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
third quadrant global data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references enabled
shared library private mapping disabled


Any clue from the output of step (4) ?



YC
T G Manikandan
Honored Contributor

Re: path for vim

It is picking it from /opt/gettext/lib/libintl.sl

so

export SHLIB_PATH=$SHLIB_PATH://opt/gettext/lib


REvert
yc_2
Regular Advisor

Re: path for vim

Hi,

After exported the SHLIB_PATH, I have the following message:

/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libiconv.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)


I tried to search for libiconv.sl but not avail.




YC
T G Manikandan
Honored Contributor
Solution

Re: path for vim

If that is the case then install the software from

http://hpux.cs.utah.edu/hppd/hpux/Development/Libraries/libiconv-1.8/

It will install the required files & shared lib(sl) in the /usr/local/lib dir.


check and revert