Help with shared libs

Help with shared libs

Post by Jan Slad » Wed, 16 Aug 1995 04:00:00

I compiled on my recently installed FreeBSD a simple c++ programm with
The program was linked dynamically. When i ran it , i get the message: failed


ldconfig shows all needed libraries and setting LD_LIBRARY_PATH doesnt
help, either.

What am i doing wrong ?


                       visit my www home page !!!


1. HELP:::-> shared lib and archived lib


 How do I link a shared library on HP-UX 10.20 as a
 statically linked library in a excutable ?
( using softbench compiler). I mean what lcompiler
 and linker options do i need to use ?

 The problem is as follows :

 I compiled and linked a program on HP-UX 10.20 using
 softbench CC  . It would not run on a HP-UX 10.10
 complaining about the shared library that come
 with the 10.20 version . I am told that the only way out for me
 is to link my program with the shared libraries statically
 ( the size if the exec is not the problem )

Thanks lots for you answers

 ALSO how do I list on HP-UX all the libraries linked
 ( shared and archived ..)

Get Your Private, Free Email at

2. Virtual terminals? Alt-Fx? Doesn't work...

3. Help upgrading shared libs!

4. 3400 Installation Problems!!!!

5. Help w/shared lib's and curses

6. YALP - Problems with LILO and 2nd 2Gb IDE drive


8. DNS and Solaris 2.5.1

9. Help : get shared lib symbols

10. Help With Shared Libs !!!!

11. Help about shared libs

12. Help - shared libs lib****.so.4 lib***.so.5

13. static lib works fine, but why not the shared lib version