cancel
Showing results for 
Search instead for 
Did you mean: 

Can't find library: "Xm"

SOLVED
Go to solution
Vince Laurent
Respected Contributor

Can't find library: "Xm"

I am trying to install Oracle 9i on HP-UX 11.11. I have all the latest patches on the OS (as per metalink and HP). I have checked the environment settings (paths/libraries) and they too are set according to the docs. I am unsure where to go from here. I am not even sure how to check if an "Xm" library is installed UNLESS it means the Motif one:

sapude:orabde 50> ls -1 libXm*
libXm.1
libXm.2
libXm.3
libXm.4
sapude:orabde 51> pwd
/usr/lib

Ideas?
Thanks!
Vince_Laurent@ssmhc.com
8 REPLIES
Ramkumar Devanathan
Honored Contributor

Re: Can't find library: "Xm"

Vince,

Why don't you try adding a link libXm.a pointing to one of these libraries in /usr/lib? or try libXm.so as a name for the link.

This method has helped me in a few cases. I believe it would be required to run the runinstaller gui which is a motif gui.

- ramd.
HPE Software Rocks!
Vince Laurent
Respected Contributor

Re: Can't find library: "Xm"

A link from where to where? Since the SHLIB_PATH is going to $ORACLE_HOME/lib BUT the Xm libaries are apparently in /usr/lib what would be pointed where?

Thanks
Vince Laurent
Respected Contributor

Re: Can't find library: "Xm"

Found a fix on metalink.oracle.com. Document 151547.1

Let me know if you need it and can not get at it.
Brian Crabtree
Honored Contributor

Re: Can't find library: "Xm"

Actually, I found that did not work correctly. The way that I did it was install the HP C/ANSI developers bundle (B3901BA).

Brian
Michael Tully
Honored Contributor

Re: Can't find library: "Xm"

Hi,

Here are the pre-requisites that I received a few months back for an Oracle 9i install. It also includes how to fix this problem.

Regards
Michael

Memory minimum of 512 MB of RAM
> Swap Space equal to the system's physical memory, or 1GB,
> whichever is greater.
> Disk Space Database software 3.5 GB, Seed database 1 GB
> /tmp needs at least 400mb of space
>
> OS and Patches
> HP-UX 11.0
> (64- bit)
> Sept. 2001 Quality Pack,
> PHCO_23792,
> PHCO_24148,
> PHKL_24268,
> PHKL_24729,
> PHKL_25475,
> PHKL_25525,
> PHNE_24715,
> PHSS_23670,
> PHSS_24301,
> PHSS_24303,
> PHSS_24627,
> PHSS_22868
> For patch bundles:
> http://www.software.hp.com/SUPPORT_PLUS
> For individual patches:
> http://itresourcecenter.hp.com
>
> Java Runtime
> HP JDK 1.3.1.02
>
>
> Xwindow System
> Note: Due to a known HP bug (Doc. id: KBRC00003627), the
> default HP-UX (64-bit) operating system installation does not
> create a few required X library symbolic links. These links
> must be created manually before starting Oracle9i
> installation. To create these links, you must have superuser
> privileges, as the links are to be created in the /usr/lib
> directory. After enabling superuser privileges, run the
> following commands to create the required links: cd /usr/lib
> ln -s /usr/lib/libX11.3 libX11.sl ln -s /usr/lib/libXIE.2
> libXIE.sl ln -s /usr/lib/libXext.3 libXext.sl ln -s
> /usr/lib/libXhp11.3 libXhp11.sl ln -s /usr/lib/libXi.3
> libXi.sl ln -s /usr/lib/libXm.4 libXm.sl ln -s
> /usr/lib/libXp.2 libXp.sl ln -s /usr/lib/libXt.3 libXt.sl
> ln -s /usr/lib/libXtst.2 libXtst.sl
>
> Kernel Parameters
> KSI_ALLOC_MAX (NPROC * 8)
> MAX_THREAD_PROC 256
> MAXDSIZ 1073741824 bytes
> MAXDSIZ_64 2147483648 bytes
> MAXSSIZ 134217728 bytes
> MAXSSIZ_64BIT 1073741824
> MAXSWAPCHUNKS 16384
> MAXUPRC ((NPROC*9)/10)
> MSGMAP (MSGTQL + 2)
> MSGMNI NPROC
> MSGSEG 32767
> MSGTQL NPROC
> NCALLOUT (NPROC + 16)
> NCSIZE ((8 * NPROC +2048) +VX_NCSIZE)
> NFILE (15 * NPROC + 2048)
> NFLOCKS 4096
> NINODE (8 * NPROC + 2048)
> NKTHREAD (((NPROC * 7) / 4)+ 16)
> NPROC 4096
> SEMMAP (SEMMNI + 2)
> SEMMNI 4096
> SEMMNS (SEMMNI * 2)
> SEMMNU (NPROC - 4)
> SEMVMX 32768
> SHMMAX Available physical memory
> SHMMNI 512
> SHMSEG 32
> VPS_CEILING 64
>
> Users & Groups
> user - oracle
> group - dba
> group - oinstall
>
Anyone for a Mutiny ?
Olav Baadsvik
Esteemed Contributor

Re: Can't find library: "Xm"



Hello,

If your problem still is that you do not
find the correct libs for X11/motif, what
you need is the "HP-UX developer's Toolkit"

This used to be part of the "c/ansi-c developers bundle", but you may now download
it for free from:
www.software.hp.com -> development tools ->
hp-ux developer's toolkit.

It contains the libraries and include-files
needed for compiling/linking code that uses
X11/motif.

Regards
Olav

Ramkumar Devanathan
Honored Contributor

Re: Can't find library: "Xm"

Vince,

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
A link from where to where? Since the SHLIB_PATH is going to $ORACLE_HOME/lib BUT the Xm libaries are apparently in /usr/lib what would be pointed where?
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Create a link libXm.so in /usr/lib pointing to libXm.1. Try pointing to each of the libraries and see how it goes. these are various versions of the same library.

/usr/lib is always searched as a shlib path.

- ramd.
HPE Software Rocks!
R. Allan Hicks
Trusted Contributor
Solution

Re: Can't find library: "Xm"

I've run into this problem on my install. The doc from metalink that was referenced early does work

The important thing to note is that the .3 and .4 and so on are rev levels. The symbolic link is created to from the generic name to the rev level you want to use.

So, if you want to run libXm.4 you set the symbolic link in /usr/lib/libXm.sl to point to /usr/lib/Motif1.2/libXm.4

i.e.

ln -s /usr/lib/Motif2.1/libXm.4 /usr/lib/libXm.sl
"Only he who attempts the absurd is capable of achieving the impossible