Operating System - HP-UX
1752782 Members
6150 Online
108789 Solutions
New Discussion юеВ

Unable to load shared library

 
Elias Abboud
Honored Contributor

Unable to load shared library

hello everyone,

When I try to use cc to compile a simple hello world script, I get the following error message:

ld: Unable to load shared library
"/opt/langtools/lib/hpux64/libu2comp.so"

Why is it that i can't compile such a simple program?

when I tried to ll the library file, I get that the file is not there. so I figured that it should be installed. Where can I install this file?

Any help is greatly appreciated.
Thanks in advance.
If you can't solve it, post it :)
7 REPLIES 7
Elias Abboud
Honored Contributor

Re: Unable to load shared library

Sorry I forgot to say that I am running HPUX 11.23 on an itanium server.
If you can't solve it, post it :)
Gopi Sekar
Honored Contributor

Re: Unable to load shared library


looks like a important library in your system is missing. install that library and you should be fine
Never Never Never Giveup
Steven E. Protter
Exalted Contributor

Re: Unable to load shared library

Please check the SHLIB_PATH variable and make sure it includes the /usr/bin directory and any other needed components.

SEP
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
Elias Abboud
Honored Contributor

Re: Unable to load shared library

Hi

Thanks for your fast replies. The file is physicaly not there. where can I install it from. Now I found that it is part of a fileset called Auxiliary-Opt.LANG-AUX

How can i install that fileset. does it come with a specific bundle or Is there a patch for it?

Thanks in advance
If you can't solve it, post it :)
Stephen Keane
Honored Contributor

Re: Unable to load shared library

It should be on the same install media that you installed the aCC compiler from.
Elias Abboud
Honored Contributor

Re: Unable to load shared library

Stephen

I did not install it. it seems to be installed by default. I cant find it on the application software CDs. do u think it could be on the HP UX installation CDs?

Thanks in advance.
If you can't solve it, post it :)
Ermin Borovac
Honored Contributor

Re: Unable to load shared library

It should be on the application DVD/CD. It's part of the following software bundle.

B3901BA HP C/ANSI C Dev Bundle Server LTU

However, this product is not free. You will have to purchase it from HP.