Re: can't load library that exists (Oracle.sl)



That looks a lot like what I was experiencing with Solaris 9 recently. I basically had to update the path locations, for where the system was looking for shared libraries.
The tool is "crle" in Solaris and creates a file in /var/ld/ld.config.

I know there is something similar in HP-UX, it's been a while since I've played with HP-UX, do a "Google" I'm sure you'll find what it is.

This is what I have on Solaris.

# pwd
/var/ld
# more ld.config
XX/lib:/usr/lib:/usr/local/lib:/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris
/auto/DBD/Pg

I hope this helps.



Peter J. Holzer wrote:

On 2006-05-12 14:34:24 -0500, Rashid, Mohammad M, NTWOP wrote:


We have a HP cluster that has per, perl DBI, and oracle.

Machine A runs fine.

When we fail over to Machine B, on some applications we get the following error:
(please see below the error; the file exists! and it is executable!)


[...]


Can't load '/opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: No such file or directory at /
opt/perl582/lib/5.8.2/PA-RISC2.0/DynaLoader.pm line 229.



Oracle.sl is dynamically linked against a number of other libraries (use
chatr /opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle/Oracle.sl
to get a list). If one of those doesn't exist, you get the same error
message.

Most probable cause is that you haven't installed oracle in the same
location on both machines.

hp




.



Relevant Pages

  • SUMMARY: Solaris vs. HP-UX
    ... Here are some URLs that provide a lot of information on Solaris vs. HP-UX: ... Always seems to me your dollar goes a lot farther buying Sun equipment opposed ... Cluster Server over HP-UX with MC-Service Guard and lvm. ...
    (SunManagers)
  • Re: Any major differences between Solaris and HP-UX?
    ... > desktop users) to HP/UX? ... > under Windows without the need for Sambe. ... Solaris and HP-UX) while you embark on a flight of fancy? ...
    (comp.sys.hp.hpux)
  • Re: Urgent : QUERCY sous HP-UX 11.0, compilation probleme gcc 3.2
    ... Notre binaire, qui fonctionne ... > sous Linux et Solaris, se bloque d?s la premi?re fonction de la ... > Cette librairie est d?crite comme fonctionnant sous HP-UX. ...
    (comp.sys.hp.hpux)
  • Re: HP vs SUN - Comparision
    ... HP-UX has no coolness or bleeding-edge factor as Solaris does, ... migrating to a new architecture requires sysadmin ... > fiber cards on each server, dual SAN Switches, Dual VA7410 arrays, etc. ...
    (comp.sys.hp.hpux)
  • Re: Any major differences between Solaris and HP-UX?
    ... I come from an HP-UX background, and working with Solaris ... As complexity rises, precise statements lose meaning, ... and meaningful statements lose precision. ...
    (comp.sys.hp.hpux)