Operating System - HP-UX
1833784 Members
2522 Online
110063 Solutions
New Discussion

crt0: ERROR couldn't open dld.sl errno:000000002

 
SOLVED
Go to solution
Alberto_41
Occasional Advisor

crt0: ERROR couldn't open dld.sl errno:000000002

Hi, I am trying to run an application named PUMA and recibe this message:

;; Optimization settings: safety 1, space 1, speed 1, debug 1.
;; For a complete description of all compiler switches given the
;; current optimization settings evaluate (EXPLAIN-COMPILER-SETTINGS).
; Starting graphics event handler ...
; Starting X event reader ...
; Spawning GFX process ...
;| crt0: ERROR couldn't open dld.sl errno:000000002
Lisp End : L003 Invalid hostname 'csimI'
Lisp End : L003 Invalid hostname 'csimI'
Lisp End : L003 Invalid hostname 'csimI'
Lisp End : L003 Invalid hostname 'csimI'
Error: Cannot make C-Lisp connection.

Restart actions (select using :continue):
0: Re-attempt C-Lisp connection.
1: Skip startup function CCL::INITIALIZE-CCL.
[1c]
Interrupt 2 (Keyboard interrupt): Select a process to handle it:

0 -- Ignore the Interrupt --
1 # waiting for input character @ #x5c8ac9>
2 # @ #xfc8579>
3 #
Enter an integer:
The scheduler is attempting to recover from
eof encountered on stream
# #x4d4a79>.
:pop

could anybody help me???
14 REPLIES 14
Robert-Jan Goossens
Honored Contributor
Solution

Re: crt0: ERROR couldn't open dld.sl errno:000000002

Hi,

Check if /lib is linked to /usr/lib

# ll /lib
lr-xr-xr-t 1 root sys 8 May 18 2000 /lib -> /usr/lib


# ll /lib/crt0.o
lr--r--r-T 1 root sys 19 Dec 19 2000 /lib/crt0.o -> /usr/ccs/lib/crt0.o


Hope this helps,
Robert-Jan
H.Merijn Brand (procura
Honored Contributor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

asuming the program is installed on /usr/local/puma/bin/puma, use

# chacl /usr/local/puma/bin/puma

to see which libraries it expects runtime and where. For each of those check if they exist and fit the calling architecture.

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
T G Manikandan
Honored Contributor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

HPUX errno 2. is the file is missing.

check whether the dld.sl file is present and are with right permissions

$ ll -d /
drwxr-xr-x 45 root root 2048 Nov 8 12:34 /
$ ll -d /lib
dr-xr-xr-x 4 bin bin 1024 Oct 23 12:11 /lib
$ ll -d /lib/dld.sl
-r-xr-xr-x 1 bin bin 69632 Nov 17 2000 /lib/dld.sl
Alberto_41
Occasional Advisor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

It isnt linked /lib to /usr/lib how can i do that???
Robert-Jan Goossens
Honored Contributor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

Hi,

as root

# cd /
# ln -s /usr/lib lib

Robert-Jan
Bruno Ganino
Honored Contributor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

To link one or more directories to another directory use the command:

ln -s directory_name(s) directory_name

The use of the -s option indicates that this is to be a symbolic link. Only the super-user is allowed make hard links between directories.

As a user you are restricted to creating symbolic links between directories using the -s option.

Bruno
Torino (Turin) +2H
Alberto_41
Occasional Advisor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

Now i have the problem that gives the correct permisions to the link. i ll try to create a soft link but that not the correct permision.

lr-xr-xr-t 1 root sys 8 May 18 2000 /lib -> /usr/lib


Thanks to everybody that help me in advance.

Thank you.
T G Manikandan
Honored Contributor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

the problem can then be resolved by doing a

#ln -s /usr/lib /lib
T G Manikandan
Honored Contributor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

Creating the link to /lib would resolve the problem.YOur application tries to find dld.sl under /lib which was the case with the old HPUX version.

Make sure that the application checks this library inside the /usr/lib directory.
Alberto_41
Occasional Advisor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

Now the application works, but the link it don´t has the right permissions.

How can I correct tha
T G Manikandan
Honored Contributor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

lr-xr-xr-t 1 root sys 8 May 18 2000 /lib -> /usr/lib


Are you looking at the 't' in the permissions field.

Actually this was the older way for providing a trasition link to point to a different different.It is not the sticky bit.

With 11.0 the present permissions the present one
lr-xr-xr-x would be okay.

you cannot change the permissions of the link.
If you do that then it would only affect the dir it is pointing to.
Alberto_41
Occasional Advisor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

I have 10.20 and the permissions are

777 to lib

lrwxrwxrwx /lib -> /usr/lib

not

lr-xr-xr-t /lib -> /usr/lib


I have detected that i dont have /bin linked to /usr/bin neither.

and if i create the soft link /lib-> /usr/lib, when reboot i lose the link. Rarely.
H.Merijn Brand (procura
Honored Contributor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

Rare case could be a mounted /lib

be sure that /lib is not a mounted file system

reboots should never delete symlinks!

# tllist

should show you the transition links, under which catagory the links for /bin and /lib fall

# tlinstall

should reinstall them.

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Alberto_41
Occasional Advisor

Re: crt0: ERROR couldn't open dld.sl errno:000000002

Thank you to everybody for your time.

I have solve the problem. Thank you very much, specialy to procura (H.Merijn)for the last comment.