Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


Solaris following the dynamic translation problem

Your brother, which is below the solaris done DLL (*.so), whether posting a sign makefile line. I encountered a problem here, hope you can help

We then made a face at the library Linux, which use some of the posix standard functions, such as sem_init so on. LInux下 translated into test.so face in the dynamic and can be deployed with the application's function library.
Now we put them into a solaris Now, the translation of the library, the compiler succeeded, but the use of the database in the editing process, when the link, and that link our test.so time sem_init function of the document, which found no reference to the definition -undefined `sem_init '

But why did so when the compiler alone, there is no problem? The dynamic compiler in the end is our translation of the application or problem?

Solaris following the dynamic translation problem

Not even a reservoir, the man with it

Solaris following the dynamic translation problem

Not even the Secretary should not
These are posix sem_ function, in the libthread, and I translated the dynamic editing application procedures, have a -lthread.

In the end is what is the problem?

Solaris following the dynamic translation problem

Man is it so difficult? The man is often the most correct answers.
-->

Http://docs.sun.com/db/doc/802-1930-03/6i5u95uhb?a=view

Solaris following the dynamic translation problem

Although I checked a man, but no attention to the reservoir to even -lrt solaris8.
There is a problem :
See that the man is the mastermind of the 2.5 version, which must also be -lposix4 the reservoir. Solaris8 and investigation, the Secretary is required even -lrt. Actually, I rather like, or even -lrt -lposix4 all, and it is how so? Which in the end even better, or are the same.

Pillar educated us

Solaris following the dynamic translation problem

1. 1s - l /usr/lib/librt.so
1s - l /usr/lib/libposix4.so see no distinction is not the same document.
2. Reuse nm see no distinction between inside of a function.
3. So used ldd look at any other library inside link.
4. I do not know your environment, your own Momokan.



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com