1830241 Members
1718 Online
109999 Solutions
New Discussion

Re: gcc compile error

 
SOLVED
Go to solution
Thiyagarajan.s
Frequent Advisor

gcc compile error

Hi
when i run the command gcc , i am getting the error

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

I have recently downloaded the gcc from net. Do i have to reinstall it .

Require your help in finding the good document to gcc and programming in UNIX also

Thanks for your kind help
Thiyagarajan.S
4 REPLIES 4
Ranjith_5
Honored Contributor

Re: gcc compile error

Hi,

Try Installing the following library.

http://www.gnu.org/software/libiconv/

Regards,
Syam
H.Merijn Brand (procura
Honored Contributor
Solution

Re: gcc compile error

If you read the info on http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.4.3/
the most likely location you got gcc from, you can read that it's runtime dependencies are libiconv and gettext
*run*time dependencies means that those other packages have to be installed for the target package to run properly.

libiconv can be found on http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libiconv-1.9.2/
gettext can be found at http://hpux.connect.org.uk/hppd/hpux/Gnu/gettext-0.14.1/

Both packages are there for gcc to support locales (localisation, like error messages in french, german, chinese, and swahili). I personally think that a compiler should not support localisation at all, which is why my ports of gcc do not depend on any other package, and certainly not of localization packages.

My gcc ports are available from my ITRC site. Read the page for instructions.

My HP ITRC site pages can be found at (please use LA as primary choice):

USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Thiyagarajan.s
Frequent Advisor

Re: gcc compile error

Thanks Syam / Procura

Syam the link is giving some check sum error, i will check it put again

Procura I have installed the depedencies , it is working

could you guide me in finding links related to HP UX programming in C



Thanks for your help
Thiyagarajan.S
Peter Godron
Honored Contributor

Re: gcc compile error

Thiyagarajan,
link to HP-UX/C Programmers Guide
http://docs.hp.com/en/92434-90011/92434-90011.pdf
or for more generic C:
http://www.cs.cf.ac.uk/Dave/C/CE.html
or any number of other sites from search engine.

Regards