Library for solaris.


 
Thread Tools Search this Thread
Operating Systems Solaris Library for solaris.
# 1  
Old 03-09-2012
Library for solaris.

Hi to all,
I'm writing becouse I have a big problem. When I try to install courier (for the imap server) he give me much error. All of them about of not matching some library. I try download some but they ask me much library. Some was very stupid library (as stdio.h) and I don't know why I don't have much of standard library of GCC (I install obviusly with pkg install gcc and I install gcc-45). Anyone know how to fix or add automaticaly all of these library?
Thank's to all for help me!

PS: Sorry for my bad english but I'm Italian and I don't speak very well english.
# 2  
Old 03-09-2012
This should give you the package name to be installed:
Code:
pkgchk -l -p /usr/include/stdio.h

Also, make sure you have installed pkg:/system/library/gcc-45-runtime

PS: No need to be sorry for bad English. Your English is just fine. Smilie
# 3  
Old 03-10-2012
Quote:
Originally Posted by admin_xor
This should give you the package name to be installed:
Code:
pkgchk -l -p /usr/include/stdio.h

Also, make sure you have installed pkg:/system/library/gcc-45-runtime

PS: No need to be sorry for bad English. Your English is just fine. Smilie
Thank's for your fast reply.

How can I see what pkg I have install? I have done pkg install gcc-45. Yesterday I load all library with Dev-C++ (it include much library of C and C++ as stdio.h). Now when I compile a programm (courier) it give to me this error:
Code:
wether -lresolv is needed for res_query... configure: error: Cannot find function res_query

I try to google it and I find much help but no one give me a real solution for m y case.
# 4  
Old 03-10-2012
You can see the gcc packages installed with this command:

Code:
pkg list | grep gcc

Are you sure you have installed all of the development libraries needed to compile the code? Because it does not seem to be due to gcc libraries. You may need to check with the program/software vendor about this.
# 5  
Old 03-10-2012
I have installed the right one. The development libraries are all standard C Library. I don't know why much more of them with install gcc don't install them corretly or not copy them. I do all with super administrator (root). Now if I got all of them why he don't find res_query (it's avaiable in one library standard about DNS!)
# 6  
Old 03-10-2012
What says:
Code:
nm /usr/lib/libresolv.so | grep res_query

?
# 7  
Old 03-10-2012
It say this:
Code:
[1843]  |    232624|       112|FUNC |GLOB |0    |14     |res_query
[1474]  |         0|         0|FILE |LOCL |0    |ABS    |res_query.c
[1815]  |    233388|       115|FUNC |GLOB |0    |14     |res_querydomain

Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

Gnupg library issues on Solaris 11

I have installed gnupg from the official Solaris 11 repository, but am experiencing library issues. This is the error I am getting: ld.so.1: gpg2: fatal: relocation error: file /usr/lib/libreadline.so.5: symbol tgetent: referenced symbol not foundSee more information here: bash-4.1$ gpg2... (4 Replies)
Discussion started by: ujjain
4 Replies

2. Solaris

What is the Solaris OS deamon which controls Library?

Hi All, What is the Solaris OS deamon which controls the Libraries? Regards, Rakesh. (2 Replies)
Discussion started by: rakesh.413
2 Replies

3. UNIX for Dummies Questions & Answers

Installing a library of php in solaris 10

People i want to install a library on a solaris 10 x64 with a opteron. The library asks for a another library called libxcb-xlib.so.0. Does Anybody know where i can find this library? the complete error is root@webserver # php PHP Warning: PHP Startup: Unable to load dynamic library... (1 Reply)
Discussion started by: enkei17
1 Replies

4. Solaris

swat library error on Solaris 9

Hi, I had define swat in /etc/services, in /etc/inet/inetd.conf. When I start swat http://localhost:901 I receive the follow message: ld.so.1: swat: fatal: libiconv.so.2: open failed: No such file or directory Then I restart the system and the same message is comming. The swat is only... (2 Replies)
Discussion started by: MuellerUrs
2 Replies

5. Programming

Solaris 9 Custom Library Error

Gday People i have a library created in c++ that is used to control custom hardware. The library compiles fine, however when i compile a test program that links the library i get the following errors: Undefined first referenced symbol in file... (3 Replies)
Discussion started by: _Michael_
3 Replies

6. Solaris

Standard Template Library in Solaris 8.0

Hi Everybody, Can anyone guide me how to install SGI's STL Library on Solaris 8.0 ? Out of SGI's STL and STLPort, which third party STL is suitable, stable and thread-safe for UNIX Platform ? Please guide me over the above issue . Thanks & Regards Dinesh-Ahuja (0 Replies)
Discussion started by: md7ahuja
0 Replies

7. Programming

How compile a library on solaris(like dll in windows)

Hi all, how do i compile a c program into a library on solaris Thanks in advance Zing (3 Replies)
Discussion started by: zing
3 Replies
Login or Register to Ask a Question